I have a 9p mount inside a VM. I take a snapshot of the VM state with savevm <snapshot>
, stop the VM, then restart it with that snapshot (with kvm -loadvm <snapshot>
). When I try to interact with the mount by either umount
ing orls
ing, the VM hangs in kernel-space.
The full command line with which I am launching the snapshot looks like this:
qemu-system-x86_64 -nographic -monitor telnet::6440,server,nowait \
-m 1280M -balloon virtio -bios \
external_sources/seabios/out/bios.bin \
-drive file=testvm/deb.instance.integrate,if=virtio \
-loadvm loaded \
-virtfs local,path=/tmp/mymount,security_model=none,mount_tag=mymount
This happens with 64-bit Debian squeeze guests with kernel versions 2.6.32 and 2.6.38. The VERSION of qemu-kvm is 0.14.50, on an Ubuntu 10.04 amd64 host with kernel 2.6.32-30.
I am at a loss as to how to diagnose this problem further; my only option at this point is to replace 9p with a network filesystem of some sort.