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 1139928 - win2012r2 guest would be black screen when booting vm
Summary: win2012r2 guest would be black screen when booting vm
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Vadim Rozenfeld
QA Contact: Yiqian Wei
Jiri Herrmann
URL:
Whiteboard:
Depends On:
Blocks: 1253168 1270165
TreeView+ depends on / blocked
 
Reported: 2014-09-10 03:16 UTC by ShupingCui
Modified: 2017-11-09 07:41 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1253168 (view as bug list)
Environment:
Last Closed: 2017-11-09 07:41:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
kvm_stat (452.00 KB, text/plain)
2014-09-10 03:18 UTC, ShupingCui
no flags Details
screenshot (140.00 KB, application/octet-stream)
2014-09-12 08:57 UTC, ShupingCui
no flags Details
screendumps (505.07 KB, application/x-gzip)
2015-09-16 06:13 UTC, ShupingCui
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1063124 0 high CLOSED Fail to boot windows 2012/win8.1/win8 x86_64 guest with '-cpu SandyBridge/Opteron_G4' with hv_relaxed flag 2021-02-22 00:41:40 UTC
Red Hat Bugzilla 1069082 0 high CLOSED win2012r2 guest show "Error Code: 0x0000001E" during installation 2021-02-22 00:41:40 UTC
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
Red Hat Bugzilla 1163828 0 urgent CLOSED [qemu-kvm] unable to run 64bit versions of Windows 8, 8.1, 2012, 2012 R2 - Error Code: 0x0000001E 2021-02-22 00:41:40 UTC

Internal Links: 1063124 1069082 1138511 1163828

Description ShupingCui 2014-09-10 03:16:55 UTC
Description of problem:
win2012r2 guest would be black screen when booting vm 

Version-Release number of selected component (if applicable):
# uname -r
3.10.0-147.el7.x86_64
# rpm -q qemu-kvm-rhev
qemu-kvm-rhev-2.1.0-3.el7.x86_64


How reproducible:
9/50

Steps to Reproduce:
1. boot guest with virtio-scsi
/usr/libexec/qemu-kvm \
    -name 'virt-tests-vm1'  \
    -sandbox off  \
    -M pc  \
    -nodefaults  \
    -vga qxl  \
    -global qxl-vga.vram_size=33554432  \
    -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20140910-101451-QBzzdvAW,server,nowait \
    -mon chardev=qmp_id_qmpmonitor1,mode=control  \
    -chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0-20140910-101451-QBzzdvAW,server,nowait \
    -device isa-serial,chardev=serial_id_serial0  \
    -chardev socket,id=seabioslog_id_20140910-101451-QBzzdvAW,path=/tmp/seabios-20140910-101451-QBzzdvAW,server,nowait \
    -device isa-debugcon,chardev=seabioslog_id_20140910-101451-QBzzdvAW,iobase=0x402 \
    -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=03 \
    -device virtio-scsi-pci,id=virtio_scsi_pci0,bus=pci.0,addr=04 \
    -drive id=drive_image1,if=none,cache=none,snapshot=off,aio=native,file=/root/tests/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/images/win2012-64r2-virtio.qcow2 \
    -device scsi-hd,id=image1,drive=drive_image1 \
    -device virtio-net-pci,mac=9a:e1:e2:e3:e4:e5,id=idgP9JJO,vectors=4,netdev=idl0a5bg,bus=pci.0,addr=05  \
    -netdev tap,id=idl0a5bg,vhost=on,vhostfd=23,fd=22  \
    -m 4096  \
    -smp 4,cores=2,threads=1,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=/root/tests/staf-kvm-devel/autotest-devel/client/tests/virt/shared/data/isos/windows/winutils.iso \
    -device scsi-cd,id=cd1,drive=drive_cd1 \
    -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1  \
    -spice port=3000,password=123456,addr=0,image-compression=auto_glz,zlib-glz-wan-compression=auto,streaming-video=all,agent-mouse=on,playback-compression=on,ipv4  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=c,menu=off \
    -enable-kvm

2. waiting for guest boot up
3.

Actual results:
Win2012r2 guest would go to black screen

Expected results:
Win2012r2 guest would boot up successfully.

Additional info:
Host cpu info:
processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
stepping	: 7
microcode	: 0x29
cpu MHz		: 3675.585
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 7
initial apicid	: 7
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 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 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips	: 6784.27
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

