On Mon, 06 Jan 2014 21:53:50 -0800 "H. Peter Anvin" <h...@zytor.com> wrote:
> On 03/25/2013 01:56 PM, Eduardo Habkost wrote: > > > >> > >> It needs to be possible to fix bugs.... > > > > It is possible to fix them today: just write a compat function or add a > > global variable that is handled by cpu_x86_init(), and call it from the > > pc-1.3 machine-type init function. See disable_kvm_pv_eoi() and > > enable_compat_apic_id_mode(), for example. > > > > The difference is that this will be much easier once we introduce the > > static properties: then you just need to add the compat property values > > to the compat_props field on the machine-type struct. > > > > Hi guys, > > Any movement on this in the past year? currently, it's possible to use compat properties for fixing 'model' field, see f8e6a11aecc9 "target-i386: Set model=6 on qemu64 & qemu32 CPU models" as an example. As for using compat properties for feature bits, we are getting closer to it, there is a discussion on how to proceed with feature bits conversion that will allow it. http://lists.nongnu.org/archive/html/qemu-devel/2013-12/msg02707.html > > -hpa > > -- Regards, Igor