[PATCH 21/30] KVM: PPC: make e500v2 and e500mc mutually exclusive

Alexander Graf agraf at suse.de
Sat Feb 18 10:27:34 EST 2012


On 17.02.2012, at 23:32, Tabi Timur-B04825 wrote:

> On Fri, Feb 17, 2012 at 10:56 AM, Alexander Graf <agraf at suse.de> wrote:
> 
>>  config KVM_E500MC
>>        bool "KVM support for PowerPC E500MC/E5500 processors"
>> -       depends on EXPERIMENTAL && PPC_E500MC
>> +       depends on EXPERIMENTAL && PPC_E500MC && !KVM_E500V2
> 
> There was a patch floating around that made a similar change to the
> platform support, so that you could either build an e500v2 kernel and
> enable support only for e500v2 board, or you could build an e500mc
> kernel and enable support only for e500mc boards.  Last I heard, the
> patch wasn't quite working, but that was a while ago.
> 
> Is there a connection between this patch and that one?

No, and the code paths are quite orthogonal. While today it's impossible to build a kernel that can drive e500v2 and e500mc systems, it might be possible one day. That still doesn't buy us KVM compatibility between the two though. And vice versa. We could improve the KVM code to actually be versatile between the two platforms, but then you still couldn't run the same kernel on both ;).


Alex



More information about the Linuxppc-dev mailing list