qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH ppc-next v2] target-ppc: Make host CPU a subclas


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH ppc-next v2] target-ppc: Make host CPU a subclass of the host's CPU model
Date: Mon, 25 Feb 2013 14:24:12 +0100

On 23.02.2013, at 22:22, Andreas Färber wrote:

> This avoids assigning individual class fields and contributors
> forgetting to add field assignments in KVM-only code.
> 
> ppc_cpu_class_find_by_pvr() requires the CPU model classes to be
> registered, so defer host CPU type registration to kvm_arch_init().
> 
> Only register the host CPU type if there is a class with matching PVR.
> This lets us drop error handling from instance_init.
> 
> Signed-off-by: Andreas Färber <address@hidden>

Thanks, applied to ppc-next.


Alex




reply via email to

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