qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v1 0/3]  virtio: early detect 'modern' virtio
@ 2021-10-28 22:00 Halil Pasic
  2021-10-28 22:00 ` [RFC PATCH v1 1/3] virtio: introduce virtio_force_modern() Halil Pasic
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Halil Pasic @ 2021-10-28 22:00 UTC (permalink / raw)
  To: Michael S. Tsirkin, Cornelia Huck, Halil Pasic, qemu-s390x, qemu-devel
  Cc: Christian Borntraeger, Thomas Huth, Richard Henderson, David Hildenbrand

This is an early RFC for a transport specific early detecton of
modern virtio, which is most relevant for transitional devices on big
endian platforms, when drivers access the config space before
FEATURES_OK is set.

The most important part that is missing here is fixing the problems that
arrise in the situation described in the previous paragraph, when the
config is managed by a vhost device (and thus outside QEMU).

This series was only lightly tested. 

Halil Pasic (3):
  virtio: introduce virtio_force_modern()
  virtio-ccw: use virtio_force_modern
  virtio-pci: use virtio_force_modern()

 hw/s390x/virtio-ccw.c      |  3 +++
 hw/virtio/virtio-pci.c     |  1 +
 hw/virtio/virtio.c         | 12 ++++++++++++
 include/hw/virtio/virtio.h |  1 +
 4 files changed, 17 insertions(+)


base-commit: 2c3e83f92d93fbab071b8a96b8ab769b01902475
-- 
2.25.1



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

end of thread, other threads:[~2021-11-12 16:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-28 22:00 [RFC PATCH v1 0/3] virtio: early detect 'modern' virtio Halil Pasic
2021-10-28 22:00 ` [RFC PATCH v1 1/3] virtio: introduce virtio_force_modern() Halil Pasic
2021-10-29 14:53   ` Cornelia Huck
2021-11-12 15:42     ` Halil Pasic
2021-11-12 15:55       ` Cornelia Huck
2021-11-12 16:36         ` Halil Pasic
2021-10-28 22:00 ` [RFC PATCH v1 2/3] virtio-ccw: use virtio_force_modern Halil Pasic
2021-10-28 22:00 ` [RFC PATCH v1 3/3] virtio-pci: use virtio_force_modern() Halil Pasic
2021-11-05  7:42 ` [RFC PATCH v1 0/3] virtio: early detect 'modern' virtio Michael S. Tsirkin
2021-11-09 10:12   ` Halil Pasic

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).