Bug 1905448

Summary: [virtio-win][virtio-gpu-dod] Add new virtio-gpu-dod driver tests to HCK-CI running on upstream
Product: Red Hat Enterprise Linux 8 Reporter: Yvugenfi <yvugenfi>
Component: virtio-winAssignee: Yvugenfi <yvugenfi>
virtio-win sub component: others QA Contact: lijin <lijin>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: low    
Priority: unspecified CC: ailan, lijin
Version: 8.3Keywords: RFE, Triaged
Target Milestone: rc   
Target Release: 8.0   
Hardware: Unspecified   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-16 10:03:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Yvugenfi@redhat.com 2020-12-08 11:41:26 UTC
Description of problem:
Add new virtio-gpu-dod driver tests to HCK-CI running on upstream

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Yvugenfi@redhat.com 2020-12-13 09:46:25 UTC
From Vadim Rozenfeld:

Below is my client machine settings. Please pay attention to 'edid=off'
It works fine with 'edid=on' (edid provided by qemu) but one of edid
related test will fail
Also, please pay attention that some of hv_xxx flags are off.

#!/bin/sh

IMG='/images/images//win2004_32.qcow2'
QEMU=/home/vrozenfe/work/upstream/qemu/build/x86_64-softmmu/qemu-
system-x86_64
VIOVGA='-device virtio-vga,edid=off'
#VIODEV='-device virtio-gpu-
pci,edid=on,xres=800,yres=600,xres=1280,yres=800'

#FLGS=',hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0xfff,enforce,kvm=off,
hv_runtime,hv_vpindex,hv_synic,hv_stimer,+x2apic'
FLGS=',hv_time,hv_relaxed,hv_vapic,hv_spinlocks=0xfff'
#NOSHDWN='-no-shutdown'

MAXRAN=10

for i in `seq 2 $MAXRAN`
do
sudo $QEMU -cpu host$FLGS -m 2G -smp
4,maxcpus=4,cores=4,threads=1,sockets=1 -usb -device usb-
tablet,id=tablet0 -drive file=$IMG,if=none,id=drive-ide0-0-
0,cache=off,werror=stop,rerror=stop -device ide-
hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
-netdev tap,script=/etc/qemu-ifup,id=hostnet0 -device
e1000,netdev=hostnet0,mac=52:83:66:77:44:24,id=net0 -boot c -uuid
5b955a8b-e33f-4419-97b4-da6fe8fb7062
-rtc  base=localtime,clock=host,driftfix=slew -global kvm-
pit.lost_tick_policy=discard -monitor stdio -name VIOVGA-HLK2004
-enable-kvm $NOSHDWN $VIOVGA
sleep 5
done


I used hck2004 from 
https://docs.microsoft.com/en-us/windows-hardware/test/hlk/
for hck 2004 we don't need any additional packages to be installed 
inside of client, except for office2013 (or it's open source
alternative Apache open office 
https://www.openoffice.org/download/index.html in case if you want to
run full test including interactive testing)

In case of hck1903 the following package 
https://go.microsoft.com/fwlink/?linkid=2087319 needs to be installed 
inside of the client.

I didn't try testing Win8 but IIRC it also requires additional graphic 
package to be installed.

Comment 4 lijin 2021-04-20 00:46:46 UTC
change status to verified according to comment#3