|
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 15:00:29 +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 12:48, Mark McLoughlin wrote:
Add a pc-0-10 machine type to allow a pc machine to be created with virtio block and console devices compatibility with qemu-0.10.x.
+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.
Maybe better add a global '-compat' switch and a global compat enum where every driver can just look at?
Another question: Is migrating from 0.11 in 0.10-compat mode to 0.10 supposed to work? If so we make virtio-net better turn off msi then.
cheers, Gerd
[Prev in Thread] | Current Thread | [Next in Thread] |