+1
Best Regards,
Richard Maciel, MSc
Software Engineer - LTC Brazil
--------------------------
"'Would you tell me, please, which way I ought to go from here?'
'That depends a good deal on where you want to get to,'
'I don't know where. . .'
'Then it doesn't matter which way you go,' said the Cat. "
- Alice's Adventures in the Wonderland
libvirt-cim-bounces(a)redhat.com wrote on 10/12/2008 18:42:08:
# HG changeset patch
# User Dan Smith <danms(a)us.ibm.com>
# Date 1228941722 28800
# Node ID 3557859610b4eaf8a2bdcb28d7002121e3e776b1
# Parent da7aba7f560d7a3622f1ff3325d634a6470bad29
Don't avoid setting VirtualQuantity if vcpu count is zero
Signed-off-by: Dan Smith <danms(a)us.ibm.com>
diff -r da7aba7f560d -r 3557859610b4 src/Virt_RASD.c
--- a/src/Virt_RASD.c Tue Dec 09 10:51:09 2008 -0800
+++ b/src/Virt_RASD.c Wed Dec 10 12:42:02 2008 -0800
@@ -126,7 +126,7 @@
else
count = dev->dev.vcpu.quantity;
- if (count > 0)
+ if (count >= 0)
CMSetProperty(inst,
"VirtualQuantity",
(CMPIValue *)&count,
_______________________________________________
Libvirt-cim mailing list
Libvirt-cim(a)redhat.com
https://www.redhat.com/mailman/listinfo/libvirt-cim