qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH/RFC 0/2] update-linux-headers.sh and virtio
@ 2015-02-12 13:08 Jens Freimann
  2015-02-12 13:08 ` [Qemu-devel] [PATCH 1/2] update-linux-headers.sh: also grap virtio_types.h Jens Freimann
  2015-02-12 13:08 ` [Qemu-devel] [PATCH 2/2] virtio: remove QEMU definition of VIRTIO_TRANSPORT_F_START/_END Jens Freimann
  0 siblings, 2 replies; 6+ messages in thread
From: Jens Freimann @ 2015-02-12 13:08 UTC (permalink / raw)
  To: Michael S. Tsirkin, Paolo Bonzini; +Cc: Jens Freimann, qemu-devel

Hi,

currently when sync'ing linux-headers against kvm/next, qemu/master won't build
because of two problems:

1. virtio_types.h needs to be copied to QEMU linux-headers, as it is now included by virtio_ring.h
   Patch 2 adds virtio_types.h two update-linux-headers.sh.

2. VIRTIO_TRANSPORT_F_END has changed in the kernel. We have this define twice
in QEMU, once in include/hw/virtio/virtio.h and then in linux-headers/linux/virtio_config.h
It changed in the kernel and now we have two different values after a header sync.

Can we get rid of the duplicate define for VIRTIO_TRANSPORT_F_START/_END in QEMU? We still
have it in the kernel headers.


Jens Freimann (2):
  update-linux-headers.sh: also grap virtio_types.h
  virtio: remove QEMU definition of VIRTIO_TRANSPORT_F_START/_END

 include/hw/virtio/virtio.h      | 5 -----
 scripts/update-linux-headers.sh | 2 +-
 2 files changed, 1 insertion(+), 6 deletions(-)

-- 
2.1.4

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

end of thread, other threads:[~2015-02-19 10:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-12 13:08 [Qemu-devel] [PATCH/RFC 0/2] update-linux-headers.sh and virtio Jens Freimann
2015-02-12 13:08 ` [Qemu-devel] [PATCH 1/2] update-linux-headers.sh: also grap virtio_types.h Jens Freimann
2015-02-12 13:08 ` [Qemu-devel] [PATCH 2/2] virtio: remove QEMU definition of VIRTIO_TRANSPORT_F_START/_END Jens Freimann
2015-02-12 14:41   ` Peter Maydell
2015-02-12 14:53     ` Jens Freimann
2015-02-19 10:07       ` Cornelia Huck

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