KVM guest - kernel panic when running from P9 share root
Posted: 2019-07-03 03:32
Hello,
I am trying to boot a Linux guest on the KVM host and guest root file system is outside of guest on the host and passed through into the guest via P9 share as described at:
https://serverfault.com/questions/67364 ... t-and-qemu
QEMU Arguments in AQEMU:
Screenshot:
https://ibin.co/4mbruKyIIoAl.jpg
I tried to change guest kernels, but it does not help.
Please suggest, what shall be tried for a fix?
I am trying to boot a Linux guest on the KVM host and guest root file system is outside of guest on the host and passed through into the guest via P9 share as described at:
https://serverfault.com/questions/67364 ... t-and-qemu
QEMU Arguments in AQEMU:
Code: Select all
/usr/bin/qemu-system-x86_64 \
-monitor stdio \
-k en-us \
-machine accel=kvm \
-m 1024 \
-cdrom /download/sysresccd-5.2.0_zfs_0.7.9.iso \
-virtfs local,id=shared_folder_dev_0,path=/mnt/ascii64,security_model=none,mount_tag=shared0 \
-boot once=d,menu=off \
-net nic,vlan=0,model=e1000 \
-net user,vlan=0 \
-kernel /boot/vmlinuz-4.9.0-9-amd64 \
-initrd /boot/initrd.img-4.9.0-9-amd64 \
-append root=root9p rw rootfstype=9p rootflags=trans=virtio vga=0x31b \
-rtc base=utc \
-name "Brave" \
-fsdev local,id=root9p,path=/mnt/ascii64,security_model=mapped \
-device virtio-9p-pci,fsdev=root9p,mount_tag=root9p
https://ibin.co/4mbruKyIIoAl.jpg
I tried to change guest kernels, but it does not help.
Please suggest, what shall be tried for a fix?