qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCHv2-RFC 0/2] qemu: properties for feature compatibility
@ 2009-12-21 15:26 Michael S. Tsirkin
  0 siblings, 0 replies; only message in thread
From: Michael S. Tsirkin @ 2009-12-21 15:26 UTC (permalink / raw)
  To: qemu-devel, Anthony Liguori, kraxel

Here's what I came up with for solving the problem of differences in
features in virtio between 0.12 and 0.11.  This also enables migration
between different backends, e.g.  between host where tap supports virtio
net header and where it does not: management just needs to set features
appropriately.

Changes since RFC:
- add symbolic names for properties
- only optional features can be changed
Comments? Gerd, what do you think?



Michael S. Tsirkin (2):
  qdev: add bit property type
  virtio: add features as qdev properties

 hw/qdev-properties.c |   70 +++++++++++++++++++++++++++++++++++++++++++++-----
 hw/qdev.h            |    9 ++++++
 hw/syborg_virtio.c   |   12 +++++---
 hw/virtio-balloon.c  |    4 +-
 hw/virtio-blk.c      |   10 ++-----
 hw/virtio-blk.h      |   10 +++++++
 hw/virtio-console.c  |    4 +-
 hw/virtio-net.c      |   39 +++++++++++----------------
 hw/virtio-net.h      |   20 ++++++++++++++
 hw/virtio-pci.c      |   25 ++++++++++++-----
 hw/virtio.c          |    2 +-
 hw/virtio.h          |    7 ++++-
 12 files changed, 156 insertions(+), 56 deletions(-)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-21 15:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-21 15:26 [Qemu-devel] [PATCHv2-RFC 0/2] qemu: properties for feature compatibility 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).