4ae0fc18a1
Tested with rust-vmm vhost-user-sound daemon:
RUST_LOG=trace cargo run --bin vhost-user-sound -- --socket /tmp/snd.sock --backend null
Invocation:
qemu-system-x86_64 \
-qmp unix:./qmp-sock,server,wait=off \
-m 4096 \
-numa node,memdev=mem \
-object memory-backend-file,id=mem,size=4G,mem-path=/dev/shm,share=on \
-D qemu.log \
-d guest_errors,trace:\*snd\*,trace:\*sound\*,trace:\*vhost\* \
-chardev socket,id=vsnd,path=/tmp/snd.sock \
-device vhost-user-snd-pci,chardev=vsnd,id=snd \
/path/to/disk
[AJB: imported from 54ae1cdd15
.patch]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-Id: <20240104210945.1223134-7-alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
113 lines
1.7 KiB
Plaintext
113 lines
1.7 KiB
Plaintext
config VIRTIO
|
|
bool
|
|
|
|
config VIRTIO_RNG
|
|
bool
|
|
default y
|
|
depends on VIRTIO
|
|
|
|
config VIRTIO_IOMMU
|
|
bool
|
|
default y
|
|
depends on PCI && VIRTIO
|
|
|
|
config VIRTIO_PCI
|
|
bool
|
|
default y if PCI_DEVICES
|
|
depends on PCI
|
|
select VIRTIO
|
|
|
|
config VIRTIO_MMIO
|
|
bool
|
|
select VIRTIO
|
|
|
|
config VIRTIO_CCW
|
|
bool
|
|
select VIRTIO
|
|
|
|
config VIRTIO_BALLOON
|
|
bool
|
|
default y
|
|
depends on VIRTIO
|
|
|
|
config VIRTIO_CRYPTO
|
|
bool
|
|
default y
|
|
depends on VIRTIO
|
|
|
|
config VIRTIO_MD
|
|
bool
|
|
select MEM_DEVICE
|
|
|
|
config VIRTIO_PMEM_SUPPORTED
|
|
bool
|
|
|
|
config VIRTIO_PMEM
|
|
bool
|
|
default y
|
|
depends on VIRTIO
|
|
depends on VIRTIO_PMEM_SUPPORTED
|
|
select VIRTIO_MD
|
|
|
|
config VIRTIO_MEM_SUPPORTED
|
|
bool
|
|
|
|
config VIRTIO_MEM
|
|
bool
|
|
default y
|
|
depends on VIRTIO
|
|
depends on LINUX
|
|
depends on VIRTIO_MEM_SUPPORTED
|
|
select VIRTIO_MD
|
|
|
|
config VHOST_VSOCK_COMMON
|
|
bool
|
|
depends on VIRTIO
|
|
|
|
config VHOST_VSOCK
|
|
bool
|
|
default y
|
|
select VHOST_VSOCK_COMMON
|
|
depends on VIRTIO && VHOST_KERNEL
|
|
|
|
config VHOST_USER_VSOCK
|
|
bool
|
|
default y
|
|
select VHOST_VSOCK_COMMON
|
|
depends on VIRTIO && VHOST_USER
|
|
|
|
config VHOST_USER_I2C
|
|
bool
|
|
default y
|
|
depends on VIRTIO && VHOST_USER
|
|
|
|
config VHOST_USER_RNG
|
|
bool
|
|
default y
|
|
depends on VIRTIO && VHOST_USER
|
|
|
|
config VHOST_USER_FS
|
|
bool
|
|
default y
|
|
depends on VIRTIO && VHOST_USER
|
|
|
|
config VHOST_USER_GPIO
|
|
bool
|
|
default y
|
|
depends on VIRTIO && VHOST_USER
|
|
|
|
config VHOST_VDPA_DEV
|
|
bool
|
|
default y
|
|
depends on VIRTIO && VHOST_VDPA && LINUX
|
|
|
|
config VHOST_USER_SND
|
|
bool
|
|
default y
|
|
depends on VIRTIO && VHOST_USER
|
|
|
|
config VHOST_USER_SCMI
|
|
bool
|
|
default y
|
|
depends on VIRTIO && VHOST_USER
|