qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 3/3 v2] Add a pc-0-10 machine type for compatibi


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 3/3 v2] Add a pc-0-10 machine type for compatibility with 0.10.x
Date: Thu, 09 Jul 2009 08:35:22 -0500
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Gerd Hoffmann wrote:
  Hi,

I'd prefer to not introduce those virtio-$type-pci-$version devices in
the first place. It isn't hard to write up something qdev based. Only
problem is it will depend on lots of not-yet merged qdev patches.

To back that with some code here is a quick patch. Not splitted up yet. Only virtio-blk is handled for demonstration purposes.

Will not apply cleanly as it depends on both posted and not-yet posted patches in my patch queue. Once my qdev properties patch is in it should be easy to rebase to upstream/master though.

It came out looking pretty good.  The literal syntax is new to me:

+    .compat_props = (CompatProperty[]) {
+        {


I assume this is a GCC-ism?

Regards,

Anthony Liguori




reply via email to

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