Skip to content

vhost-user: Add and consolidate qdev properties

ConKite qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vhost-user: Consolidate chardev property definitionshw/virtio/vhost-user-base.c hw/virtio/vhost-user-gpio.c hw/virtio/vhost-user-i2c.c +6 more+9 -301 reply
2/2vhost-user: Add memory-isolation qdev propertyhw/block/vhost-user-blk.c hw/display/vhost-user-gpu.c hw/scsi/vhost-user-scsi.c +11 more+15 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchConnor KiteStefan Hajnoczi
1/2R-b
2/2Signed-of-by R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] vhost-user: Add and consolidate qdev properties

[1/2] Consolidate chardev qdev property definitions in the VHostUserBase family of devices. Now, the definition only takes place within VHostUserBase initialization and is inherited by children.

[2/2] In support of future work to add a memory isolation mode to vhost-user devices, a qdev property, "memory-isolation", is added to all vhost-user devices. This is simply a bool representing whether the mode is active or not.

These patches are grouped together as they both touch on qdev properties held in common by all vhost-user devices. Taken together, these patches ensure that commmon properties are defined in the same location and way.

---
ConKite (2):
vhost-user: Consolidate chardev property definitions
vhost-user: Add memory-isolation qdev property to vhost-user devices

 hw/block/vhost-user-blk.c            |  1 +
 hw/display/vhost-user-gpu.c          |  1 +
 hw/scsi/vhost-user-scsi.c            |  1 +
 hw/virtio/vhost-user-base.c          | 10 ++++++++++
 hw/virtio/vhost-user-fs.c            |  1 +
 hw/virtio/vhost-user-gpio.c          |  4 ----
 hw/virtio/vhost-user-i2c.c           |  5 -----
 hw/virtio/vhost-user-input.c         |  5 -----
 hw/virtio/vhost-user-rng.c           |  5 -----
 hw/virtio/vhost-user-rtc.c           |  4 ----
 hw/virtio/vhost-user-scmi.c          |  1 +
 hw/virtio/vhost-user-snd.c           |  1 -
 hw/virtio/vhost-user-spi.c           |  5 -----
 hw/virtio/vhost-user-test-device.c   |  1 -
 hw/virtio/vhost-user-vsock.c         |  1 +
 include/hw/virtio/vhost-user-base.h  |  1 +
 include/hw/virtio/vhost-user-blk.h   |  1 +
 include/hw/virtio/vhost-user-fs.h    |  1 +
 include/hw/virtio/vhost-user-scmi.h  |  1 +
 include/hw/virtio/vhost-user-vsock.h |  1 +
 include/hw/virtio/virtio-gpu.h       |  1 +
 include/hw/virtio/virtio-scsi.h      |  1 +
 22 files changed, 23 insertions(+), 30 deletions(-)
Signature · 1 line
2.43.0