[libvirt] [PATCH] qemu: Update qemuhelpdata test with new flag

Adam Litke agl at us.ibm.com
Tue Jan 5 14:27:42 UTC 2010


The test suite needs a small fixup with the qemu balloon patch applied.

This patch applies on top of:
    qemu: Always enable the virtio balloon driver
    
A small update to the qemuhelpdata test is required.  It must be told about the
new QEMUD_CMD_FLAG_BALLOON flag that will be turned on for qemu-kvm-0.11.0-rc2.

Signed-off-by: Adam Litke <agl at us.ibm.com>

diff --git a/tests/qemuhelptest.c b/tests/qemuhelptest.c
index a747da7..0a78b05 100644
--- a/tests/qemuhelptest.c
+++ b/tests/qemuhelptest.c
@@ -179,7 +179,8 @@ mymain(int argc, char **argv)
             QEMUD_CMD_FLAG_0_10 |
             QEMUD_CMD_FLAG_PCIDEVICE |
             QEMUD_CMD_FLAG_MEM_PATH |
-            QEMUD_CMD_FLAG_ENABLE_KVM,
+            QEMUD_CMD_FLAG_ENABLE_KVM |
+            QEMUD_CMD_FLAG_BALLOON,
             10092, 1,  0);
 
     return ret == 0 ? EXIT_SUCCESS : EXIT_FAILURE;


-- 
Thanks,
Adam




More information about the libvir-list mailing list