qemu-discuss
[Top][All Lists]
Advanced

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

microvm and Virtio-fs (vhost-user-fs-pci)


From: Paul Menzel
Subject: microvm and Virtio-fs (vhost-user-fs-pci)
Date: Mon, 31 May 2021 20:04:15 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2

Dear QEMU folks,


For minimal boot time I would like to use the machine type *microvm* [1]. For an application, we would like to use Virtio-fs [2]. Currently it fails with:

$ sudo qemu-system-x86_64 -enable-kvm -M microvm -cpu host -m 512m -kernel /dev/shm/vmlinuz-5.10.0-7-amd64 -append "root=/dev/sda1 console=ttyS0,115200" -initrd /dev/shm/initrd.img-5.10.0-7-amd64 -nodefaults -no-user-config -nographic -serial stdio -hda debian-sid-64.img -net nic -net user,hostfwd=tcp::22222-:22 -chardev socket,id=char0,path=/run/vm001-vhost-fs.sock -device vhost-user-fs-pci,queue-size=1024,chardev=char0,tag=myfs -object memory-backend-file,id=mem,size=512M,mem-path=/dev/shm,share=on -numa node,memdev=mem

qemu-system-x86_64: -device vhost-user-fs-pci,queue-size=1024,chardev=char0,tag=myfs: No 'PCI' bus found for device 'vhost-user-fs-pci'

*microvm* is a minimalist machine type without PCI nor ACPI support, so that seems to be a problem for `vhost-user-fs-pci`.

Is that a valid usecase, planned for the future?


Kind regards,

Paul


[1]: https://qemu.readthedocs.io/en/latest/system/i386/microvm.html
[2]: https://virtio-fs.gitlab.io/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]