Bug detailed description:
----------------
Create one RHEL7.3 HVM and do live migration continuously, while doing the 200+ or 300+ times live-migration, tool stack report error and migration failed.
Environment :
----------------
HW: Skylake server
Xen: Xen 4.9.0 RC4
Dom0: Linux 4.11.0
Reproduce steps:
----------------
1.
Compile Xen 4.9 Rc4 and dom0 kernel 4.11.0, boot to dom0
2.
Boot RHEL7.3 HVM guest
3.
Migrate guest to localhost, sleep 10 seconds
4.
Repeat doing the step3.
Current result:
----------------
VM Migration fail.
Base error log:
----------------
xl migrate 24hrs_lm_guest_2 localhost
root@localhost's password:
migration target: Ready to receive domain.
Saving to migration stream new xl format (info 0x3/0x0/1761)
Loading new save file <incoming migration stream> (new xl fmt info 0x3/0x0/1761)
Savefile contains xl domain config in JSON format
Parsing config from <saved>
xc: info: Saving domain 273, type x86 HVM
xc: info: Found x86 HVM domain from Xen 4.9
xc: info: Restoring domain
xc: error: set HVM param 12 = 0x00000000feffe000 (85 = Interrupted system call should ): Internal error
xc: error: Restore failed (85 = Interrupted system call should ): Internal error
libxl: error: libxl_stream_read.c:852:libxl__xc_domain_restore_done: restoring domain: Interrupted system call should be restarted
libxl: error: libxl_create.c:1217:domcreate_rebuild_done: Domain 274:cannot (re-)build domain: -3
libxl: error: libxl_domain.c:1003:libxl__destroy_domid: Domain 274:Non-existant domain
libxl: error: libxl_domain.c:962:domain_destroy_callback: Domain 274:Unable to destroy guest
libxl: error: libxl_domain.c:889:domain_destroy_cb: Domain 274:Destruction of domain failed
migration target: Domain creation failed (code -3).
libxl: error: libxl_utils.c:510:libxl_read_exactly: file/stream truncated reading ready message from migration receiver stream
libxl: info: libxl_exec.c:118:libxl_report_child_exitstatus: migration transport process [19847] exited with error status 1
Migration failed, resuming at sender.
HVM guest config file:
--------------------------------
builder = "hvm"
name = "24hrs_lm_guest"
memory = 8192
vcpus = 4
vif = [ 'type=ioemu, mac=00:16:3e:12:4d:57, bridge=xenbr0' ]
disk = [ '/root/images/img.24hrs_lm_guest,qcow2,hda,rw' ]
device_model_override = '/usr/local/lib/xen/bin/qemu-system-i386'
device_model_version = 'qemu-xen'
sdl=0
vnc=1
stdvga=1
hap=1
acpi=1
gfx_passthru=0
hpet=1
serial='pty'
usb=1
usbdevice=['tablet']
Best Regards,
Xudong