<div dir="ltr">Hi,<div><br></div><div>Nice to meet others as well. :)</div><div><br></div><div>Well, at the moment, I have Synergy set up so that I need a key combination to switch computers anyways. Synergy allows you to define your own combination, and I would hope that my idea would allow for the defining of custom combinations to minimize those types of gotchas. I was also thinking that usb pass through of a keyboard and mouse would have less latency than Synergy, but I only want to have one keyboard and mouse on my desktop. Also, a usb KM switch would take up multiple usb ports instead of just one or two. A wireless desktop set would have one usb receiver, so it makes a slick system.</div><div><br></div><div>Even if this isn't built into qemu/libvirt/virtmanager, it would still work as an external program. Virt-manager usb pass through screen would show the "virtual" keyboard and mouse to pass through to the guest. It's just, I would have no idea how to do this.</div><div><br></div><div>Hope someone can do something like this. :)</div><div><br></div><div>Jon</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 September 2015 at 03:05, Jonathan Panozzo <span dir="ltr"><<a href="mailto:jonp@lime-technology.com" target="_blank">jonp@lime-technology.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Your request “makes sense” but implementation wouldn’t be simple.  This also has nothing to do with VFIO, but rather, QEMU/KVM (I’ll let Alex W correct me on that if I’m wrong, but I’m 99% sure I’m right).<br>
<br>
Regarding Synergy, there is a way to give Synergy elevated privileges so that when UAC pops up in Windows, you can still use the mouse.  I do this now and it works pretty good.  Synergy has other issues though, especially with applications that normally restrict cursor movement to inside the app (think gaming).<br>
<br>
Does your idea sound good?  Sure!  But its most definitely something that would be a bit complicated to implement.  What “key combination” would be ok to restrict on the keyboard to sending a command to the host?  What if a guest needs that combination to execute another function?  Lots of potential “gotchas” that would need to be considered.<br>
<br>
PS:  always a pleasure to meet another Jonathan ;-)<br>
<br>
- Jonathan Panozzo<br>
<div class="HOEnZb"><div class="h5"><br>
> On Aug 31, 2015, at 1:18 PM, Jonathan Scruggs <<a href="mailto:j.scruggs@gmail.com">j.scruggs@gmail.com</a>> wrote:<br>
><br>
> Hi all,<br>
><br>
> This is an idea I had that would be really cool if possible. If it is, you may want to somehow build it into VirtManager or something.<br>
><br>
> Currently, I have a Windows guest using Synergy, but somethings Windows has popups that disable Synergy and only a real mouse would work. Also, you can't update Synergy while using Synergy. My solution which is better than Synergy and solves these issues:<br>
><br>
> Would it be possible to have the real mouse and keyboard that is plugged into the host to be (this is where I struggle for the right words) duplicated/virtualized/emulated so that they can be passed through to the guest as a USB device and used on the host system as well. There would be a program that listens for a certain key combination that would switch the control to either the VM or host. Then windows would think it has a real USB keyboard and mouse rather than Synergy. This is especially useful when there is a dedicated graphics card passed through.<br>
><br>
> This seems like something that VirtManger can have built in, like select an option to do this and it would switch the inputs between the systems. The only thing is, is that the mouse and keyboard would still need to be visible to the guest/host just no movements/keystrokes being sent. Also, calling external programs, like those that can switch monitor inputs should be added to this.<br>
><br>
> This will lose the clipboard sharing and other features of Synergy, but I don't use those anyways, and this would be a lot more stable and better for the guests.<br>
><br>
> Does this make sense?<br>
><br>
> Thanks,<br>
> Jon<br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<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/mailman/listinfo/vfio-users</a><br>
<br>
</div></div></blockquote></div><br></div>