# 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,