[gnome-boxes] vm-configurator: Set 'USB' bus for input devices



commit 5b92a6ea8f0babbd0bb169e95676f6585f66ea98
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Sep 29 18:51:16 2014 +0100

    vm-configurator: Set 'USB' bus for input devices
    
    Lets explicitly set the bus of input devices to be USB as for some
    devices libvirt/qemu will choose PS/2 by default and for keyboards (at
    least), PS/2 is reported to be slower than USB.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735768

 src/vm-configurator.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index 6a5ba35..7a530da 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -341,6 +341,7 @@ private class Boxes.VMConfigurator {
     private static void set_input_config (Domain domain, DomainInputDeviceType device_type) {
         var input = new DomainInput ();
         input.set_device_type (device_type);
+        input.set_bus (DomainInputBus.USB);
 
         domain.add_device (input);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]