Browse code

turn out usb_tablet for libvirt

This patch turns out usb_tablet for the libvirt nova.conf file.
When usb_tablet is turned on, qemu will poll for usb events and
this causes CPU usage even when the qemu is idle.

Change-Id: I03e260dfd0873b7d15e01c10c206203833d04e73

joequant authored on 2013/08/19 12:58:25
Showing 1 changed files
... ...
@@ -451,6 +451,7 @@ function create_nova_conf() {
451 451
     if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
452 452
         iniset $NOVA_CONF DEFAULT libvirt_type "$LIBVIRT_TYPE"
453 453
         iniset $NOVA_CONF DEFAULT libvirt_cpu_mode "none"
454
+        iniset $NOVA_CONF DEFAULT use_usb_tablet "False"
454 455
     fi
455 456
     iniset $NOVA_CONF DEFAULT instance_name_template "${INSTANCE_NAME_PREFIX}%08x"
456 457
     iniset $NOVA_CONF osapi_v3 enabled "True"