UTM icon indicating copy to clipboard operation
UTM copied to clipboard

Remote bookmarks

Open osy opened this issue 3 years ago • 2 comments

To be implemented after #132 which will take the form of bookmarks. Once that's done, it should be not too much work to enable "remote bookmarks", i.e. run QEMU binary on another machines (Windows/Linux/Mac) while having all the data hosted on the iOS device (qemu-nbd and SPICE). This effectively turns UTM into a terminal client powered by SPICE.

  • [ ] Enable LZ4 in SPICE
  • [ ] Integrate qemu-nbd code into UTM
  • [ ] Create utm-server CLI for Windows/Linux/Mac which is a wrapper for launching QEMU
  • [ ] Pass authentication information from client to server
  • [ ] Connect to non-localhost for QEMU monitor, SPICE, NBD, etc

osy avatar Mar 12 '21 22:03 osy

Hi @osy, I'd like to help on this one, namely in the form of using your very nice CocoaSpice to connect to already running QEMU VMs. I'm helping add support for Apple Silicon to the whonix.org project, and as part of that I'm using QEMU as opposed to the currently recommended Virtual Box for Intel Macs.

I was thinking of adding this under the "File" menu, such that it's more for advanced users. i.e. "File" > "Connect to Virtual Machine". Would you be open to a PR in this direction? Thanks!

GavinPacini avatar May 01 '21 14:05 GavinPacini

@GavinPacini the idea here isn’t to connect to a running QEMU but rather to allow you to launch QEMU remotely (say on your MacBook or an AWS instance) while all your data is hosted locally (disk images, USB redirection, config settings, etc). It’s one way potentially of allowing the iOS app to work in the App Store. I think you may be interested in #2376 which will then let you import CocoaSpice into your own app which can do whatever.

The problem with connecting to an existing QEMU session is that unless you started with the right arguments, most of the GUI features won’t work.

osy avatar May 11 '21 01:05 osy