Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1090981 - Guest hits call trace migrate from RHEL6.5 to RHEL7.0 host with -M 6.1 & balloon & uhci device
Guest hits call trace migrate from RHEL6.5 to RHEL7.0 host with -M 6.1 & ball...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
7.0
x86_64 Linux
medium Severity high
: rc
: ---
Assigned To: Miroslav Rezanina
Virtualization Bugs
: ZStream
Depends On: 1085701
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-24 10:04 EDT by Jan Kurik
Modified: 2014-06-10 08:34 EDT (History)
13 users (show)

See Also:
Fixed In Version: qemu-kvm-1.5.3-60.el7_0.1
Doc Type: Bug Fix
Doc Text:
Due to a mismatch in interrupt request (IRQ) routing, migration of a Red Hat Enterprise Linux 6.5 guest from a Red Hat Enterprise Linux 6.5 host to a Red Hat Enterprise Linux 7.0 host could produce a call trace. This happened if memory ballooning and a Universal Host Control Interface (UHCI) device were used at the same time on certain machine types. With this patch, the IRQ routing mismatch has been amended and the described migration now proceeds as expected.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-06-10 08:34:56 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:0704 normal SHIPPED_LIVE Moderate: qemu-kvm security and bug fix update 2014-06-10 12:34:02 EDT

  None (edit)
Description Jan Kurik 2014-04-24 10:04:43 EDT
This bug has been copied from bug #1085701 and has been proposed
to be backported to 7.0 z-stream (EUS).
Comment 5 huiqingding 2014-05-05 21:34:23 EDT
Reproduce this bug using the following version:
RHEL6.5 host:
2.6.32-459.el6.x86_64
qemu-kvm-0.12.1.2-2.424.el6.x86_64

RHEL7.0 host:
3.10.0-122.el7.x86_64
qemu-kvm-1.5.3-60.el7.x86_64

Steps to Reproduce:
1.full qemu-kvm command line on rhel6.5 & rhel7.0 host

