
+1 On 08/14/2009 07:31 PM, Kaitlin Rupert wrote:
# HG changeset patch # User Kaitlin Rupert<karupert@us.ibm.com> # Date 1250281843 25200 # Node ID 6f6393788fc52d942a53fdf2b93cf2a83a0559e4 # Parent 77db61a05abb9eb2e5db719677f4e15cd0626168 Dup all necessary fields of the net_device struct in virt_device_dup()
Signed-off-by: Kaitlin Rupert<karupert@us.ibm.com>
diff -r 77db61a05abb -r 6f6393788fc5 libxkutil/device_parsing.c --- a/libxkutil/device_parsing.c Wed Aug 12 22:07:51 2009 -0700 +++ b/libxkutil/device_parsing.c Fri Aug 14 13:30:43 2009 -0700 @@ -659,6 +659,8 @@ DUP_FIELD(dev, _dev, dev.net.mac); DUP_FIELD(dev, _dev, dev.net.type); DUP_FIELD(dev, _dev, dev.net.source); + DUP_FIELD(dev, _dev, dev.net.name); + DUP_FIELD(dev, _dev, dev.net.model); } else if (dev->type == CIM_RES_TYPE_DISK) { DUP_FIELD(dev, _dev, dev.disk.type); DUP_FIELD(dev, _dev, dev.disk.device);
_______________________________________________ Libvirt-cim mailing list Libvirt-cim@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-cim
-- Richard Maciel, MSc IBM Linux Technology Center rmaciel@linux.vnet.ibm.com