# free -m
             total       used       free     shared    buffers     cached
Mem:          7609       2316       5292          8          0       1665
-/+ buffers/cache:        650       6958
Swap:         7951          0       7951

Comment 1 ShupingCui 2014-09-10 03:18:52 UTC
Created attachment 935968 [details]
kvm_stat

Comment 3 Ronen Hod 2014-09-10 14:20:28 UTC
First suspect is QXL. I think that we already have such bug.

Comment 4 Vadim Rozenfeld 2014-09-11 09:13:29 UTC
Does it happen before Windows boot screen?
If so can you please provide bugcheck code or post
the relevant screenshot image?

Thanks,
Vadim.

Comment 5 ShupingCui 2014-09-12 08:57:43 UTC
Created attachment 936874 [details]
screenshot

Comment 6 ShupingCui 2014-09-12 08:58:59 UTC
(In reply to Vadim Rozenfeld from comment #4)
> Does it happen before Windows boot screen?
> If so can you please provide bugcheck code or post
> the relevant screenshot image?
> 
> Thanks,
> Vadim.

Hi Vadim,

Could you check comment 5 about screenshot images?

Thanks,
Shuping

Comment 7 Vadim Rozenfeld 2014-09-14 01:12:08 UTC
(In reply to ShupingCui from comment #6)
> (In reply to Vadim Rozenfeld from comment #4)
> > Does it happen before Windows boot screen?
> > If so can you please provide bugcheck code or post
> > the relevant screenshot image?
> > 
> > Thanks,
> > Vadim.
> 
> Hi Vadim,
> 
> Could you check comment 5 about screenshot images?
> 
> Thanks,
> Shuping

Thanks Shuping,
Does it work well if you switch to std instead of qxl?
Best regards,
Vadim.

Comment 14 Ronen Hod 2014-11-18 10:37:46 UTC
Vadim thinks that the issue is that hv-enlightenment + sandy-bridge, turns on a CPU flags that are missing.
See the see-also bugs too.
Radim, Eduardo, will any of you take it?

Comment 15 Eduardo Habkost 2014-11-18 14:14:48 UTC
(In reply to ShupingCui from comment #0)
[...]
>     -cpu
> 'SandyBridge',+kvm_pv_unhalt,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time
> \
[...]

I am considering to start automatically closing any CPUID-related bug report where the "enforce" CPU flag is not used in the command-line. Please test using the "enforce" flag, otherwise there's no guarantee that all CPUID flags are being propertly exposed to the guest.

(Using the "check" flag instead of "enforce" may be acceptable if there's any issue with "enforce" blocking the testing. But in this case, all the warnings shown by QEMU should be included in the bug report. Omitting both "check" and "enforce" is not acceptable, though.)

Comment 16 ShupingCui 2014-11-27 00:42:26 UTC
(In reply to Eduardo Habkost from comment #15)
> (In reply to ShupingCui from comment #0)
> [...]
> >     -cpu
> > 'SandyBridge',+kvm_pv_unhalt,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time
> > \
> [...]
> 
> I am considering to start automatically closing any CPUID-related bug report
> where the "enforce" CPU flag is not used in the command-line. Please test
> using the "enforce" flag, otherwise there's no guarantee that all CPUID
> flags are being propertly exposed to the guest.
> 
> (Using the "check" flag instead of "enforce" may be acceptable if there's
> any issue with "enforce" blocking the testing. But in this case, all the
> warnings shown by QEMU should be included in the bug report. Omitting both
> "check" and "enforce" is not acceptable, though.)

OK, I will try with using the "enforce" flag and let you know the result.

Comment 18 Eduardo Habkost 2014-12-09 18:31:01 UTC
We need some additional testing to find out which CPU model change may be triggering it:

I am assuming that the bug is not reproduced using Westmere, and the differences between Westmere and SandyBridge are:
* level (11 vs 13)
* model (44 vs 42)
* CPU features: avx, xsave, tsc-deadline, x2apic, rdtscp

My main suspects are:
 * model
 * level/xsave/avx (level 13 enables the xsave CPUID leaf)
 * x2apic

So, we need to check the following:

* Confirm if the bug is really not reproducible using -cpu Westmere,force
  * If it can be reproduced, then there's no need to test the combinations below. In that case, we need to check if Nehalem, Penryn, Conroe, and qemu64 allow the bug to be triggered.

* Confirm if the bug is reproducible using: -cpu Westmere,level=13,model=42,+avx,+xsave,+tsc-deadline,+x2apic,+rdtscp,enforce
   * It SHOULD be reproducible using the following, as it is equivalent to -cpu SandyBridge. If it can't be reproduced, please let us know (and there's no need to test the items below).

* Test using different flag combinations, to find out which flags really trigger the bug. My suggestion is to test them in the following order:
   * -cpu Westmere,model=42,enforce
   * -cpu Westmere,level=13,+avx,+xsave,enforce
   * -cpu Westmere,model=42,level=13,+avx,+xsave,enforce
   * -cpu Westmere,+x2apic,enforce
   * -cpu Westmere,model=42,+x2apic,enforce
   * -cpu Westmere,+tsc-deadline,enforce
   * -cpu Westmere,model=42,+tsc-deadline,enforce
   * -cpu Westmere,+rdtscp,enforce
   * -cpu Westmere,model=42,+rdtscp,enforce
  I expect at least one of the above combinations to allow the bug to be reproduced.

Comment 23 Vadim Rozenfeld 2015-08-10 09:43:25 UTC
Is it still reproducible with the most recent qemu and virtio-win drivers setup?
Thanks,
Vadim.

Comment 24 Suqin Huang 2015-08-13 06:21:03 UTC
Hi vadim,

it happen frequently.
qemu-kvm-rhev:  qemu-kvm-rhev-2.2.0-16.el7.x86_64
virtio-win:  virtio-win-1.7.4.iso

What do we need to provide.

Regards,
Suqin

Comment 25 Karen Noel 2015-08-24 12:23:26 UTC
This bug is getting old...

Suqin, qemu-kvm-rhev-2.2.0 is not the latest. Did you test with 2.3.0?

Host kernel version?

Radim, Is there a way to debug this through KVM on the host?

Comment 26 Suqin Huang 2015-09-09 08:12:18 UTC
it can be reproduced with qemu-kvm-rhev-2.3.0-22.el7.x86_64

Comment 27 Suqin Huang 2015-09-09 08:14:47 UTC
it can be reproduced with qemu-kvm-rhev-2.3.0-22.el7.x86_64

Comment 28 ShupingCui 2015-09-09 08:30:37 UTC
Hi Vadim,

QE team can reproduce it with comment#27.

Comment 29 Vadim Rozenfeld 2015-09-09 11:01:19 UTC
(In reply to ShupingCui from comment #28)
> Hi Vadim,
> 
> QE team can reproduce it with comment#27.

Thanks,
Can you confirm that it is still stuck in a black screen with no 
messages or debug information ?

Best regards,
Vadim.

Comment 30 juzhang 2015-09-10 01:34:41 UTC
(In reply to Vadim Rozenfeld from comment #29)
> (In reply to ShupingCui from comment #28)
> > Hi Vadim,
> > 
> > QE team can reproduce it with comment#27.
> 
> Thanks,
> Can you confirm that it is still stuck in a black screen with no 
> messages or debug information ?
> 
> Best regards,
> Vadim.

Hi Shuang,

Can you reply this?

Best Regards,
Junyi

Comment 31 Suqin Huang 2015-09-11 06:31:30 UTC
Hi Vadim,
scui is reproducing the issue.
we will check 
1). network status
2). top info
3). kvm_stat

any other message do you need.

Thanks
Suqin

Comment 32 Vadim Rozenfeld 2015-09-11 09:00:18 UTC
Not messages, but can we try generating a crashdump file by triggering NMI interrupt when the system stuck with a black screen next time? 
Thanks,
Vadim.

Comment 33 ShupingCui 2015-09-16 06:11:46 UTC
(In reply to Vadim Rozenfeld from comment #32)
> Not messages, but can we try generating a crashdump file by triggering NMI
> interrupt when the system stuck with a black screen next time? 
> Thanks,
> Vadim.

Hi Vadim,

Tried on host(3.10.0-310.el7.x86_64) and qemu-kvm-rhev-2.3.0-21.el7.x86_64:
when guest black screen, i cannot get a crashdump file by triggering NMI interrupt, always on '0% complete', using top and kvm_stat check status, the logs are:
# top
   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                                                                                  
 60115 root      20   0 4928004 3.957g  12136 S 401.0 17.0  10:01.39 qemu-kvm       

# kvm_stat
 kvm_entry                                  9096030  183936

Comment 34 ShupingCui 2015-09-16 06:13:09 UTC
Created attachment 1073901 [details]
screendumps

screendumps and vm_register log

Comment 35 Vadim Rozenfeld 2015-09-16 07:23:46 UTC
(In reply to ShupingCui from comment #34)
> Created attachment 1073901 [details]
> screendumps
> 
> screendumps and vm_register log

Many thanks for your feedback.
Does it only happen with virtio-scsi driver? How does it work with ide and virtio-blk devices?

Thanks,
Vadim.

Comment 36 ShupingCui 2015-09-16 08:00:12 UTC
(In reply to Vadim Rozenfeld from comment #35)
> (In reply to ShupingCui from comment #34)
> > Created attachment 1073901 [details]
> > screendumps
> > 
> > screendumps and vm_register log
> 
> Many thanks for your feedback.
> Does it only happen with virtio-scsi driver? How does it work with ide and
> virtio-blk devices?
> 
> Thanks,
> Vadim.

I'm working on with virito-blk and ide now, will update the result when I finished test.

Comment 37 ShupingCui 2015-09-16 09:29:13 UTC
(In reply to Vadim Rozenfeld from comment #35)
> (In reply to ShupingCui from comment #34)
> > Created attachment 1073901 [details]
> > screendumps
> > 
> > screendumps and vm_register log
> 
> Many thanks for your feedback.
> Does it only happen with virtio-scsi driver? How does it work with ide and
> virtio-blk devices?
> 
> Thanks,
> Vadim.

Tried with ide and virtio-blk devices, still can reproduce black screen issue.

Comment 38 Vadim Rozenfeld 2015-09-16 09:50:51 UTC
(In reply to ShupingCui from comment #37)
> (In reply to Vadim Rozenfeld from comment #35)
> > (In reply to ShupingCui from comment #34)
> > > Created attachment 1073901 [details]
> > > screendumps
> > > 
> > > screendumps and vm_register log
> > 
> > Many thanks for your feedback.
> > Does it only happen with virtio-scsi driver? How does it work with ide and
> > virtio-blk devices?
> > 
> > Thanks,
> > Vadim.
> 
> Tried with ide and virtio-blk devices, still can reproduce black screen
> issue.

Thanks.
Can you please check if NMI can create a crash dump file with ide disk?

Comment 39 ShupingCui 2015-09-16 09:58:08 UTC
(In reply to Vadim Rozenfeld from comment #38)
> (In reply to ShupingCui from comment #37)
> > (In reply to Vadim Rozenfeld from comment #35)
> > > (In reply to ShupingCui from comment #34)
> > > > Created attachment 1073901 [details]
> > > > screendumps
> > > > 
> > > > screendumps and vm_register log
> > > 
> > > Many thanks for your feedback.
> > > Does it only happen with virtio-scsi driver? How does it work with ide and
> > > virtio-blk devices?
> > > 
> > > Thanks,
> > > Vadim.
> > 
> > Tried with ide and virtio-blk devices, still can reproduce black screen
> > issue.
> 
> Thanks.
> Can you please check if NMI can create a crash dump file with ide disk?

Tried it, cannot create a crash dump file with ide using NMI, do you have other method to create dump file?

Comment 40 Vadim Rozenfeld 2015-09-16 10:17:59 UTC
(In reply to ShupingCui from comment #39)
> (In reply to Vadim Rozenfeld from comment #38)
> > (In reply to ShupingCui from comment #37)
> > > (In reply to Vadim Rozenfeld from comment #35)
> > > > (In reply to ShupingCui from comment #34)
> > > > > Created attachment 1073901 [details]
> > > > > screendumps
> > > > > 
> > > > > screendumps and vm_register log
> > > > 
> > > > Many thanks for your feedback.
> > > > Does it only happen with virtio-scsi driver? How does it work with ide and
> > > > virtio-blk devices?
> > > > 
> > > > Thanks,
> > > > Vadim.
> > > 
> > > Tried with ide and virtio-blk devices, still can reproduce black screen
> > > issue.
> > 
> > Thanks.
> > Can you please check if NMI can create a crash dump file with ide disk?
> 
> Tried it, cannot create a crash dump file with ide using NMI, do you have
> other method to create dump file?

Unfortunately, NMI is the best option I can offer.
I will try reproducing this issue on my local system,
with WinDbg attached.

Best regards,
Vadim

Comment 45 Yiqian Wei 2017-06-20 07:28:12 UTC
can not reproduce this bug with latest version.
host version:
qemu-kvm-rhev-2.9.0-10.el7.x86_64
kernel-3.10.0-684.el7.x86_64
virtio-win-1.9.1-0.el7.noarch
guest:win2012r2-64bit

test steps
1.boot a guest with virtio-scsi
/usr/libexec/qemu-kvm  \
-name win2012r2  \
-M pc \
-cpu SandyBridge,enforce \
-m 4096 \
-realtime mlock=off \
-smp 4,sockets=2,cores=2,threads=1 \
-uuid d7828e5c-3a66-421e-9e83-beea9457fcb8 \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,path=/tmp/monitor.sock,server,nowait \
-mon chardev=charmonitor,id=monitor,mode=control \
-chardev socket,id=serial_id_serial0,path=/tmp/serial-serial0,server,nowait \
-device isa-serial,chardev=serial_id_serial0  \
-chardev socket,id=seabioslog_id,path=/tmp/seabios123,server,nowait \
-device isa-debugcon,chardev=seabioslog_id,iobase=0x402 \
-rtc base=localtime,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-global PIIX4_PM.disable_s3=1 \
-global PIIX4_PM.disable_s4=1 \
-device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x5.0x7 \
-device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x5 \
-device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x5.0x1 \
-device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x5.0x2 \
-device virtio-scsi-pci,id=scsi0,bus=pci.0,addr=0x7 \
-device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x6 \
-drive file=/root/win2012-64r2-virtio-scsi.qcow2,if=none,id=drive-scsi0-0-0-0,cache=none,snapshot=off,aio=native \
-device scsi-hd,drive=drive-scsi0-0-0-0,id=scsi0-0-0-0 \
-netdev tap,id=hostnet0,vhost=on  \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:74:3e:aa,bus=pci.0,addr=0x3  \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 \
-device usb-tablet,id=input0,bus=usb.0,port=1 \
-spice port=5932,disable-ticketing \
-device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2 \
-device intel-hda,id=sound0,bus=pci.0,addr=0x4 \
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x8 \
-boot order=cdn,once=c,menu=off \
-enable-kvm \
-monitor stdio \
-msg timestamp=on \
-drive id=drive_cd1,if=none,media=cdrom,file=/usr/share/virtio-win/virtio-win-1.9.1.iso \
-device scsi-cd,id=cd1,drive=drive_cd1 \
-monitor unix:/tmp/monitor2,server,nowait \
2.waiting for guest boot up
3.Repeat steps 1, 50 times with the script.
#!/bin/bash
for i in $(seq 1 50);
do
	echo
	echo "===== This is the $i iteration ====="

        eval "sh /root/bz1139928/cmd.sh"& 
        sleep 48
	
        echo "system_powerdown" | nc -U /tmp/monitor2 
        sleep 17
done

test results:
Win2012r2 guest would boot up successfully,guest would not got to black screen.

Additional info:
1.boot a guest with virtio-blk,no reproduce this bug
2.host cpu info:
processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
stepping	: 7
microcode	: 0x29
cpu MHz		: 2280.789
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 7
initial apicid	: 7
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 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 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts
bogomips	: 6784.06
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

# free -m
              total        used        free      shared  buff/cache   available
Mem:          11812        4485        6883          16         443        7039
Swap:          6015           0        6015

Comment 46 Vadim Rozenfeld 2017-11-09 07:41:42 UTC
(In reply to Yiqian Wei from comment #45)
> can not reproduce this bug with latest version.
> host version:
> qemu-kvm-rhev-2.9.0-10.el7.x86_64
> kernel-3.10.0-684.el7.x86_64
> virtio-win-1.9.1-0.el7.noarch
> guest:win2012r2-64bit
> 

Thank you.
Going to close the bug as worksforme.

Best regards,
Vadim.


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