[Libvirt-cim] [PATCH] Fix setting of the proper CIM network type for network devices

Dan Smith danms at us.ibm.com
Fri May 30 19:17:57 UTC 2008


# HG changeset patch
# User Dan Smith <danms at us.ibm.com>
# Date 1212175074 25200
# Node ID 19621064f2fb0bf4ec8900fe4ee81c6b8a70d778
# Parent  f00dd77c664c258551c5f884a0bee5d842241e4e
Fix setting of the proper CIM network type for network devices

Signed-off-by: Dan Smith <danms at us.ibm.com>

diff -r f00dd77c664c -r 19621064f2fb src/Virt_Device.c
--- a/src/Virt_Device.c	Tue May 20 11:24:39 2008 -0400
+++ b/src/Virt_Device.c	Fri May 30 12:17:54 2008 -0700
@@ -49,6 +49,7 @@
         uint16_t cim_type;
 
         if (STREQC(dev->type, "ethernet") ||
+            STREQC(dev->type, "network") ||
             STREQC(dev->type, "bridge"))
                 cim_type = CIM_NET_ETHERNET;
         else




More information about the Libvirt-cim mailing list