All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH kvmtool 0/4] Update virtio headers (to fix build)
@ 2022-05-24 15:06 ` Andre Przywara
  0 siblings, 0 replies; 12+ messages in thread
From: Andre Przywara @ 2022-05-24 15:06 UTC (permalink / raw)
  To: Will Deacon, Julien Thierry; +Cc: Alexandru Elisei, kvm, kvmarm, Keir Fraser

Since we implement some virtio devices in kvmtool, we were including
older copies of some virtio UAPI header files in our tree, but were
relying on some other headers to be provided by the distribution.
This leads to problems when we need to use newer virtio features (like
the recent virtio_balloon stat update), which breaks compilation on some
(older) distros.

To fix this and avoid similar problems in the future, just copy in the
virtio UAPI headers from the kernel tree, as we do already for the
actual KVM interface headers. To simplify future syncs, also update our
update_headers.sh script on the way.

Please have a look!

Cheers,
Andre

Andre Przywara (4):
  update virtio_mmio.h
  util: include virtio UAPI headers in sync
  include: update virtio UAPI headers
  include: add new virtio uapi header files

 include/linux/virtio_9p.h      |  44 ++++++
 include/linux/virtio_balloon.h | 119 ++++++++++++++++
 include/linux/virtio_blk.h     | 203 +++++++++++++++++++++++++++
 include/linux/virtio_config.h  | 101 ++++++++++++++
 include/linux/virtio_console.h |  78 +++++++++++
 include/linux/virtio_ids.h     |  63 +++++++--
 include/linux/virtio_mmio.h    |  55 +++++++-
 include/linux/virtio_net.h     | 200 +++++++++++++++++++++++----
 include/linux/virtio_pci.h     | 208 ++++++++++++++++++++++++++++
 include/linux/virtio_ring.h    | 244 +++++++++++++++++++++++++++++++++
 include/linux/virtio_rng.h     |   8 ++
 include/linux/virtio_scsi.h    | 118 ++++++++--------
 include/linux/virtio_vsock.h   |  16 ++-
 util/update_headers.sh         |  10 ++
 virtio/mmio.c                  |   8 +-
 15 files changed, 1372 insertions(+), 103 deletions(-)
 create mode 100644 include/linux/virtio_9p.h
 create mode 100644 include/linux/virtio_balloon.h
 create mode 100644 include/linux/virtio_blk.h
 create mode 100644 include/linux/virtio_config.h
 create mode 100644 include/linux/virtio_console.h
 create mode 100644 include/linux/virtio_pci.h
 create mode 100644 include/linux/virtio_ring.h
 create mode 100644 include/linux/virtio_rng.h

-- 
2.25.1


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

end of thread, other threads:[~2022-05-26  9:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 15:06 [PATCH kvmtool 0/4] Update virtio headers (to fix build) Andre Przywara
2022-05-24 15:06 ` Andre Przywara
2022-05-24 15:06 ` [PATCH kvmtool 1/4] update virtio_mmio.h Andre Przywara
2022-05-24 15:06   ` Andre Przywara
2022-05-24 15:06 ` [PATCH kvmtool 2/4] util: include virtio UAPI headers in sync Andre Przywara
2022-05-24 15:06   ` Andre Przywara
2022-05-24 15:06 ` [PATCH kvmtool 3/4] include: update virtio UAPI headers Andre Przywara
2022-05-24 15:06   ` Andre Przywara
2022-05-24 15:06 ` [PATCH kvmtool 4/4] include: add new virtio uapi header files Andre Przywara
2022-05-24 15:06   ` Andre Przywara
2022-05-26  9:17 ` [PATCH kvmtool 0/4] Update virtio headers (to fix build) Will Deacon
2022-05-26  9:17   ` Will Deacon

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.