<div dir="ltr">Monitor source selection menu is the cheapest option and also the least convenient. The most convenient option is a KVM switch but then you would have to deal with passing one of its USB ports to the VM while keeping the other one on host and a good KVM will cost you several hundred bucks. The way I am using it:<div>1) Cheap HDMI switcher (i.e. something like this: <a href="https://www.amazon.com/TBS%C2%AE2083-Intelligent-Switcher-Adapter-Splitter/product-reviews/B00M6I8K2E">https://www.amazon.com/TBS%C2%AE2083-Intelligent-Switcher-Adapter-Splitter/product-reviews/B00M6I8K2E</a>). It allows me to switch the cards without fumbling with the monitor menu. </div><div>2) I keep the emulated VGA as a second adapter on my virtual machines. For Windows 7 it keeps a window on the desktop that I can use to grab or release focus for keyboard and mouse. This way I don't have to deal with any USB passthrough - only the GPU is passed to the VM.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 19, 2017 at 7:14 AM, Patrick O'Callaghan <span dir="ltr"><<a href="mailto:poc@usb.ve" target="_blank">poc@usb.ve</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have VFIO passthrough working with a Windows 10 VM, running on Fedora<br>
25. Currently I have two cables running to my single monitor (one HDMI<br>
and one DVI), so switching back and forth means toggling a monitor<br>
setting. This does work, but is a bit clunky.<br>
<br>
BTW the mouse and keyboard also switch back and forth (this slightly<br>
surprised me but I'm not going to question it :-)<br>
<br>
I thought I could make this simpler by exchanging the DVI cable for<br>
another HDMI cable, both cables going into an HDMI switch and hence to<br>
the HDMI port on the monitor, with the idea of toggling back and forth.<br>
However this doesn't entirely work. I suspect that the switch powers<br>
off the input it's not using and this confuses Windows.<br>
<br>
Most of the discussion I've seen recommends Synergy, a software<br>
KB/mouse switcher, however this explicitly does not support video<br>
switching, i.e. it assumes you have a separate monitor for each machine<br>
(real or virtual), which is not the case here.<br>
<br>
The other option seems to be a physical KVM switch, but before shelling<br>
out more money I'd like to hear people's thoughts on this. What do you<br>
do to support a single monitor?<br>
<br>
poc<br>
<br>
______________________________<wbr>_________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/vfio-users</a><br>
</blockquote></div><br></div>