[PATCH v3 0/3] virtio: remove unnecessary host_features in ->get_features()

Stefan Hajnoczi posted 3 patches 1 year, 5 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20221121154833.1914768-1-stefanha@redhat.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Amit Shah <amit@kernel.org>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Jason Wang <jasowang@redhat.com>, Fam Zheng <fam@euphon.net>, David Hildenbrand <david@redhat.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, "Cédric Le Goater" <clg@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>
There is a newer version of this series
include/hw/virtio/virtio.h  | 7 +++++++
hw/block/virtio-blk.c       | 3 ---
hw/char/virtio-serial-bus.c | 1 -
hw/net/virtio-net.c         | 3 ---
hw/scsi/vhost-scsi-common.c | 3 ---
hw/scsi/virtio-scsi.c       | 4 ----
hw/virtio/virtio-balloon.c  | 2 --
target/ppc/cpu_init.c       | 2 ++
target/ppc/excp_helper.c    | 2 ++
9 files changed, 11 insertions(+), 16 deletions(-)
[PATCH v3 0/3] virtio: remove unnecessary host_features in ->get_features()
Posted by Stefan Hajnoczi 1 year, 5 months ago
v3:
- Use an informal comment instead of a full doc comment [Cornelia]
v2:
- Document vdv->get_features() callback [Cornelia]

The vdc->get_features() callbacks are a little inconsistent in how they use
vdev->host_features. This is because the function's behavior changed over time.
Clean things up.

Stefan Hajnoczi (2):
  virtio: document ->host_features usage in vdc->get_features() callback
  virtio: remove unnecessary host_features in ->get_features()

Vaibhav Jain (1):
  target/ppc: Fix build warnings when building with 'disable-tcg'

 include/hw/virtio/virtio.h  | 7 +++++++
 hw/block/virtio-blk.c       | 3 ---
 hw/char/virtio-serial-bus.c | 1 -
 hw/net/virtio-net.c         | 3 ---
 hw/scsi/vhost-scsi-common.c | 3 ---
 hw/scsi/virtio-scsi.c       | 4 ----
 hw/virtio/virtio-balloon.c  | 2 --
 target/ppc/cpu_init.c       | 2 ++
 target/ppc/excp_helper.c    | 2 ++
 9 files changed, 11 insertions(+), 16 deletions(-)

-- 
2.38.1