Save/restore error with xen-unstable and qemu upstream

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Save/restore error with xen-unstable and qemu upstream

Fantu
Dom0:
Wheezy 64 bit with kernel from package linux-image-3.2.0-2-amd64 version 3.2.12-1, package blktap-dkms and all dependency packages for xen, spice and usb redirection.
-------------------------
/etc/modules
------------
loop max_loop=64
xenfs
xen-evtchn
blktap
-------------------------
hg clone http://xenbits.xen.org/xen-unstable.hg (in this build changeset is 25194:6b72eb3b40cf)
# Qemu upstream commit is 4db776322827f0930d53b9e162dc1c6600d918d0
vi Makefile # removed dist-kernel to not compile kernel
-------------------------
Added some patches:
- autoconf: add variable for pass arbitrary options to qemu upstream v3
- Makefile: Some updates to uninstall
-------------------------
./configure --enable-qemuu-spice --enable-qemuu-usbredir --enable-qemuu-debug
-------------------------
vi config/Tools.mk # workaround for libxl compilation problem
BISON               := bison
FLEX                := flex
-------------------------
make dist
./install.sh
insserv xencommons &&
insserv xendomains

xl configuration file:
-------------------------
name='XP'
builder="hvm"
memory=1024
vcpus=2
hap=1
pae=1
acpi=1
apic=1
nx=1
vif=['bridge=xenbr0']
#vfb=['vnc=1,vncunused=1,vnclisten=0.0.0.0,keymap=it']
disk=['/mnt/vm/disks/XP.disk1.xm,raw,hda,rw']
boot='d'
xen_platform_pci=1
viridian=1
device_model_version="qemu-xen"
#device_model_override="/usr/lib/xen/bin/qemu-debug.sh"
vnc=1
vncunused=1
vnclisten="0.0.0.0"
keymap="it"
#spice=1
#spicehost="0.0.0.0"
#spiceport=6000
#spicedisable_ticketing=1
on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"
stdvga=1
#device_model_args=["-vga qxl -global qxl-vga.vram_size_mb=16"]
#videoram=128
#device_model_args=["-vga qxl"]
-------------------------

xl -v save XP /mnt/vm/save/XP
Saving to /mnt/vm/save/XP new xl format (info 0x0/0x0/1173)
xc: detail: type fail: page 1015 mfn 000feff7
xc: detail: delta 24187ms, dom0 53%, target 0%, sent 359Mb/s, dirtied 0Mb/s 0 pages
xc: detail: Total pages sent= 265216 (0.25x)
xc: detail: (of which 0 were fixups)
xc: detail: All memory is saved
xc: detail: Save exit rc=0
libxl: error: libxl_qmp.c:404:qmp_next: Socket read error: Connection reset by peer
xl: fatal error: xl_cmdimpl.c:2625: Unknown error 18446744073709551615: libxl_domain_suspend(ctx, NULL, domid, fd)

If you need more information ask and will post them