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

Philippe Mathieu-Daudé posted 3 patches 5 years, 3 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201105124353.3680057-1-philmd@redhat.com
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
[PATCH-for-6.0 0/3] hw/virtio: Allow to disable legacy VIRTIO
Posted by Philippe Mathieu-Daudé 5 years, 3 months ago
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


Re: [PATCH-for-6.0 0/3] hw/virtio: Allow to disable legacy VIRTIO
Posted by Philippe Mathieu-Daudé 5 years, 3 months ago
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.