[Libvirt-cim] [PATCH] New entry "poolid" was not getting DUPed

Sharad Mishra snmishra at us.ibm.com
Wed Jul 27 20:56:53 UTC 2011


# HG changeset patch
# User Sharad Mishra <snmishra at us.ibm.com>
# Date 1311797923 25200
# Node ID 5dc300d4dfd7b9741a6086e4e5b8da632bcdcd2d
# Parent  0f42cab9c45c53cc13407b16418399ed8ed4a026
New entry "poolid" was not getting DUPed.

A recent patch added support for network poolid,
but missed to add DUP for it. This patch fixes the
issue.

Signed-off-by: Sharad Mishra <snmishra at us.ibm.com>

diff -r 0f42cab9c45c -r 5dc300d4dfd7 libxkutil/device_parsing.c
--- a/libxkutil/device_parsing.c	Mon Jul 25 13:14:22 2011 -0700
+++ b/libxkutil/device_parsing.c	Wed Jul 27 13:18:43 2011 -0700
@@ -775,6 +775,7 @@
                 DUP_FIELD(dev, _dev, dev.net.type);
                 DUP_FIELD(dev, _dev, dev.net.source);
                 DUP_FIELD(dev, _dev, dev.net.model);
+                DUP_FIELD(dev, _dev, dev.net.poolid);
                 DUP_FIELD(dev, _dev, dev.net.device);
                 DUP_FIELD(dev, _dev, dev.net.net_mode);
                 DUP_FIELD(dev, _dev, dev.net.filter_ref);




More information about the Libvirt-cim mailing list