[Pkg-libvirt-maintainers] Bug#537445: Bug#537445: restoring leaves kvm-instance in unusable state

martin f krafft madduck at debian.org
Sat Jul 18 12:21:03 UTC 2009


also sprach Guido Günther <agx at sigxcpu.org> [2009.07.18.1413 +0200]:
> This is part would allow you to run without libvirt:
> 
> >   LC_ALL=C PATH=/home/madduck/.bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games HOME=/home/madduck USER=madduck LOGNAME=madduck TMPDIR=/home/madduck/.tmp /usr/bin/kvm -S -M pc -m 512 -smp 1 -name lotus.madduck.net -uuid 0340c11e-0894-4dc8-a52b-90c8bf432b2b -monitor pty -boot cd -drive file=/root/grub-rescue/grub-rescue.iso,if=ide,media=cdrom,index=2 -drive file=/home/madduck/lotus.madduck.net/disk.vda,if=virtio,index=0,boot=on -drive file=/home/madduck/lotus.madduck.net/disk.vdb,if=virtio,index=1 -net nic,macaddr=52:54:00:fc:03:d7,vlan=0,model=virtio -net tap,ifname=lotus,script=/bin/true,vlan=0 -serial pty -serial unix:/home/madduck/lotus.madduck.net/ttyS1,server,nowait -parallel none -usb -vnc 127.0.0.1:0 -incoming exec:cat 
> 
> The -incoming exec:cat says that kvm will fetch the image from stdin.

Right, I was trying to find out how I would actually create that
image first, but if I just use virsh save for that, then the restore
via stdin does not have the same effect as virsh restore:

khyber:~|master|% LC_ALL=C PATH=/home/madduck/.bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games HOME=/home/madduck USER=madduck LOGNAME=madduck TMPDIR=/home/madduck/.tmp /usr/bin/kvm -S -M pc -m 512 -smp 1 -name lotus.madduck.net -uuid 0340c11e-0894-4dc8-a52b-90c8bf432b2b -monitor pty -boot cd -drive file=/root/grub-rescue/grub-rescue.iso,if=ide,media=cdrom,index=2 -drive file=/home/madduck/lotus.madduck.net/disk.vda,if=virtio,index=0,boot=on -drive file=/home/madduck/lotus.madduck.net/disk.vdb,if=virtio,index=1 -net nic,macaddr=52:54:00:fc:03:d7,vlan=0,model=virtio -net tap,ifname=lotus,script=/bin/true,vlan=0 -serial pty -serial unix:/home/madduck/lotus.madduck.net/ttyS1,server,nowait -parallel none -usb -vnc 127.0.0.1:0 -incoming exec:cat < lotus.save 
char device redirected to /dev/pts/0
char device redirected to /dev/pts/2
qemu_popen: returning result of qemu_fopen_ops
load of migration failed
cat: write error: Broken pipe

Then it just sits there forever and the guest is not restarted.

-- 
 .''`.   martin f. krafft <madduck at d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems
 
a woman is an occasional pleasure
but a cigar is always a smoke.
                                                       -- groucho marx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20090718/e8605356/attachment.pgp>


More information about the Pkg-libvirt-maintainers mailing list