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
This commit is contained in:
joequant 2013-08-19 11:58:25 +08:00
parent 5bc585f7d4
commit 4f7dccc347

View File

@ -451,6 +451,7 @@ function create_nova_conf() {
if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
iniset $NOVA_CONF DEFAULT libvirt_type "$LIBVIRT_TYPE"
iniset $NOVA_CONF DEFAULT libvirt_cpu_mode "none"
iniset $NOVA_CONF DEFAULT use_usb_tablet "False"
fi
iniset $NOVA_CONF DEFAULT instance_name_template "${INSTANCE_NAME_PREFIX}%08x"
iniset $NOVA_CONF osapi_v3 enabled "True"