]> xenbits.xensource.com Git - libvirt.git/commit
qemu-kvm needs -enable-kvm flag for VT optimization
authorSteve Yarmie <steve.yarmie@gmail.com>
Fri, 20 Nov 2009 14:41:05 +0000 (15:41 +0100)
committerDaniel Veillard <veillard@redhat.com>
Fri, 20 Nov 2009 14:41:05 +0000 (15:41 +0100)
commitb827338a7219106bc6d17cebb5d0c7f5d4bc7d6d
treee7fd04b4f4ccc79563f4cc56dde46bd170d9bc71
parent264f3ddac977ce5aed64656a5a12310276d4975e
qemu-kvm needs -enable-kvm flag for VT optimization

Recent qemu releases require command option '-enable-qemu' in order
for the kvm functionality be activated. Libvirt needs to pass this flag
to qemu when starting a domain. Note that without the option,
even if both the kernel and qemu support KVM, KVM will not be activated
and VMs will be very slow.

* src/qemu/qemu_conf.h src/qemu/qemu_conf.c: parse the extra command
  line option from help and add it when running kvm
* tests/qemuhelptest.c: this modified the flags output for qemu-0.10.5
  and qemu-kvm-0.11.0-rc2 regression tests
src/qemu/qemu_conf.c
src/qemu/qemu_conf.h
tests/qemuhelptest.c