From 4f7dccc34729cf15195f80c753e0f8a27c24171c Mon Sep 17 00:00:00 2001 From: joequant Date: Mon, 19 Aug 2013 11:58:25 +0800 Subject: [PATCH] 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 --- lib/nova | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/nova b/lib/nova index 842c098624..32a51d3d4d 100644 --- a/lib/nova +++ b/lib/nova @@ -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"