qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] virtio: cleanup layout assumptions
@ 2010-03-18  7:21 Michael S. Tsirkin
  2010-03-18  7:21 ` [Qemu-devel] [PATCH 1/5] virtio: add type safe API Michael S. Tsirkin
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Michael S. Tsirkin @ 2010-03-18  7:21 UTC (permalink / raw)
  To: quintela, qemu-devel

This patchset helps remove the assumption that vdev must be the 1st
member in any virtio device implementation. Other assumptions (made by
qdev) can be removed in a similar way separately, this patchset does not
do this yet.
Juan, this is an alternative to your 'tell virtio about DO_UPCAST'
patch, pls take a look.

Michael S. Tsirkin (5):
  virtio: add type safe API
  virtio-net: remove layout assumptions
  virtio-serial: remove struct layout assumptions
  virtio-balloon: remove layout assumptions
  virtio-blk: remove layout assumption

 hw/virtio-balloon.c    |    9 ++++-----
 hw/virtio-blk.c        |    8 ++++----
 hw/virtio-net.c        |   10 +++++-----
 hw/virtio-serial-bus.c |   14 +++++++-------
 hw/virtio.c            |    5 +++--
 hw/virtio.h            |    9 ++++++++-
 6 files changed, 31 insertions(+), 24 deletions(-)

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

end of thread, other threads:[~2010-03-18  9:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18  7:21 [Qemu-devel] [PATCH 0/5] virtio: cleanup layout assumptions Michael S. Tsirkin
2010-03-18  7:21 ` [Qemu-devel] [PATCH 1/5] virtio: add type safe API Michael S. Tsirkin
2010-03-18  7:21 ` [Qemu-devel] [PATCH 2/5] virtio-net: remove layout assumptions Michael S. Tsirkin
2010-03-18  7:21 ` [Qemu-devel] [PATCH 3/5] virtio-serial: remove struct " Michael S. Tsirkin
2010-03-18  7:21 ` [Qemu-devel] [PATCH 4/5] virtio-balloon: remove " Michael S. Tsirkin
2010-03-18  7:21 ` [Qemu-devel] [PATCH 5/5] virtio-blk: remove layout assumption Michael S. Tsirkin
2010-03-18  8:23 ` [Qemu-devel] Re: [PATCH 0/5] virtio: cleanup layout assumptions Juan Quintela
2010-03-18  9:26   ` 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).