]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Always enable the virtio balloon driver
authorAdam Litke <agl@us.ibm.com>
Wed, 6 Jan 2010 17:01:51 +0000 (18:01 +0100)
committerDaniel Veillard <veillard@redhat.com>
Wed, 6 Jan 2010 17:01:51 +0000 (18:01 +0100)
commit7a90f21655aedc35cf711264498ebb4a1b783c8a
treeb7027f46ab818faefaac81003a6da7503618c039
parent1c06eb18c37b8fcbf160d464fa5f1aa74e0056ef
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
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
tests/qemuhelptest.c