[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] spapr: Cleanup machine naming conventions, and
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [PATCH] spapr: Cleanup machine naming conventions, and prepare for 2.2 release |
Date: |
Mon, 08 Sep 2014 13:39:37 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 |
On 08.09.14 07:30, David Gibson wrote:
> As of qemu-2.1, spapr/pseries, has a set of versioned machine classes to
> represent the machine type as it appeared to the guest in different qemu
> versions. This allows for safe migration of guests between current and
> future qemu versions.
>
> However, these are organized a bit differently from those for PC: on PC,
> the default plain "pc" machine type is just an alias for the most recent
> versioned machine type. In sPAPR, it names the base machine class from
> which the versioned types are derived.
>
> The PC approach is preferable; it makes it clearer which explicit version
> is the current one. Additionally updating the "current" machine as the
> base class makes it even more likely than otherwise to incorrectly alter
> the versioned machines' behaviour when updating the current machine.
>
> Therefore this patch changes sPAPR to the PC approach - the base class
> becomes abstract, and plain "pseries" becomes an alias for the most
> recent versioned machine class. Since qemu-2.1 is now released, we also
> create a new pseries-2.2 machine type, to incorporate changes during this
> development cycle (for now it is identical to pseries-2.1).
>
> Signed-off-by: David Gibson <address@hidden>
Thanks, applied to ppc-next.
Alex