/usr/libexec/qemu-kvm -M rhel6.1.0 -cpu Opteron_G3,check,+kvm_pv_eoi,hv_relaxed,+ibs,+osvw,+3dnowprefetch,+cr8legacy,+extapic,+cmp_legacy,+3dnow,+3dnowext,+pdpe1gb,+fxsr_opt,+mmxext,+ht,+vme  -enable-kvm  -m 4096 -realtime mlock=off -smp 4,sockets=2,cores=2,threads=1,maxcpus=160 -numa node,cpus=0 -numa node,cpus=1 -numa node,cpus=2 -numa node,cpus=3 -nodefconfig -nodefaults -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -global ide-drive.physical_block_size=4096 -global ide-drive.logical_block_size=4096 -global virtio-blk-pci.physical_block_size=512 -global virtio-blk-pci.logical_block_size=512 -boot order=cdn,once=n,menu=on,strict=on,reboot-timeout=60000 -k en-us -soundhw ac97 -device virtio-balloon-pci,id=ballooning,bus=pci.0,addr=0x5,indirect_desc=on,event_idx=on,multifunction=on,rombar=100 -monitor stdio -name test-all-qemu-kvm-option -uuid `uuidgen` -drive file=/mnt/RHEL-Server-6.5-64-virtio.qcow2,if=none,id=drive-virtio-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop,media=disk,snapshot=off,bus=1,unit=1 -device virtio-blk-pci,scsi=off,drive=drive-virtio-disk,id=virtio-disk,bus=pci.0,addr=0x7,bootindex=1,physical_block_size=512,logical_block_size=512,multifunction=on,scsi=on,event_idx=on,indirect_desc=on,vectors=32,x-data-plane=off,ioeventfd=on,serial=fuxc,discard_granularity=1,min_io_size=4096,opt_io_size=4096 -usbdevice tablet -usbdevice mouse  -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-net -device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=00:01:02:03:04:05,bus=pci.0,addr=0x9,multifunction=on,status=on,gso=on,ioeventfd=on,vectors=8,indirect_desc=off,event_idx=off,guest_tso4=off,guest_tso6=on,guest_ecn=off,guest_ufo=on,host_tso4=off,host_tso6=on,host_ecn=on,mrg_rxbuf=off,ctrl_vq=on,host_ufo=on,mrg_rxbuf=on,ctrl_rx=on,ctrl_vlan=on,ctrl_rx_extra=on,ctrl_mac_addr=on -netdev tap,id=hostnet1,vhost=off,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-net1 -device e1000,netdev=hostnet1,id=virtio-net-pci1,mac=00:01:02:03:04:06,bus=pci.0,addr=0xa,multifunction=off -netdev tap,id=hostnet2,vhost=off,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-net-rtl8139 -device rtl8139,netdev=hostnet2,id=virtio-net-pci2,mac=00:01:02:03:04:07,bus=pci.0,addr=0xb,multifunction=off -serial unix:/tmp/monitor2,server,nowait -rtc base=utc -no-shutdown -drive file=/mnt/ide-disk,if=none,id=drive-data-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop,copy-on-read=off,serial=fux-ide,media=disk -device ide-drive,drive=drive-data-disk,id=system-disk,wwn=0x5000c50015ea71ad,logical_block_size=512,physical_block_size=512,min_io_size=32,opt_io_size=64,discard_granularity=512,ver=fuxc-ver,bus=ide.0,unit=0  -chardev tty,id=serial1,path=/dev/ttyS0 -device isa-serial,chardev=serial1 -chardev socket,id=channel1,path=/tmp/helloworld1,server,nowait  -chardev socket,id=channel2,path=/tmp/helloworld2,server,nowait -device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0 -chardev file,id=channel3,path=/mnt/helloworld1.txt -device virtserialport,chardev=channel3,name=com.redhat.rhevm.vdsm1,bus=virtio-serial0.0,id=port1,nr=1 -chardev socket,id=isa-serial-1,path=/tmp/isa-serial-1,server,nowait -device isa-serial,chardev=isa-serial-1 -device ich9-usb-uhci1,id=usb1,addr=0x11 -device usb-tablet,id=input0 -device usb-mouse,id=input1 -global pvpanic.ioport=0x0505 -machine rhel6.1.0,dump-guest-core=off -drive file=/mnt/winutils.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-0,id=ide0-1-0,wwn=0x5000c50015ea71ade,logical_block_size=512,physical_block_size=512,min_io_size=32,opt_io_size=64,discard_granularity=512,unit=1,ver=fuxc-ver-cdrom,bus=ide.0,unit=1 -drive file=/mnt/virtio-scsi-disk,if=none,id=drive-scsi-disk,format=raw,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0,addr=0x13,vectors=16,indirect_desc=on,event_idx=off,hotplug=on,param_change=off,num_queues=1,max_sectors=512,cmd_per_lun=16,multifunction=on,rombar=64 -device scsi-hd,drive=drive-scsi-disk,bus=scsi0.0,scsi-id=0,lun=0,id=data-disk2,logical_block_size=1024,physical_block_size=1024,min_io_size=512,opt_io_size=512,discard_granularity=512,ver=fuxc-scsi,serial=fuxc-scsi-serial,removable=off,wwn=0x16,channel=0,scsi-id=2,lun=2 -device sga -spice port=5901,password=redhat-vga,disable-ticketing -vga qxl -global qxl-vga.vram_size=33554432 -device intel-hda,id=sound0,bus=pci.0 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev socket,path=/tmp/foo,server,nowait,id=foo -drive file=/mnt/virtio-win_amd64.vfd,if=none,id=drive-fdc0-0-0,readonly=on,format=raw -global isa-fdc.driveA=drive-fdc0-0-0

2.do migration

3.

