[Kimchi-devel] [PATCH v3 0/5] Allow creating VM storages with ref_cnt > 0

Aline Manera alinefm at linux.vnet.ibm.com
Fri May 15 15:30:19 UTC 2015


I will apply patches 1 and 2 as they are independent of the other 
patches and then you just need to resend the others.

On 12/05/2015 11:58, Crístian Deives wrote:
> The difference between this and the previous patchset (v2) is:
>
> - Patch 2 has been added.
> - The UI code has been updated in order to display all volumes from a
>    storage volume when attaching a disk to a VM.
>
> Crístian Deives (5):
>    fix: Use correct path when setting 'ref_cnt' to a new volume
>    Handle invalid path in 'get_disk_ref_cnt'
>    Replace storage volume 'ref_cnt' with 'used_by'
>    Allow creating VM storages with non-empty 'used_by'
>    Set 'used_by' to [] when creating some volumes
>
>   docs/API.md                                |  4 +--
>   src/kimchi/control/storagevolumes.py       |  2 +-
>   src/kimchi/i18n.py                         |  1 -
>   src/kimchi/mockmodel.py                    |  4 +--
>   src/kimchi/model/diskutils.py              | 20 ++++++------
>   src/kimchi/model/storagevolumes.py         | 33 ++++++++++----------
>   src/kimchi/model/vms.py                    | 14 ++++++---
>   src/kimchi/model/vmstorages.py             | 50 ++++++++++++++++--------------
>   tests/test_model.py                        |  6 ++++
>   tests/test_model_storagevolume.py          |  2 +-
>   tests/test_rest.py                         |  2 +-
>   ui/js/src/kimchi.guest_storage_add.main.js |  2 +-
>   ui/js/src/kimchi.storage_main.js           |  2 +-
>   13 files changed, 76 insertions(+), 66 deletions(-)
>




More information about the Kimchi-devel mailing list