RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1171571 - win2012r2 guest cannot shutdown successfully on dst after migration
Summary: win2012r2 guest cannot shutdown successfully on dst after migration
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Yvugenfi@redhat.com
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-08 06:24 UTC by ShupingCui
Modified: 2016-08-01 08:49 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-01 08:49:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (1.19 MB, application/x-tar)
2014-12-08 06:24 UTC, ShupingCui
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1138511 0 unspecified CLOSED win2012r2 guest bsod(DRIVER_POWER_STATE_FAILURE) when doing restart guest 2021-02-22 00:41:40 UTC

Internal Links: 1138511

Description ShupingCui 2014-12-08 06:24:53 UTC
Created attachment 965694 [details]
screenshot

Description of problem:
win2012r2 guest cannot shutdown successfully on dst after migration, always on "Shutting down".

Version-Release number of selected component (if applicable):
Host A: qemu-kvm-rhev-1.5.3-60.el7ev
Host B: qemu-kvm-rhev-2.1.2-10.el7

virtio-win-prewhql-0.1-88

How reproducible:
only once

Steps to Reproduce:
1. install win2012r2 guest on host A with virtio_blk + virtio_net + "-M rhel7.0.0"
2. do migration
Host A:
/usr/bin/qemu-kvm \
    -S  \
    -name 'virt-tests-vm1'  \
    -sandbox off  \
    -M pc-i440fx-rhel7.0.0  \
    -nodefaults  \
    -vga std \
    -device AC97,bus=pci.0,addr=03  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20141204-122038-WRQCMnyE,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20141204-122038-WRQCMnyE,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20141204-122038-WRQCMnyE,path=/tmp/seabios-20141204-122038-WRQCMnyE,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20141204-122038-WRQCMnyE,iobase=0x402 \
    -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=04 \
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/mnt/nfs_images/win2012-64r2-virtio-blk.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=05 \
    -device virtio-net-pci,mac=9a:15:d0:35:72:14,id=idPhknYU,vectors=4,netdev=ido0KqgU,bus=pci.0,addr=06  \
    -netdev tap,id=ido0KqgU,fd=24  \
    -m 16384  \
    -smp 10,maxcpus=10,cores=2,threads=2,sockets=2  \
    -cpu 'SandyBridge',+kvm_pv_unhalt,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/usr/local/autotest/tests/virt/shared/data/isos/windows/winutils.iso \
    -device ide-cd,id=cd1,drive=drive_cd1,bootindex=1,bus=ide.0,unit=0 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1  \
    -vnc :0  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=c,menu=off \
    -enable-kvm \

Host B:
/usr/bin/qemu-kvm \
    -S  \
    -name 'virt-tests-vm1'  \
    -sandbox off  \
    -M pc-i440fx-rhel7.0.0  \
    -nodefaults  \
    -vga std \
    -device AC97,bus=pci.0,addr=03  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20141204-122038-WRQCMnyE,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20141204-122038-WRQCMnyE,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20141204-122038-WRQCMnyE,path=/tmp/seabios-20141204-122038-WRQCMnyE,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20141204-122038-WRQCMnyE,iobase=0x402 \
    -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=04 \
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/mnt/nfs_images/win2012-64r2-virtio-blk.qcow2 \
    -device virtio-blk-pci,id=image1,drive=drive_image1,bootindex=0,bus=pci.0,addr=05 \
    -device virtio-net-pci,mac=9a:15:d0:35:72:14,id=idPhknYU,vectors=4,netdev=ido0KqgU,bus=pci.0,addr=06  \
    -netdev tap,id=ido0KqgU,fd=24  \
    -m 16384  \
    -smp 10,maxcpus=10,cores=2,threads=2,sockets=2  \
    -cpu 'SandyBridge',+kvm_pv_unhalt,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time \
    -drive id=drive_cd1,if=none,snapshot=off,aio=native,media=cdrom,file=/usr/local/autotest/tests/virt/shared/data/isos/windows/winutils.iso \
    -device ide-cd,id=cd1,drive=drive_cd1,bootindex=1,bus=ide.0,unit=0 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1  \
    -vnc :0  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=c,menu=off \
    -enable-kvm \
    -incoming tcp:0:5200

3. shutdown guest on dst after migration

Actual results:
win2012r2 guest cannot shutdown successfully on dst after migration, always on "Shutting down".

Expected results:
win2012r2 guest can shutdown successfully on dst

Additional info:
Host cpus:
processor	: 31
vendor_id	: GenuineIntel
cpu family	: 6
model		: 62
model name	: Intel(R) Xeon(R) CPU E5-2640 v2 @ 2.00GHz
stepping	: 4
microcode	: 0x428
cpu MHz		: 2000.000
cache size	: 20480 KB
physical id	: 1
siblings	: 16
core id		: 7
cpu cores	: 8
apicid		: 47
initial apicid	: 47
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips	: 3997.22
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

Comment 2 Ronen Hod 2014-12-08 17:22:07 UTC
Yan,
Assigned to you for Windows-side analysis.

Comment 3 ShupingCui 2014-12-23 01:50:39 UTC
Will try to get the windows dump file when cannot shutdown.


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