Browse code

nova: stop setting deprecated use_usb_tablet option

The use_usb_tablet option is replaced by the pointer_model
option.

Depends-On: Id18b5503799922e4096bde296a9e7bb4f2a994aa

Change-Id: Ic2a49f88df988c6404c1c72e9ee28a487e4f7908

Matt Riedemann authored on 2016/09/09 02:07:59
Showing 1 changed files
... ...
@@ -40,7 +40,8 @@ function configure_nova_hypervisor {
40 40
     configure_libvirt
41 41
     iniset $NOVA_CONF libvirt virt_type "$LIBVIRT_TYPE"
42 42
     iniset $NOVA_CONF libvirt cpu_mode "none"
43
-    iniset $NOVA_CONF libvirt use_usb_tablet "False"
43
+    # Do not enable USB tablet input devices to avoid QEMU CPU overhead.
44
+    iniset $NOVA_CONF DEFAULT pointer_model "ps2mouse"
44 45
     iniset $NOVA_CONF libvirt live_migration_uri "qemu+ssh://$STACK_USER@%s/system"
45 46
     iniset $NOVA_CONF DEFAULT default_ephemeral_format "ext4"
46 47
     iniset $NOVA_CONF DEFAULT compute_driver "libvirt.LibvirtDriver"