All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] virtio: remove unnecessary host_features in ->get_features()
@ 2022-08-03 17:36 Stefan Hajnoczi
  2022-08-03 17:36 ` [PATCH v2 1/2] virtio: document vdc->get_features() callback Stefan Hajnoczi
  2022-08-03 17:36 ` [PATCH v2 2/2] virtio: remove unnecessary host_features in ->get_features() Stefan Hajnoczi
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2022-08-03 17:36 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-block, Kevin Wolf, Fam Zheng, Amit Shah, Laurent Vivier,
	Hanna Reitz, Michael S . Tsirkin, Stefan Hajnoczi,
	Marc-André Lureau, Jason Wang, Paolo Bonzini,
	David Hildenbrand

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 vdc->get_features() callback
  virtio: remove unnecessary host_features in ->get_features()

 include/hw/virtio/virtio.h  | 20 ++++++++++++++++++++
 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 --
 7 files changed, 20 insertions(+), 16 deletions(-)

-- 
2.37.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-04 10:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-03 17:36 [PATCH v2 0/2] virtio: remove unnecessary host_features in ->get_features() Stefan Hajnoczi
2022-08-03 17:36 ` [PATCH v2 1/2] virtio: document vdc->get_features() callback Stefan Hajnoczi
2022-08-04 10:14   ` Cornelia Huck
2022-08-03 17:36 ` [PATCH v2 2/2] virtio: remove unnecessary host_features in ->get_features() Stefan Hajnoczi
2022-08-04 10:14   ` Cornelia Huck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.