mbox series

[PATCH-for-6.0,0/3] hw/virtio: Allow to disable legacy VIRTIO

Message ID 20201105124353.3680057-1-philmd@redhat.com
Headers show
Series hw/virtio: Allow to disable legacy VIRTIO | expand

Message

Philippe Mathieu-Daudé Nov. 5, 2020, 12:43 p.m. UTC
Stefan told me it would help the multi-process QEMU
series if virtio devices where not arch-specific.
As it didn't seem too complex, I gave it a try.

Philippe Mathieu-Daudé (3):
  hw/virtio: Add configure switch to disable legacy VIRTIO
  hw/virtio: Build most of virtio devices as arch-independent objects
  gitlab-ci: Test the --disable-virtio-legacy option

 configure                         | 10 ++++++++++
 meson.build                       |  1 +
 include/hw/virtio/virtio-access.h | 19 +++++--------------
 hw/virtio/virtio-legacy.c         | 29 +++++++++++++++++++++++++++++
 .gitlab-ci.yml                    |  1 +
 hw/9pfs/meson.build               |  2 +-
 hw/block/dataplane/meson.build    |  2 +-
 hw/block/meson.build              |  2 +-
 hw/char/meson.build               |  2 +-
 hw/net/meson.build                |  2 +-
 hw/scsi/meson.build               |  2 +-
 hw/virtio/meson.build             | 14 +++++++++-----
 12 files changed, 61 insertions(+), 25 deletions(-)
 create mode 100644 hw/virtio/virtio-legacy.c

-- 
2.26.2

Comments

Philippe Mathieu-Daudé Nov. 5, 2020, 2:12 p.m. UTC | #1
On 11/5/20 1:43 PM, Philippe Mathieu-Daudé wrote:
> Stefan told me it would help the multi-process QEMU

> series if virtio devices where not arch-specific.

> As it didn't seem too complex, I gave it a try.

> 

> Philippe Mathieu-Daudé (3):

>   hw/virtio: Add configure switch to disable legacy VIRTIO

>   hw/virtio: Build most of virtio devices as arch-independent objects

>   gitlab-ci: Test the --disable-virtio-legacy option


Please disregard this series, as it requires more work.