qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: [kvm-devel] expose host CPU features to guests


From: Paul Brook
Subject: Re: [Qemu-devel] Re: [kvm-devel] expose host CPU features to guests
Date: Thu, 6 Sep 2007 01:30:02 +0100
User-agent: KMail/1.9.7

> > I think qemu-cvs has a -cpu option for non-x86 which could be used for
> > this.  Agree machine types are the wrong approach.
>
> Yep, machine types are already used to switch between a different concept
> so using  the new -cpu option would make sense. Could perhaps extend the
> syntax so that instead of '-cpu TYPE' it used '-cpu TYPE,FEATURES' where
> FEATURES was an optional list of CPU features to allow

I tried this for ARM, and having separate type+features isn't worth the 
effort. The internal implementation is feature based, but IMHO there's little 
benefit exposing that to the user. Just define appropriate CPUs for the 
interesting feature combinations.

Of course the x86 emulation doesn't currently support restricting the 
architecture features available.  To make the --cpu option useful you need to 
implement that first.

Paul




reply via email to

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