Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[ubuntu] QEMU - Passing USB devices to running Windows guest programatically

$
0
0
My new professional role is heavily Linux orientated, so it makes sense for me to a full wipe of my home PC and primarily run Linux. I have a spare GPU lying around, so what I'd like to do is run a Windows guest for the odd times I want to play games, and to use USB/PCI passthrough to hop between my Linux host and Windows guest. As my monitors have dual input, this makes it easy without a KVM switch.


However, my QEMU knowledge is limited. Is it possible via the command line to attach and detach USB devices to/from a running QEMU guest? My plan is to run a script on the Linux machine, switch inputs on my monitor to get to Windows, and then SSH back in to the host to detach them.


Has anyone done it like this before?


Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>