On 04/24/2014 09:37 AM, Aline Manera wrote:
I couldn't apply this patch set. Needs rebase.
Done
On 04/23/2014 07:05 AM, shaohef(a)linux.vnet.ibm.com wrote:
> From: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
>
> V4 -> V5:
> it is wrong to call dom.isPersistent in V4, fix it.
>
> V3 -> V4:
> work around if libvirt do not support metadata API well.
>
> V2 -> V3:
> move the virDomain.metadata and virDomain.setMetadata to model/utils.py
> add testcase
>
> V1 -> V2:
> libvirt also support virDomain.metadata and virDomain.setMetadata two
> api.
> use virDomain.metadata to get the user and group.
> use virDomain.setMetadata to set the user and group.
>
> ShaoHe Feng (5):
> Add two function to set and get domain xml metadata
> bug fix: get user and group when vm is living.
> update test case to set/get user and group when VM is running
> write the template OS info to vm metadata
> manually manage the metadata element
>
> src/kimchi/i18n.py | 1 +
> src/kimchi/model/utils.py | 73 ++++++++++++++++++++++++++++++++++++++++
> src/kimchi/model/vms.py | 86
> +++++++++++++++++++++++++++--------------------
> tests/test_model.py | 13 +++++++
> 4 files changed, 137 insertions(+), 36 deletions(-)
>
--
Thanks and best regards!
Sheldon Feng(冯少合)<shaohef(a)linux.vnet.ibm.com>
IBM Linux Technology Center