[Question] [Block] Is there a way to control the read caching of a block device?

2024-09-03 Thread DUO Labs
I know that the `cache` parameter for `-drive` controls the caching behavior when writing from the guest to the host, but is there a way to control the reading behavior host->guest? Currently, on HEAD, if I open a file on both the guest and host, and write some data to the drive on the (macOS)

Creating a vhost-user-vsock backend

2024-08-23 Thread DUO Labs
I've been studying the example given in `contrib/vhost-user-blk`, and trying to match the code to what is in the standard (https://docs.oasis-open.org/virtio/virtio/v1.3/csd01/virtio-v1.3-csd01.html#x1-3050002), so I can use the code to create my own vhost-user-vsock server. I think I almost u

Exposing Mac Host Internal Microphone to Guests

2022-11-30 Thread DUO Labs
Is there any documentation on creating a new microphone/camera that can be exposed to the guest? I'm thinking of writing one to support MacOS hosts, but I don't know where to start. I see that there's something called QOM, but I'm not sure how to use it.