Actual results:
Guest can work but follow up call trace.
Call Trace:
 <IRQ>  [<ffffffff810e8feb>] ? __report_bad_irq+0x2b/0xa0
 [<ffffffff810e91ec>] ? note_interrupt+0x18c/0x1d0
 [<ffffffff81034a29>] ? ack_apic_level+0x79/0x1b0
 [<ffffffff810e998d>] ? handle_fasteoi_irq+0xcd/0xf0
 [<ffffffff8100faf9>] ? handle_irq+0x49/0xa0
 [<ffffffff81530fdc>] ? do_IRQ+0x6c/0xf0
 [<ffffffff8100b9d3>] ? ret_from_intr+0x0/0x11
 [<ffffffff8107a890>] ? __do_softirq+0x70/0x1e0
 [<ffffffff81037717>] ? native_apic_msr_write+0x37/0x40
 [<ffffffff8100c30c>] ? call_softirq+0x1c/0x30
 [<ffffffff8100fa75>] ? do_softirq+0x65/0xa0
 [<ffffffff8107a795>] ? irq_exit+0x85/0x90
 [<ffffffff81530fe5>] ? do_IRQ+0x75/0xf0
 [<ffffffff8100b9d3>] ? ret_from_intr+0x0/0x11
 <EOI>  [<ffffffff8152a357>] ? _spin_unlock_irqrestore+0x17/0x20
 [<ffffffff81058cbe>] ? __wake_up_sync_key+0x5e/0x80
 [<ffffffff8144b734>] ? sock_def_readable+0x44/0x80
 [<ffffffff814f35bb>] ? unix_stream_sendmsg+0x20b/0x4a0
 [<ffffffff8144a1db>] ? sock_aio_write+0x19b/0x1c0
 [<ffffffff8144a040>] ? sock_aio_write+0x0/0x1c0
 [<ffffffff81188b3b>] ? do_sync_readv_writev+0xfb/0x140
 [<ffffffff8109b2a0>] ? autoremove_wake_function+0x0/0x40
 [<ffffffff812334af>] ? selinux_file_permission+0xbf/0x150
 [<ffffffff812263c6>] ? security_file_permission+0x16/0x20
 [<ffffffff81189ac6>] ? do_readv_writev+0xd6/0x1f0
 [<ffffffff812334af>] ? selinux_file_permission+0xbf/0x150
 [<ffffffff8103f9d8>] ? pvclock_clocksource_read+0x58/0xd0
 [<ffffffff812263c6>] ? security_file_permission+0x16/0x20
 [<ffffffff81189c26>] ? vfs_writev+0x46/0x60
 [<ffffffff81189d51>] ? sys_writev+0x51/0xb0
 [<ffffffff8152ab3e>] ? do_device_not_available+0xe/0x10
 [<ffffffff8100b072>] ? system_call_fastpath+0x16/0x1b
handlers:
[<ffffffffa00556b0>] (vp_interrupt+0x0/0x60 [virtio_pci])
[<ffffffffa0240bb0>] (azx_interrupt+0x0/0x1f0 [snd_hda_intel])
[<ffffffffa01d5b70>] (e1000_intr+0x0/0x110 [e1000])
Disabling IRQ #10
Comment 6 huiqingding 2014-05-05 22:31:41 EDT
Verify this bug on AMD Opteron_G3 host using the following version:
RHEL6.5 host:
2.6.32-459.el6.x86_64
qemu-kvm-0.12.1.2-2.424.el6.x86_64

RHEL7.0 host:
3.10.0-122.el7.x86_64
qemu-kvm-1.5.3-60.el7_0.1.x86_64

1.full qemu-kvm command line on rhel6.5 & rhel7.0 host

