Re: KVM Kernel 5.6+, BUG: stack guard page was hit at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2020-04-27 07:12, Suravee Suthikulpanit wrote:
Boris,

Would you mind sharing your QEMU command line and how to set up the VM?
I would like to double check to confirm that this is not specific to
running on Intel system.

Thanks,
Suravee

This is minimal example.
When windows starts loading after cca 3 seconds crash happens 100% of the time. This also happens with Linux guests and also sometimes in TianoCore Settings/BIOS or whatever it is. Also if I'm in TianoCore settings and I write "quit" in qemu monitor there is always crash.

--
#!/bin/bash

export QEMU_AUDIO_DRV=pa

NETDEV=""
NETDEV+=" -netdev tap,id=net0,ifname=tap0,script=no,downscript=no,vhost=on -device virtio-net-pci,netdev=net0,mac=00:16:3e:79:dc:ed"

OTHEROPT=""

# GPU + HDMI
OTHEROPT+=" -device vfio-pci,host=03:00.0"
OTHEROPT+=" -device vfio-pci,host=03:00.1"

# ASMedia SATA
OTHEROPT+=" -device vfio-pci,host=0c:00.0"

VGADEV="-vga none"

# Keyboard
OTHEROPT+=" -object input-linux,id=kbd01,evdev=/dev/input/by-id/usb-046a_0023-event-kbd,grab_all=on,repeat=on"
# Mouse
OTHEROPT+=" -object input-linux,id=mouse01,evdev=/dev/input/by-id/usb-Logitech_USB_Laser_Mouse-event-mouse"

qemu-system-x86_64 -name "Windows 8.1" -uuid 14bb2c04-110b-444e-85b7-1ad5d1744df4 \
-cpu host,kvm=off,hv_vendor_id=asustek --enable-kvm \
-m 32G -mem-path /dev/hugepages -mem-prealloc \
-smp 8,sockets=1,cores=8,threads=1 \
-machine pc-q35-4.1,kernel_irqchip=on \
-monitor stdio -rtc clock=host,base=localtime \
$NETDEV \
-drive if=pflash,format=raw,readonly,file=OVMF_CODE-pure-efi.fd \
-drive if=pflash,format=raw,file=OVMF_VARS-pure-efi.fd \
-serial none \
-parallel none \
$OTHEROPT \
-audiodev id=pa,driver=pa \
-soundhw hda \
$VGADEV

--



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux