qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND v3 0/2] virtio: remove unnecessary host_features in ->get_features()
@ 2022-11-21 15:50 Stefan Hajnoczi
  2022-11-21 15:50 ` [PATCH RESEND v3 1/2] virtio: document ->host_features usage in vdc->get_features() callback Stefan Hajnoczi
  2022-11-21 15:50 ` [PATCH RESEND v3 2/2] virtio: remove unnecessary host_features in ->get_features() Stefan Hajnoczi
  0 siblings, 2 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2022-11-21 15:50 UTC (permalink / raw)
  To: qemu-devel
  Cc: Laurent Vivier, Cédric Le Goater, David Gibson, Hanna Reitz,
	qemu-block, Michael S. Tsirkin, qemu-ppc, Stefan Hajnoczi,
	Fam Zheng, Paolo Bonzini, Daniel Henrique Barboza, Greg Kurz,
	Alex Bennée, Marc-André Lureau, Jason Wang, Amit Shah,
	Kevin Wolf, David Hildenbrand

v3 (resend):
- On top of master instead of the qemu.git/staging tree :)
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()

 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 --
 7 files changed, 7 insertions(+), 16 deletions(-)

-- 
2.38.1



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

end of thread, other threads:[~2022-12-20 23:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-21 15:50 [PATCH RESEND v3 0/2] virtio: remove unnecessary host_features in ->get_features() Stefan Hajnoczi
2022-11-21 15:50 ` [PATCH RESEND v3 1/2] virtio: document ->host_features usage in vdc->get_features() callback Stefan Hajnoczi
2022-11-21 16:11   ` Cornelia Huck
2022-11-21 15:50 ` [PATCH RESEND v3 2/2] virtio: remove unnecessary host_features in ->get_features() Stefan Hajnoczi
2022-11-21 16:12   ` Cornelia Huck
2022-12-20 23:08   ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).