/usr/libexec/qemu-kvm -M rhel6.1.0 -cpu Opteron_G3,check,+kvm_pv_eoi,hv_relaxed,+ibs,+osvw,+3dnowprefetch,+cr8legacy,+extapic,+cmp_legacy,+3dnow,+3dnowext,+pdpe1gb,+fxsr_opt,+mmxext,+ht,+vme  -enable-kvm  -m 4096 -realtime mlock=off -smp 4,sockets=2,cores=2,threads=1,maxcpus=160 -numa node,cpus=0 -numa node,cpus=1 -numa node,cpus=2 -numa node,cpus=3 -nodefconfig -nodefaults -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -global ide-drive.physical_block_size=4096 -global ide-drive.logical_block_size=4096 -global virtio-blk-pci.physical_block_size=512 -global virtio-blk-pci.logical_block_size=512 -boot order=cdn,once=n,menu=on,strict=on,reboot-timeout=60000 -k en-us -soundhw ac97 -device virtio-balloon-pci,id=ballooning,bus=pci.0,addr=0x5,indirect_desc=on,event_idx=on,multifunction=on,rombar=100 -monitor stdio -name test-all-qemu-kvm-option -uuid `uuidgen` -drive file=/mnt/RHEL-Server-6.5-64-virtio.qcow2,if=none,id=drive-virtio-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop,media=disk,snapshot=off,bus=1,unit=1 -device virtio-blk-pci,scsi=off,drive=drive-virtio-disk,id=virtio-disk,bus=pci.0,addr=0x7,bootindex=1,physical_block_size=512,logical_block_size=512,multifunction=on,scsi=on,event_idx=on,indirect_desc=on,vectors=32,x-data-plane=off,ioeventfd=on,serial=fuxc,discard_granularity=1,min_io_size=4096,opt_io_size=4096 -usbdevice tablet -usbdevice mouse  -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-net -device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=00:01:02:03:04:05,bus=pci.0,addr=0x9,multifunction=on,status=on,gso=on,ioeventfd=on,vectors=8,indirect_desc=off,event_idx=off,guest_tso4=off,guest_tso6=on,guest_ecn=off,guest_ufo=on,host_tso4=off,host_tso6=on,host_ecn=on,mrg_rxbuf=off,ctrl_vq=on,host_ufo=on,mrg_rxbuf=on,ctrl_rx=on,ctrl_vlan=on,ctrl_rx_extra=on,ctrl_mac_addr=on -netdev tap,id=hostnet1,vhost=off,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-net1 -device e1000,netdev=hostnet1,id=virtio-net-pci1,mac=00:01:02:03:04:06,bus=pci.0,addr=0xa,multifunction=off -netdev tap,id=hostnet2,vhost=off,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-net-rtl8139 -device rtl8139,netdev=hostnet2,id=virtio-net-pci2,mac=00:01:02:03:04:07,bus=pci.0,addr=0xb,multifunction=off -serial unix:/tmp/monitor2,server,nowait -rtc base=utc -no-shutdown -drive file=/mnt/ide-disk,if=none,id=drive-data-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop,copy-on-read=off,serial=fux-ide,media=disk -device ide-drive,drive=drive-data-disk,id=system-disk,wwn=0x5000c50015ea71ad,logical_block_size=512,physical_block_size=512,min_io_size=32,opt_io_size=64,discard_granularity=512,ver=fuxc-ver,bus=ide.0,unit=0  -chardev tty,id=serial1,path=/dev/ttyS0 -device isa-serial,chardev=serial1 -chardev socket,id=channel1,path=/tmp/helloworld1,server,nowait  -chardev socket,id=channel2,path=/tmp/helloworld2,server,nowait -device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0 -chardev file,id=channel3,path=/mnt/helloworld1.txt -device virtserialport,chardev=channel3,name=com.redhat.rhevm.vdsm1,bus=virtio-serial0.0,id=port1,nr=1 -chardev socket,id=isa-serial-1,path=/tmp/isa-serial-1,server,nowait -device isa-serial,chardev=isa-serial-1 -device ich9-usb-uhci1,id=usb1,addr=0x11 -device usb-tablet,id=input0 -device usb-mouse,id=input1 -global pvpanic.ioport=0x0505 -machine rhel6.1.0,dump-guest-core=off -drive file=/mnt/winutils.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-0,id=ide0-1-0,wwn=0x5000c50015ea71ade,logical_block_size=512,physical_block_size=512,min_io_size=32,opt_io_size=64,discard_granularity=512,unit=1,ver=fuxc-ver-cdrom,bus=ide.0,unit=1 -drive file=/mnt/virtio-scsi-disk,if=none,id=drive-scsi-disk,format=raw,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0,addr=0x13,vectors=16,indirect_desc=on,event_idx=off,hotplug=on,param_change=off,num_queues=1,max_sectors=512,cmd_per_lun=16,multifunction=on,rombar=64 -device scsi-hd,drive=drive-scsi-disk,bus=scsi0.0,scsi-id=0,lun=0,id=data-disk2,logical_block_size=1024,physical_block_size=1024,min_io_size=512,opt_io_size=512,discard_granularity=512,ver=fuxc-scsi,serial=fuxc-scsi-serial,removable=off,wwn=0x16,channel=0,scsi-id=2,lun=2 -device sga -spice port=5901,password=redhat-vga,disable-ticketing -vga qxl -global qxl-vga.vram_size=33554432 -device intel-hda,id=sound0,bus=pci.0 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev socket,path=/tmp/foo,server,nowait,id=foo -drive file=/mnt/virtio-win_amd64.vfd,if=none,id=drive-fdc0-0-0,readonly=on,format=raw -global isa-fdc.driveA=drive-fdc0-0-0

2.do migration

3.inside guest, do twice reboot

4. on qemu-kvm side, do system_reset

Actual results:
after step2, there is no call trace on serial console and dmesge.
after step3 and step4, guest can reboot successfully and no call trace.

Additional info:
1. I also test "-M rhel6.5.0" for rhel6.5-64 guest, the result is pass as above.
2. I also test "-M rhel6.5.0" for win8-32 guest, after migration, the guest can reboot successfully.
Comment 7 huiqingding 2014-05-05 22:58:02 EDT
erify this bug on Intel SandyBridge host using the following version:
RHEL6.5 host:
2.6.32-459.el6.x86_64
qemu-kvm-0.12.1.2-2.424.el6.x86_64

RHEL7.0 host:
3.10.0-122.el7.x86_64
qemu-kvm-1.5.3-60.el7_0.1.x86_64

1.full qemu-kvm command line on rhel6.5 & rhel7.0 host

/usr/libexec/qemu-kvm -M rhel6.1.0 -cpu SandyBridge -enable-kvm  -m 4096 -realtime mlock=off -smp 4,sockets=2,cores=2,threads=1,maxcpus=160 -numa node,cpus=0 -numa node,cpus=1 -numa node,cpus=2 -numa node,cpus=3 -nodefconfig -nodefaults -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -global ide-drive.physical_block_size=4096 -global ide-drive.logical_block_size=4096 -global virtio-blk-pci.physical_block_size=512 -global virtio-blk-pci.logical_block_size=512 -boot order=cdn,once=n,menu=on,strict=on,reboot-timeout=60000 -k en-us -soundhw ac97 -device virtio-balloon-pci,id=ballooning,bus=pci.0,addr=0x5,indirect_desc=on,event_idx=on,multifunction=on,rombar=100 -monitor stdio -name test-all-qemu-kvm-option -uuid `uuidgen` -drive file=/mnt/RHEL-Server-6.5-64-virtio.qcow2,if=none,id=drive-virtio-disk,format=qcow2,cache=none,aio=native,werror=stop,rerror=stop,media=disk,snapshot=off,bus=1,unit=1 -device virtio-blk-pci,scsi=off,drive=drive-virtio-disk,id=virtio-disk,bus=pci.0,addr=0x7,bootindex=1,physical_block_size=512,logical_block_size=512,multifunction=on,scsi=on,event_idx=on,indirect_desc=on,vectors=32,x-data-plane=off,ioeventfd=on,serial=fuxc,discard_granularity=1,min_io_size=4096,opt_io_size=4096 -usbdevice tablet -usbdevice mouse  -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-net -device virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=00:01:02:03:04:05,bus=pci.0,addr=0x9,multifunction=on,status=on,gso=on,ioeventfd=on,vectors=8,indirect_desc=off,event_idx=off,guest_tso4=off,guest_tso6=on,guest_ecn=off,guest_ufo=on,host_tso4=off,host_tso6=on,host_ecn=on,mrg_rxbuf=off,ctrl_vq=on,host_ufo=on,mrg_rxbuf=on,ctrl_rx=on,ctrl_vlan=on,ctrl_rx_extra=on,ctrl_mac_addr=on -netdev tap,id=hostnet1,vhost=off,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-net1 -device e1000,netdev=hostnet1,id=virtio-net-pci1,mac=00:01:02:03:04:06,bus=pci.0,addr=0xa,multifunction=off -netdev tap,id=hostnet2,vhost=off,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-net-rtl8139 -device rtl8139,netdev=hostnet2,id=virtio-net-pci2,mac=00:01:02:03:04:07,bus=pci.0,addr=0xb,multifunction=off -serial unix:/tmp/monitor2,server,nowait -rtc base=utc -no-shutdown -drive file=/mnt/ide-disk,if=none,id=drive-data-disk,format=raw,cache=none,aio=native,werror=stop,rerror=stop,copy-on-read=off,serial=fux-ide,media=disk -device ide-drive,drive=drive-data-disk,id=system-disk,wwn=0x5000c50015ea71ad,logical_block_size=512,physical_block_size=512,min_io_size=32,opt_io_size=64,discard_granularity=512,ver=fuxc-ver,bus=ide.0,unit=0  -chardev tty,id=serial1,path=/dev/ttyS0 -device isa-serial,chardev=serial1 -chardev socket,id=channel1,path=/tmp/helloworld1,server,nowait  -chardev socket,id=channel2,path=/tmp/helloworld2,server,nowait -device virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0 -chardev file,id=channel3,path=/mnt/helloworld1.txt -device virtserialport,chardev=channel3,name=com.redhat.rhevm.vdsm1,bus=virtio-serial0.0,id=port1,nr=1 -chardev socket,id=isa-serial-1,path=/tmp/isa-serial-1,server,nowait -device isa-serial,chardev=isa-serial-1 -device ich9-usb-uhci1,id=usb1,addr=0x11 -device usb-tablet,id=input0 -device usb-mouse,id=input1 -global pvpanic.ioport=0x0505 -machine rhel6.1.0,dump-guest-core=off -drive file=/mnt/winutils.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-0,id=ide0-1-0,wwn=0x5000c50015ea71ade,logical_block_size=512,physical_block_size=512,min_io_size=32,opt_io_size=64,discard_granularity=512,unit=1,ver=fuxc-ver-cdrom,bus=ide.0,unit=1 -drive file=/mnt/virtio-scsi-disk,if=none,id=drive-scsi-disk,format=raw,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0,addr=0x13,vectors=16,indirect_desc=on,event_idx=off,hotplug=on,param_change=off,num_queues=1,max_sectors=512,cmd_per_lun=16,multifunction=on,rombar=64 -device scsi-hd,drive=drive-scsi-disk,bus=scsi0.0,scsi-id=0,lun=0,id=data-disk2,logical_block_size=1024,physical_block_size=1024,min_io_size=512,opt_io_size=512,discard_granularity=512,ver=fuxc-scsi,serial=fuxc-scsi-serial,removable=off,wwn=0x16,channel=0,scsi-id=2,lun=2 -device sga -spice port=5901,password=redhat-vga,disable-ticketing -vga qxl -global qxl-vga.vram_size=33554432 -device intel-hda,id=sound0,bus=pci.0 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev socket,path=/tmp/foo,server,nowait,id=foo -drive file=/mnt/virtio-win_amd64.vfd,if=none,id=drive-fdc0-0-0,readonly=on,format=raw -global isa-fdc.driveA=drive-fdc0-0-0

2.do migration

3.inside guest, do twice reboot

4. on qemu-kvm side, do system_reset

Actual results:
after step2, there is no call trace on serial console and dmesge.
after step3 and step4, guest can reboot successfully and no call trace.

Additional info:
1. I also test "-M rhel6.5.0" for rhel6.5-64 guest, the result is pass as above.
2. I also test "-M rhel6.5.0" for win8-64 guest, after migration, the guest can reboot successfully.
Comment 8 huiqingding 2014-05-05 22:59:13 EDT
(In reply to huiqingding from comment #6)
> Verify this bug on AMD Opteron_G3 host using the following version:
> RHEL6.5 host:
> 2.6.32-459.el6.x86_64
> qemu-kvm-0.12.1.2-2.424.el6.x86_64
> 
> RHEL7.0 host:
> 3.10.0-122.el7.x86_64
> qemu-kvm-1.5.3-60.el7_0.1.x86_64
> 
> 1.full qemu-kvm command line on rhel6.5 & rhel7.0 host
> 
> /usr/libexec/qemu-kvm -M rhel6.1.0 -cpu
> Opteron_G3,check,+kvm_pv_eoi,hv_relaxed,+ibs,+osvw,+3dnowprefetch,+cr8legacy,
> +extapic,+cmp_legacy,+3dnow,+3dnowext,+pdpe1gb,+fxsr_opt,+mmxext,+ht,+vme 
> -enable-kvm  -m 4096 -realtime mlock=off -smp
> 4,sockets=2,cores=2,threads=1,maxcpus=160 -numa node,cpus=0 -numa
> node,cpus=1 -numa node,cpus=2 -numa node,cpus=3 -nodefconfig -nodefaults
> -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -global
> ide-drive.physical_block_size=4096 -global ide-drive.logical_block_size=4096
> -global virtio-blk-pci.physical_block_size=512 -global
> virtio-blk-pci.logical_block_size=512 -boot
> order=cdn,once=n,menu=on,strict=on,reboot-timeout=60000 -k en-us -soundhw
> ac97 -device
> virtio-balloon-pci,id=ballooning,bus=pci.0,addr=0x5,indirect_desc=on,
> event_idx=on,multifunction=on,rombar=100 -monitor stdio -name
> test-all-qemu-kvm-option -uuid `uuidgen` -drive
> file=/mnt/RHEL-Server-6.5-64-virtio.qcow2,if=none,id=drive-virtio-disk,
> format=qcow2,cache=none,aio=native,werror=stop,rerror=stop,media=disk,
> snapshot=off,bus=1,unit=1 -device
> virtio-blk-pci,scsi=off,drive=drive-virtio-disk,id=virtio-disk,bus=pci.0,
> addr=0x7,bootindex=1,physical_block_size=512,logical_block_size=512,
> multifunction=on,scsi=on,event_idx=on,indirect_desc=on,vectors=32,x-data-
> plane=off,ioeventfd=on,serial=fuxc,discard_granularity=1,min_io_size=4096,
> opt_io_size=4096 -usbdevice tablet -usbdevice mouse  -netdev
> tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-net
> -device
> virtio-net-pci,netdev=hostnet0,id=virtio-net-pci0,mac=00:01:02:03:04:05,
> bus=pci.0,addr=0x9,multifunction=on,status=on,gso=on,ioeventfd=on,vectors=8,
> indirect_desc=off,event_idx=off,guest_tso4=off,guest_tso6=on,guest_ecn=off,
> guest_ufo=on,host_tso4=off,host_tso6=on,host_ecn=on,mrg_rxbuf=off,ctrl_vq=on,
> host_ufo=on,mrg_rxbuf=on,ctrl_rx=on,ctrl_vlan=on,ctrl_rx_extra=on,
> ctrl_mac_addr=on -netdev
> tap,id=hostnet1,vhost=off,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-
> net1 -device
> e1000,netdev=hostnet1,id=virtio-net-pci1,mac=00:01:02:03:04:06,bus=pci.0,
> addr=0xa,multifunction=off -netdev
> tap,id=hostnet2,vhost=off,script=/etc/qemu-ifup,downscript=no,ifname=fuxc-
> net-rtl8139 -device
> rtl8139,netdev=hostnet2,id=virtio-net-pci2,mac=00:01:02:03:04:07,bus=pci.0,
> addr=0xb,multifunction=off -serial unix:/tmp/monitor2,server,nowait -rtc
> base=utc -no-shutdown -drive
> file=/mnt/ide-disk,if=none,id=drive-data-disk,format=raw,cache=none,
> aio=native,werror=stop,rerror=stop,copy-on-read=off,serial=fux-ide,
> media=disk -device
> ide-drive,drive=drive-data-disk,id=system-disk,wwn=0x5000c50015ea71ad,
> logical_block_size=512,physical_block_size=512,min_io_size=32,opt_io_size=64,
> discard_granularity=512,ver=fuxc-ver,bus=ide.0,unit=0  -chardev
> tty,id=serial1,path=/dev/ttyS0 -device isa-serial,chardev=serial1 -chardev
> socket,id=channel1,path=/tmp/helloworld1,server,nowait  -chardev
> socket,id=channel2,path=/tmp/helloworld2,server,nowait -device
> virtio-serial-pci,id=virtio-serial0,max_ports=16,vectors=0 -chardev
> file,id=channel3,path=/mnt/helloworld1.txt -device
> virtserialport,chardev=channel3,name=com.redhat.rhevm.vdsm1,bus=virtio-
> serial0.0,id=port1,nr=1 -chardev
> socket,id=isa-serial-1,path=/tmp/isa-serial-1,server,nowait -device
> isa-serial,chardev=isa-serial-1 -device ich9-usb-uhci1,id=usb1,addr=0x11
> -device usb-tablet,id=input0 -device usb-mouse,id=input1 -global
> pvpanic.ioport=0x0505 -machine rhel6.1.0,dump-guest-core=off -drive
> file=/mnt/winutils.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,
> format=raw -device
> ide-drive,bus=ide.1,unit=1,drive=drive-ide0-1-0,id=ide0-1-0,
> wwn=0x5000c50015ea71ade,logical_block_size=512,physical_block_size=512,
> min_io_size=32,opt_io_size=64,discard_granularity=512,unit=1,ver=fuxc-ver-
> cdrom,bus=ide.0,unit=1 -drive
> file=/mnt/virtio-scsi-disk,if=none,id=drive-scsi-disk,format=raw,cache=none,
> werror=stop,rerror=stop -device
> virtio-scsi-pci,id=scsi0,addr=0x13,vectors=16,indirect_desc=on,event_idx=off,
> hotplug=on,param_change=off,num_queues=1,max_sectors=512,cmd_per_lun=16,
> multifunction=on,rombar=64 -device
> scsi-hd,drive=drive-scsi-disk,bus=scsi0.0,scsi-id=0,lun=0,id=data-disk2,
> logical_block_size=1024,physical_block_size=1024,min_io_size=512,
> opt_io_size=512,discard_granularity=512,ver=fuxc-scsi,serial=fuxc-scsi-
> serial,removable=off,wwn=0x16,channel=0,scsi-id=2,lun=2 -device sga -spice
> port=5901,password=redhat-vga,disable-ticketing -vga qxl -global
> qxl-vga.vram_size=33554432 -device intel-hda,id=sound0,bus=pci.0 -device
> hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -chardev
> socket,path=/tmp/foo,server,nowait,id=foo -drive
> file=/mnt/virtio-win_amd64.vfd,if=none,id=drive-fdc0-0-0,readonly=on,
> format=raw -global isa-fdc.driveA=drive-fdc0-0-0
> 
> 2.do migration
> 
> 3.inside guest, do twice reboot
> 
> 4. on qemu-kvm side, do system_reset
> 
> Actual results:
> after step2, there is no call trace on serial console and dmesge.
> after step3 and step4, guest can reboot successfully and no call trace.
> 
> Additional info:
> 1. I also test "-M rhel6.5.0" for rhel6.5-64 guest, the result is pass as
> above.
> 2. I also test "-M rhel6.5.0" for win8-32 guest, after migration, the guest
> can reboot successfully.

sorry, it is win8-64 guest.
Comment 12 errata-xmlrpc 2014-06-10 08:34:56 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2014-0704.html

Note You need to log in before you can comment on or make changes to this bug.