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: Gerd Hoffmann
Subject: Re: [Qemu-devel] [PATCH 3/3 v2] Add a pc-0-10 machine type for compatibility with 0.10.x
Date: Wed, 08 Jul 2009 16:09:25 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2

On 07/08/09 15:44, Anthony Liguori wrote:
Gerd Hoffmann wrote:
+enum {
+ COMPAT_DEFAULT = 0,
+ COMPAT_0_10, /* compatible with qemu 0.10.x */
+};

Hmm. Just digged in the virtio blk code. Noticed some ppc machines
have virtio block devices too. So linking it to a machine type looks
wrong to me.

No, it's right. A machine type is nothing more than a default device
tree.

Plain "-M pc" has no virtio blk device.

So basically, if we had device config files, it would look like:

/usr/share/qemu/configs/pc-0-10.dts
/usr/share/qemu/configs/pc-0-11.dts
/usr/share/qemu/configs/pc -> /usr/share/qemu/configs/pc-0-11.dts

Doesn't work.  Your virtio blk device isn't in there.

cheers,
  Gerd




reply via email to

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