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

[Windows][QEMU7.2] Windows 2022 vm gets BSOD 'PROCESSOR_START_TIMEOUT (1df)' after hotplugging max cores sometimes

    • None
    • Important
    • CustomerScenariosInitiative
    • rhel-sst-virtualization
    • ssg_virtualization
    • 8
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • None
    • None
    • Known Issue
    • Hide
      .Hot plugging CPUs to a Windows VM might cause a system failure

      When hot plugging the maximum number of CPUs to a Windows virtual machine (VM) with huge pages enabled, the guest operating system might crash with the following _Stop error_:

      ----
      PROCESSOR_START_TIMEOUT
      ----

      There is currently no workaround for this issue.
      Show
      .Hot plugging CPUs to a Windows VM might cause a system failure When hot plugging the maximum number of CPUs to a Windows virtual machine (VM) with huge pages enabled, the guest operating system might crash with the following _Stop error_: ---- PROCESSOR_START_TIMEOUT ---- There is currently no workaround for this issue.
    • Done
    • None

      Description of problem:
      Windows 2022 gets BSOD 'PROCESSOR_START_TIMEOUT (1df)' after hotplugging max cores with with_hugepages sometimes

      Version-Release number of selected component (if applicable):
      Host:
      5.14.0-268.el9.x86_64
      qemu-kvm-7.2.0-9.el9.x86_64
      edk2-ovmf-20221207gitfff6d81270b5-6.el9.noarch
      libvirt-9.0.0-6.el9.x86_64
      dell-per750-25.lab.eng.pek2.redhat.com (Icelake)
      swtpm-0.8.0-1.el9.x86_64
      Guest: Win2022

      How reproducible:
      1/6

      Steps to Reproduce:
      1. Set hugepages on host:

      1. mount -t hugetlbfs -o pagesize=2048K none /mnt/kvm_hugepage

      2. Boot windows 2022 vm with ' -smp 1,maxcpus=48,cores=48,threads=1,dies=1,sockets=1', Full qemu command line [1]

      3. hotplug max cores:

      {'execute': 'device_add', 'arguments': OrderedDict([('id', 'vcpu47'), ('driver', 'Icelake-Server-x86_64-cpu'), ('socket-id', 0), ('die-id', 0), ('core-id', 47), ('thread-id', 0)]), 'id': 'kKNeBTZi'}

      4. Check guest status.

      Actual results:
      Guest gets BSOD 'PROCESSOR_START_TIMEOUT (1df)'

      Expected results:
      Guest works well without any error.

      Additional info:
      [1] - full qemu command line.
      /usr/libexec/qemu-kvm \
      -S \
      -name 'avocado-vt-vm1' \
      -sandbox on \
      -blockdev '

      {"node-name": "file_ovmf_code", "driver": "file", "filename": "/usr/share/OVMF/OVMF_CODE.secboot.fd", "auto-read-only": true, "discard": "unmap"}

      ' \
      -blockdev '

      {"node-name": "drive_ovmf_code", "driver": "raw", "read-only": true, "file": "file_ovmf_code"}

      ' \
      -blockdev '

      {"node-name": "file_ovmf_vars", "driver": "file", "filename": "/root/avocado/data/avocado-vt/avocado-vt-vm1_win2022-64-virtio-scsi_qcow2_filesystem_VARS.fd", "auto-read-only": true, "discard": "unmap"}

      ' \
      -blockdev '

      {"node-name": "drive_ovmf_vars", "driver": "raw", "read-only": false, "file": "file_ovmf_vars"}

      ' \
      -machine q35,kernel-irqchip=split,memory-backend=mem-machine_mem,pflash0=drive_ovmf_code,pflash1=drive_ovmf_vars \
      -device '

      {"id": "pcie-root-port-0", "driver": "pcie-root-port", "multifunction": true, "bus": "pcie.0", "addr": "0x1", "chassis": 1}

      ' \
      -device '

      {"id": "pcie-pci-bridge-0", "driver": "pcie-pci-bridge", "addr": "0x0", "bus": "pcie-root-port-0"}

      ' \
      -nodefaults \
      -device '

      {"intremap": "on", "device-iotlb": true, "driver": "intel-iommu"}

      ' \
      -device '

      {"driver": "VGA", "bus": "pcie.0", "addr": "0x2"}

      ' \
      -m 62464 \
      -object '

      {"size": 65498251264, "mem-path": "/mnt/kvm_hugepage", "id": "mem-machine_mem", "qom-type": "memory-backend-file"}

      ' \
      -smp 1,maxcpus=48,cores=48,threads=1,dies=1,sockets=1 \
      -cpu 'Icelake-Server',ds=on,ss=on,dtes64=on,vmx=on,pdcm=on,hypervisor=on,tsc-adjust=on,avx512ifma=on,sha-ni=on,rdpid=on,fsrm=on,md-clear=on,stibp=on,arch-capabilities=on,xsaves=on,ibpb=on,ibrs=on,amd-stibp=on,amd-ssbd=on,rdctl-no=on,ibrs-all=on,skip-l1dfl-vmentry=on,mds-no=on,pschange-mc-no=on,tsx-ctrl=on,hle=off,rtm=off,mpx=off,intel-pt=off,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,kvm_pv_unhalt=on \
      -chardev socket,id=qmp_id_qmpmonitor1,server=on,path=/var/tmp/avocado_stf8vw0k/monitor-qmpmonitor1-20230220-130049-6JtlC9mT,wait=off \
      -mon chardev=qmp_id_qmpmonitor1,mode=control \
      -chardev socket,id=qmp_id_catch_monitor,server=on,path=/var/tmp/avocado_stf8vw0k/monitor-catch_monitor-20230220-130049-6JtlC9mT,wait=off \
      -mon chardev=qmp_id_catch_monitor,mode=control \
      -device '

      {"ioport": 1285, "driver": "pvpanic", "id": "idDCbx2r"}

      ' \
      -chardev socket,id=chardev_serial0,server=on,path=/var/tmp/avocado_stf8vw0k/serial-serial0-20230220-130049-6JtlC9mT,wait=off \
      -device '

      {"id": "serial0", "driver": "isa-serial", "chardev": "chardev_serial0"}

      ' \
      -chardev socket,id=seabioslog_id_20230220-130049-6JtlC9mT,path=/var/tmp/avocado_stf8vw0k/seabios-20230220-130049-6JtlC9mT,server=on,wait=off \
      -device isa-debugcon,chardev=seabioslog_id_20230220-130049-6JtlC9mT,iobase=0x402 \
      -device '

      {"id": "pcie-root-port-1", "port": 1, "driver": "pcie-root-port", "addr": "0x1.0x1", "bus": "pcie.0", "chassis": 2}

      ' \
      -device '

      {"driver": "qemu-xhci", "id": "usb1", "bus": "pcie-root-port-1", "addr": "0x0"}

      ' \
      -device '

      {"driver": "usb-tablet", "id": "usb-tablet1", "bus": "usb1.0", "port": "1"}

      ' \
      -device '

      {"id": "pcie-root-port-2", "port": 2, "driver": "pcie-root-port", "addr": "0x1.0x2", "bus": "pcie.0", "chassis": 3}

      ' \
      -device '

      {"id": "virtio_scsi_pci0", "driver": "virtio-scsi-pci", "bus": "pcie-root-port-2", "addr": "0x0", "iommu_platform": true}

      ' \
      -blockdev '{"node-name": "file_image1", "driver": "file", "auto-read-only": true, "discard": "unmap", "aio": "threads", "filename": "/home/kvm_autotest_root/images/win2022-64-virtio-scsi.qcow2", "cache": {"direct": true, "no-flush": false}}' \
      -blockdev '{"node-name": "drive_image1", "driver": "qcow2", "read-only": false, "cache":

      {"direct": true, "no-flush": false}

      , "file": "file_image1"}' \
      -device '

      {"driver": "scsi-hd", "id": "image1", "drive": "drive_image1", "write-cache": "on"}

      ' \
      -device '

      {"id": "pcie-root-port-3", "port": 3, "driver": "pcie-root-port", "addr": "0x1.0x3", "bus": "pcie.0", "chassis": 4}

      ' \
      -device '

      {"driver": "virtio-net-pci", "mac": "9a:c1:2d:9f:d9:b4", "id": "idU2n9WB", "netdev": "id01VFAQ", "bus": "pcie-root-port-3", "addr": "0x0", "iommu_platform": true}

      ' \
      -netdev tap,id=id01VFAQ,vhost=on \
      -blockdev '{"node-name": "file_cd1", "driver": "file", "auto-read-only": true, "discard": "unmap", "aio": "threads", "filename": "/home/kvm_autotest_root/iso/windows/winutils.iso", "cache": {"direct": true, "no-flush": false}}' \
      -blockdev '{"node-name": "drive_cd1", "driver": "raw", "read-only": true, "cache":

      {"direct": true, "no-flush": false}

      , "file": "file_cd1"}' \
      -device '

      {"driver": "scsi-cd", "id": "cd1", "drive": "drive_cd1", "write-cache": "on"}

      ' \
      -vnc :0 \
      -rtc base=localtime,clock=host,driftfix=slew \
      -boot menu=off,order=cdn,once=c,strict=off \
      -chardev socket,id=char_vtpm_avocado-vt-vm1_tpm0,path=/root/avocado/data/avocado-vt/swtpm/avocado-vt-vm1_tpm0_swtpm.sock \
      -tpmdev emulator,chardev=char_vtpm_avocado-vt-vm1_tpm0,id=emulator_vtpm_avocado-vt-vm1_tpm0 \
      -device '

      {"id": "tpm-crb_vtpm_avocado-vt-vm1_tpm0", "tpmdev": "emulator_vtpm_avocado-vt-vm1_tpm0", "driver": "tpm-crb"}

      ' \
      -enable-kvm \
      -monitor stdio \

              aodaki Akihiko Odaki
              rhn-support-nanliu NaNa Liu
              NaNa Liu
              virt-maint virt-maint
              NaNa Liu NaNa Liu
              Daniel Vozenilek Daniel Vozenilek
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: