I tried live migrating a guest with NVDIMM on qemu.git/master (edf8bc984):

  $ qemu -M accel=kvm,nvdimm=on -m 1G,slots=4,maxmem=8G -cpu host \
         -object 
memory-backend-file,id=mem1,share=on,mem-path=nvdimm.dat,size=1G \
         -device nvdimm,id=nvdimm1,memdev=mem1 \
         -drive if=virtio,file=test.img,format=raw

  $ qemu -M accel=kvm,nvdimm=on -m 1G,slots=4,maxmem=8G -cpu host \
         -object 
memory-backend-file,id=mem1,share=on,mem-path=nvdimm.dat,size=1G \
         -device nvdimm,id=nvdimm1,memdev=mem1 \
         -drive if=virtio,file=test.img,format=raw \
         -incoming tcp::1234

  (qemu) migrate tcp:127.0.0.1:1234

The guest kernel panics or hangs every time on the destination.  It
happens as long as the nvdimm device is present - I didn't even mount it
inside the guest.

Is migration expected to work?

If not we need a migration blocker so that users get a graceful error
message.

Stefan

Attachment: signature.asc
Description: PGP signature

Reply via email to