[HOME] [DOWNLOAD] [DOCS] [BLOG] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

Saving virtual machine with shared folder


#1

Hello everyone. First of all, thank you for your work on whonix, it’s awesome!
But I have a problem, which for me is very annoying. One thing I love about virtual machines is that any time I can just save VM’s state and run it from this state some time later. But when I trying to save vm with shared folder from virt-manager I’m getting this error:

Error saving domain: internal error: unable to execute QEMU command ‘migrate’: Migration is disabled when VirtFS export path ‘/home/john/files’ is mounted in the guest using mount_tag ‘shared’

Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 88, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/engine.py”, line 1084, in cb
vm.save(meter=asyncjob.get_meter())
File “/usr/share/virt-manager/virtManager/libvirtobject.py”, line 83, in newfn
ret = fn(self, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/domain.py”, line 1441, in save
self._backend.managedSave(0)
File “/usr/lib/python2.7/dist-packages/libvirt.py”, line 1400, in managedSave
if ret == -1: raise libvirtError (‘virDomainManagedSave() failed’, dom=self)
libvirtError: internal error: unable to execute QEMU command ‘migrate’: Migration is disabled when VirtFS export path ‘/home/john/files’ is mounted in the guest using mount_tag ‘shared’

Is there any way that I can fix this error? Thank you


#2

That concerns an upstream feature request. Although note that “live” snapshots are recommended against in general because their state is easily corrupted.