[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/5] virtio: cleanup layout assumptions

From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH 0/5] virtio: cleanup layout assumptions
Date: Thu, 18 Mar 2010 09:21:25 +0200
User-agent: Mutt/1.5.19 (2009-01-05)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]