From 656731d3d3f3f50b581b979357175138ce2fa69f Mon Sep 17 00:00:00 2001 From: qaidvoid <12017109+QaidVoid@users.noreply.github.com> Date: Mon, 10 Aug 2020 17:25:07 +0545 Subject: [PATCH] Almost there. --- README.org | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/README.org b/README.org index 81f25be..81292a7 100644 --- a/README.org +++ b/README.org @@ -61,7 +61,7 @@ Search for *hostdev*. Add #+END_SRC before *address* tag. ** Keyboard/mouse Passthrough -You need to modify libvirt configuration. +***** You need to modify libvirt configuration. #+BEGIN_SRC bash sudo virsh edit win10 #+END_SRC @@ -73,15 +73,15 @@ to #+BEGIN_SRC xml #+END_SRC -Find your keyboard and mouse devices. Use the devices having *event* in their name. +***** Find your keyboard and mouse devices. Use the devices having *event* in their name. #+BEGIN_SRC bash ls /dev/input/by-id/ #+END_SRC -Verify you selected the right device by using following command. You should see output on terminal when using that device.. +***** Verify you selected the right device by using following command. You should see output on terminal when using that device.. #+BEGIN_SRC bash cat /dev/input/by-id/your_device #+END_SRC -Add devices to the configuration. Replace *MOUSE_NAME* and *KEYBOARD_NAME* with your device id. +***** Add devices to the configuration. Replace "MOUSE_NAME" and "KEYBOARD_NAME" with your device id. #+BEGIN_SRC bash virsh edit win10 #+END_SRC @@ -93,3 +93,15 @@ virsh edit win10 #+END_SRC +***** Switch from PS/2 to virtio inputs. Add following configuration before mouse/keyboard ps2 config. +#+BEGIN_SRC bash + sudo virsh edit win10 +#+END_SRC +#+BEGIN_SRC xml + +
+ + +
+ +#+END_SRC