qemu-block
[Top][All Lists]
Advanced

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

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


From: Paul Menzel
Subject: Re: microvm and Virtio-fs (vhost-user-fs-pci)
Date: Tue, 1 Jun 2021 08:55:19 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2

Dear Philippe,


Am 01.06.21 um 05:25 schrieb Philippe Mathieu-Daudé:

On 5/31/21 8:04 PM, Paul Menzel wrote:

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`.

Have you tried with the plain 'vhost-user-fs-device' model instead?

No, I did not, I didn’t know it existed. Using `vhost-user-fs-device` instead of `vhost-user-fs-pci` got it going. Thank you very much.


Kind regards,

Paul



reply via email to

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