mbox series

[0/2] hw/virtio: Extract QMP QOM-specific functions to virtio-qmp.c

Message ID 20221222080005.27616-1-philmd@linaro.org
Headers show
Series hw/virtio: Extract QMP QOM-specific functions to virtio-qmp.c | expand

Message

Philippe Mathieu-Daudé Dec. 22, 2022, 8 a.m. UTC
Move more QMP code from virtio.c, as suggested by Jonah while
reviewing "hw/virtio: Split ioconfig / qmp code from virtio.c"
(https://lore.kernel.org/qemu-devel/20221213111707.34921-1-philmd@linaro.org/).

Philippe Mathieu-Daudé (2):
  hw/virtio: Rename virtio_device_find() -> qmp_find_virtio_device()
  hw/virtio: Extract QMP QOM-specific functions to virtio-qmp.c

 hw/virtio/virtio-qmp.c | 192 +++++++++++++++++++++++++++++++++++++++-
 hw/virtio/virtio-qmp.h |   9 ++
 hw/virtio/virtio.c     | 195 +----------------------------------------
 3 files changed, 203 insertions(+), 193 deletions(-)