Bug 1979205

Summary: [virtio-win][viostor] windows guest can not boot with indirect_desc=off
Product: Red Hat Enterprise Linux 8 Reporter: menli <menli>
Component: virtio-winAssignee: Vadim Rozenfeld <vrozenfe>
virtio-win sub component: virtio-win-prewhql QA Contact: menli <menli>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high CC: lijin, virt-maint
Version: 8.5   
Target Milestone: beta   
Target Release: ---   
Hardware: x86_64   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1979830 (view as bug list) Environment:
Last Closed: 2021-11-09 18:52:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1983901    
Bug Blocks: 1979830    

Description menli@redhat.com 2021-07-05 09:01:54 UTC
Description of problem:
windows guest can not boot with indirect_desc=off

Version-Release number of selected component (if applicable):
qemu-kvm-6.0.0-22.module+el8.5.0+11677+542c8d77.x86_64
kernel-4.18.0-319.el8.x86_64
seabios-1.14.0-1.module+el8.4.0+8855+a9e237a9.x86_64
virtio-win-prewhql-0.1-190.iso

How reproducible:
100%

Steps to Reproduce:
1.boot guest with following command line:
 /usr/libexec/qemu-kvm \
    -name 'bug reproduce' \
    -machine q35 \
    -nodefaults \
    -vga std  \
    -device pcie-root-port,port=0x10,chassis=1,id=pci.1,bus=pcie.0,multifunction=on,addr=0x2 \
    -device pcie-root-port,port=0x11,chassis=2,id=pci.2,bus=pcie.0,addr=0x2.0x1 \
    -device pcie-root-port,port=0x12,chassis=3,id=pci.3,bus=pcie.0,addr=0x2.0x2 \
    -device pcie-root-port,port=0x13,chassis=4,id=pci.4,bus=pcie.0,addr=0x2.0x3 \
    -device pcie-root-port,port=0x14,chassis=5,id=pci.5,bus=pcie.0,addr=0x2.0x4 \
    -device pcie-root-port,port=0x15,chassis=6,id=pci.6,bus=pcie.0,addr=0x2.0x5 \
    -device pcie-root-port,port=0x16,chassis=7,id=pci.7,bus=pcie.0,addr=0x2.0x6 \
    -device pcie-root-port,port=0x17,chassis=8,id=pci.8,bus=pcie.0,addr=0x2.0x7 \
    -blockdev node-name=file_stg1,driver=file,cache.direct=on,cache.no-flush=off,filename=win2016_bios.qcow2,aio=threads \
    -blockdev node-name=drive_stg1,driver=qcow2,cache.direct=on,cache.no-flush=off,file=file_stg1 \
    -device virtio-blk-pci,id=stg1,drive=drive_stg1,bus=pci.8,addr=0x0,indirect_desc=off   \
    -device virtio-net-pci,mac=9a:36:83:b6:3d:05,id=idJVpmsF,netdev=id23ZUK6,bus=pci.3  \
    -netdev tap,id=id23ZUK6,vhost=on \
    -m 14336  \
    -smp 2,maxcpus=4 \
    -cpu 'Skylake-Server',hv_stimer,hv_synic,hv_vpindex,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_frequencies,hv_runtime,hv_tlbflush,hv_reenlightenment,hv_stimer_direct,hv_ipi,hv_evmcs,hv-vendor-id=KVMtest \
    -drive id=drive_cd1,if=none,snapshot=off,aio=threads,cache=none,media=cdrom,file=/home/kvm_autotest_root/iso/ISO/Win2016/en_windows_server_2016_updated_feb_2018_x64_dvd_11636692.iso \
    -device ide-cd,id=cd2,drive=drive_cd1,bus=ide.0,unit=0 \
    -cdrom /home/kvm_autotest_root/iso/windows/virtio-win-prewhql-0.1-190.iso \
    -device piix3-usb-uhci,id=usb -device usb-tablet,id=input0 \
    -vnc :1  \
    -rtc base=localtime,clock=host,driftfix=slew  \
    -boot order=cdn,once=c,menu=off,strict=off \
    -enable-kvm \
    -qmp tcp:0:1231,server,nowait \
    -monitor stdio \


Actual results:
Guest can not boot, wait some time guest will BSOD.

Expected results:
Guest can start normally.

Additional info:
1.can also hit it in virtio-win-prewhql-0.1-203.iso, so it is not a regression issue

Comment 1 menli@redhat.com 2021-07-08 01:07:45 UTC
*** Bug 1979830 has been marked as a duplicate of this bug. ***

Comment 7 Vadim Rozenfeld 2021-07-13 05:58:09 UTC
please check with new drivers from build 204
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=38036451

Comment 8 menli@redhat.com 2021-07-13 12:22:37 UTC
Reproduce with virtio-win-prewhql-0.1-190.iso version(steps same as comment#0), result is: guest can not start
Verified with virtio-win-prewhql-0.1-204.iso(steps same as comment#0), result is: guest can start normally
So this issue is fixed, change status to verified.

Comment 11 errata-xmlrpc 2021-11-09 18:52:47 UTC
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 (virtio-win bug fix and enhancement update), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHEA-2021:4341