Share keyboard/mouse between 2 VMs?


Recommended Posts

What are people doing for input devices (keyboard/mouse) when running multiple VMs with passthrough'd video cards?

 

Is it possible to share one keyboard and mouse between 2 VMs? Would it work the same way as sharing a video card? (Only one vm can be running at a time), or is there a work around?

 

[EDIT] More background: My plan/hope is to have both VMs outputting to the same monitor on different inputs, and switch between the VMs by simply switching the active input on the monitor.

Link to comment

It works great for me, but I'm using two monitors, not one, which I think is the normal use case for it. It auto-switches to the other VM when you get to the edge of the screen.

 

For using it on one monitor only, I think it would work out OK. The Scroll lock button will force the mouse pointer to stay on one computer at a time.

 

This doesn't work that well for games though, so if that's what you're going for, make sure to run the synergy server on that VM that is running your games, not the one running the client.

 

Another idea is to use an actual KVM switch. Or a physical USB switching device (and passthrough entire USB controller)

Link to comment
  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.