[gnome-boxes/gnome-3-16] Revert "vm-configurator: Only add USB kbd/mouse if supported"
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/gnome-3-16] Revert "vm-configurator: Only add USB kbd/mouse if supported"
- Date: Tue, 12 May 2015 21:12:20 +0000 (UTC)
commit 93c3ae8f5182b31aad48d31eb113f7122fb3c44c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Apr 24 14:41:20 2015 +0100
Revert "vm-configurator: Only add USB kbd/mouse if supported"
This reverts commit 4296699a750ca42096264587e309f291e84dd813.
Turns out that Windows XP crashing on USB mouse being present, was
likely a temporary Qemu (or libvirt) bug and the crash is not
reproducible either on Fedora 21 or Fedora 22 anymore (which is where
it was observed on).
src/vm-configurator.vala | 10 ----------
1 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index f3978c5..a588b11 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -345,20 +345,10 @@ private class Boxes.VMConfigurator {
}
private static void set_mouse_config (Domain domain, InstallerMedia install_media) {
- var device = find_usb_device_by_prop (install_media.supported_devices, DEVICE_PROP_NAME, "mouse");
- if (device == null)
- // USB mouse not supported, let libvirt add default PS/2 mouse
- return;
-
set_input_config (domain, DomainInputDeviceType.MOUSE);
}
private static void set_keyboard_config (Domain domain, InstallerMedia install_media) {
- var device = find_usb_device_by_prop (install_media.supported_devices, DEVICE_PROP_NAME, "keyboard");
- if (device == null)
- // USB keyboard not supported, let libvirt add default PS/2 keyboard
- return;
-
set_input_config (domain, DomainInputDeviceType.KEYBOARD);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]