[Kimchi-devel] [PATCH 0/4] Add volume reference count

Sheldon shaohef at linux.vnet.ibm.com
Mon Feb 17 12:06:08 UTC 2014


On 02/17/2014 04:38 PM, lvroyce at linux.vnet.ibm.com wrote:
> From: Royce Lv <lvroyce at linux.vnet.ibm.com>
>
> Attach volume to vm need a volume list to choose,
> available volumes will be tracked by volume reference count.
> Add this field to storage volume.
I want to use this path for "Implement integrity verification"

  * don't disable network/storagpool used by guest/template

Some questions about reference count:

Do I just check the ref_cnt is  greater than 0, not care the volume is 
outside kimchi scope?

>
> Royce Lv (4):
>    Add volume ref_cnt: update api.md
>    Add volume ref_cnt: Update controller and json schema
>    Add volume ref_cnt: Add model and mockmodel implementation
>    Add volume ref_cnt: Update test
>
>   docs/API.md                          |  6 ++++++
>   src/kimchi/API.json                  | 24 ++++++++++++++++++++++++
>   src/kimchi/control/storagevolumes.py |  1 +
>   src/kimchi/i18n.py                   |  3 +++
>   src/kimchi/mockmodel.py              |  3 +++
>   src/kimchi/model/storagevolumes.py   | 21 +++++++++++++++++++++
>   tests/test_model.py                  |  4 ++++
>   tests/test_rest.py                   |  2 ++
>   8 files changed, 64 insertions(+)
>


-- 
Thanks and best regards!

Sheldon Feng(???)<shaohef at linux.vnet.ibm.com>
IBM Linux Technology Center

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20140217/b72b683f/attachment.html>


More information about the Kimchi-devel mailing list