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

[Win10.x86_64] Win10 64 bit guest gets stuck while booting sometimes.

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Undefined Undefined
    • None
    • rhel-9.2.0
    • virtio-win / others
    • None
    • Important
    • rhel-sst-virtualization-windows
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:
      Win10 64 bit guest gets stuck while booting sometimes.

      Version-Release number of selected component (if applicable):
      Host:
      5.14.0-277.el9.x86_64
      qemu-kvm-7.2.0-10.el9.x86_64
      edk2-ovmf-20221207gitfff6d81270b5-7.el9.noarch
      Model name: Intel(R) Xeon(R) Gold 6414TDX
      Guest: ovmf windows 10.x86_64

      How reproducible: 1/6

      Steps to Reproduce:
      1. Boot a win 10 vm, full qemu command [1]
      2. repeat step 1
      3.

      Actual results:
      Win10 guest gets stuck sometims. And can recover it by system_reset

      Expected results:
      Win10 won't get stuck while booting up.

      Additional info:
      [1]
      MALLOC_PERTURB_=1 /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": "/home/kar/workspace/root/avocado/data/avocado-vt/avocado-vt-vm1_win10-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,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 '

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

      ' \
      -m 62464 \
      -object '

      {"size": 65498251264, "id": "mem-machine_mem", "qom-type": "memory-backend-ram"}

      ' \
      -smp 64,maxcpus=64,cores=32,threads=1,dies=1,sockets=2 \
      -cpu 'Icelake-Server-noTSX',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 \
      -chardev socket,wait=off,id=qmp_id_qmpmonitor1,path=/var/tmp/avocado_4wkp6ukn/monitor-qmpmonitor1-20230226-101530-guM6M4yY,server=on \
      -mon chardev=qmp_id_qmpmonitor1,mode=control \
      -chardev socket,wait=off,id=qmp_id_catch_monitor,path=/var/tmp/avocado_4wkp6ukn/monitor-catch_monitor-20230226-101530-guM6M4yY,server=on \
      -mon chardev=qmp_id_catch_monitor,mode=control \
      -device '

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

      ' \
      -chardev socket,wait=off,id=chardev_serial0,path=/var/tmp/avocado_4wkp6ukn/serial-serial0-20230226-101530-guM6M4yY,server=on \
      -device '

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

      ' \
      -chardev socket,id=seabioslog_id_20230226-101530-guM6M4yY,path=/var/tmp/avocado_4wkp6ukn/seabios-20230226-101530-guM6M4yY,server=on,wait=off \
      -device isa-debugcon,chardev=seabioslog_id_20230226-101530-guM6M4yY,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"}

      ' \
      -blockdev '{"node-name": "file_image1", "driver": "file", "auto-read-only": true, "discard": "unmap", "aio": "threads", "filename": "/home/kvm_autotest_root/images/win10-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:d3:b3:70:4e:9d", "id": "idvhykOE", "netdev": "idLXXOSd", "bus": "pcie-root-port-3", "addr": "0x0"}

      ' \
      -netdev tap,id=idLXXOSd,vhost=on,vhostfd=16,fd=12 \
      -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=/home/kar/workspace/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 \

              yvugenfi@redhat.com Yan Vugenfirer
              rhn-support-nanliu NaNa Liu
              Meirav Dean Meirav Dean
              Yiqian Wei Yiqian Wei
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: