Control: tag -1 + confirmed pending

09.08.2021 15:27, Hiroaki Mizuguchi wrote:
Package: qemu-system-x86
Version: 1:5.2+dfsg-11
Severity: wishlist

Dear Maintainer,

qemu-system-x86_64-mircovm binary has no virtio device emulation.
I want to use device emulations on qemu-system-x86_64-microvm,
   virtconsole
   virtio-blk-device
   virtio-net-device
   virtio-balloon-device
   virtio-rng-device

$ qemu-system-x86_64 -device ? |grep virtio | grep -v pci

A side note: please use "-device help" instead of "-device ?" as
you do, since "?" is subject to shell glob expansion and will
surprize you if your current directory will contain a file with
length of the name = 1.

Another side note: you can grep for virtio-bus instead of using
2 grep commands.

...

$ qemu-system-x86_64-microvm -device ? |grep virtio | grep -v pci
name "vhost-user-fs-device", bus virtio-bus
name "virtio-serial-device", bus virtio-bus
name "vhost-user-vsock-device", bus virtio-bus
name "vhost-vsock-device", bus virtio-bus

Yes. This was due to the way how we built the microvm binary.
It is the --without-default-devices configure option -- and as
stated in the configure help text, this option needs another,
--with-devices-foo=bar - to include actual list of devices we
need. And we didn't provide this list..

I reworked this part of the build procedure now and way more
virtio devices will be available in the next upload.

Thank you for the bugreport!

/mjt

Reply via email to