diff options
author | Adam Litke <agl@us.ibm.com> | 2010-01-06 18:01:51 +0100 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2010-01-06 18:01:51 +0100 |
commit | 7a90f21655aedc35cf711264498ebb4a1b783c8a (patch) | |
tree | b7027f46ab818faefaac81003a6da7503618c039 /tests | |
parent | Don't update vol details after build (diff) | |
download | libvirt-7a90f21655aedc35cf711264498ebb4a1b783c8a.tar.gz libvirt-7a90f21655aedc35cf711264498ebb4a1b783c8a.tar.bz2 libvirt-7a90f21655aedc35cf711264498ebb4a1b783c8a.zip |
qemu: Always enable the virtio balloon driver
The behavior for the qemu balloon device has changed. Formerly, a virtio
balloon device was provided by default. Now, '-balloon virtio' must be
specified on the command line to enable it. This patch causes libvirt to
add '-balloon virtio' to the command line whenever the -balloon option is
available.
* src/qemu/qemu_conf.c src/qemu/qemu_conf.h: check for the new flag and
add "-baloon vitio" to qemu command when needed
* tests/qemuhelptest.c: add the new flag for detection
Diffstat (limited to 'tests')
-rw-r--r-- | tests/qemuhelptest.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/qemuhelptest.c b/tests/qemuhelptest.c index a747da740..0a78b0508 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; |