Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-84818

virtio-win-pvpanic: The prewhql 271 build fails on Windows 10 1903 with VBS enabled

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • No
    • Moderate
    • rhel-virt-windows
    • ssg_virtualization
    • None
    • QE ack
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • x86_64
    • Windows
    • None

      What were you trying to do that didn't work?
      virtio-win-pvpanic: The prewhql 271 build fails on Windows 10 1903 with VBS enabled. It only happens on the Win10.x86_64, no hit it on the Win10.i386. The workaround is to close the VBS function.

      Please provide the package NVR for which the bug is seen:

      • CPU=Intel(R) Xeon(R) Silver 4310 CPU @ 2.10GHz
      • kernel-5.14.0-503.11.1.el9_5.x86_64
      • seabios-bin-1.16.3-2.el9.noarch
      • edk2-ovmf-20240524-6.el9_5.noarch
      • qemu-kvm-core-9.0.0-10.el9_5.x86_64
      • virtio-win-prewhql-0.1-271

      How reproducible:
      100%

      Steps to reproduce
      1. Boot a VM qemu cmdline at the bottom of this Jira issue.
      2. Check this virtio-win-pvpanic driver status.

      Expected results
      pvpanic driver setup with VBS opened.

      Actual results
      pvpanic driver setup with errors.

      The whole qemu-kvm cmdline:

      /usr/libexec/qemu-kvm \
      -name 275PNC106435CZY \
      -enable-kvm \
      -m 4G \
      -smp 4 \
      -uuid a38a8d49-99f9-4db0-8c78-9d2f37dab9ad \
      -nodefaults \
      -cpu host,hv_stimer,hv_synic,hv_time,hv_vpindex,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_frequencies,hv_runtime,hv_tlbflush,hv_reenlightenment,hv_stimer_direct,hv_ipi,vmx=on \
      -chardev socket,id=charmonitor,path=/tmp/275PNC106435CZY,server=on,wait=off \
      -mon chardev=charmonitor,id=monitor,mode=control \
      -rtc base=localtime,driftfix=slew \
      -boot order=cd,menu=on \
      -device piix3-usb-uhci,id=usb \
      -blockdev driver=file,cache.direct=off,cache.no-flush=on,filename=275PNC106435CZY,node-name=my_file \
      -blockdev driver=raw,node-name=my,file=my_file \
      -device ide-hd,drive=my,id=ide0-0-0,bus=ide.0,unit=0,bootindex=1 \
      -blockdev driver=file,cache.direct=off,cache.no-flush=on,filename=/home/kvm_autotest_root/iso/ISO/Win10/en_windows_10_business_editions_version_1903_x64_dvd_37200948.iso,node-name=my_cd,read-only=on \
      -blockdev driver=raw,node-name=mycd,file=my_cd,read-only=on \
      -device ide-cd,drive=mycd,id=ide0-1-0,bus=ide.1,bootindex=2 \
      -cdrom 275PNC106435CZY.iso \
      -device usb-tablet,id=input0 \
      -vnc 0.0.0.0:1 \
      -blockdev driver=file,cache.direct=off,cache.no-flush=on,filename=/home/kvm_autotest_root/iso/windows/FOD.iso,node-name=my_iso,read-only=on \
      -blockdev driver=raw,node-name=myiso,file=my_iso,read-only=on \
      -device ide-cd,drive=myiso,id=ide0-1-1,bus=ide.4 \
      -blockdev node-name=file_ovmf_code,driver=file,filename=275PNC106435CZY_ovmf/OVMF_CODE.secboot.fd,auto-read-only=on,discard=unmap \
      -blockdev node-name=drive_ovmf_code,driver=raw,read-only=on,file=file_ovmf_code \
      -blockdev node-name=file_ovmf_vars,driver=file,filename=275PNC106435CZY_ovmf/OVMF_VARS.fd,auto-read-only=on,discard=unmap \
      -blockdev node-name=drive_ovmf_vars,driver=raw,read-only=off,file=file_ovmf_vars \
      -machine q35,pflash0=drive_ovmf_code,pflash1=drive_ovmf_vars \
      -device pcie-root-port,bus=pcie.0,id=root1.0,multifunction=on,port=0x10,chassis=1,addr=0x7 \
      -device pcie-root-port,bus=pcie.0,id=root2.0,port=0x11,chassis=2,addr=0x7.0x1 \
      -netdev tap,script=/etc/qemu-ifup1,downscript=no,id=hostnet0 \
      -device e1000e,bus=root1.0,netdev=hostnet0,id=net0,mac=00:52:07:61:c9:72 \
      -vga std \
      -device pvpanic,id=pvpanic0,ioport=0x0505 \
      -monitor telnet:localhost:1000,server,nowait
      

        1. device_manager.png
          270 kB
          Wenkang Ji
        2. setup.png
          248 kB
          Wenkang Ji

              yvugenfi@redhat.com Yan Vugenfirer
              rh-ee-wji Wenkang Ji
              Meirav Dean Meirav Dean
              Wenkang Ji Wenkang Ji
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: