[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] target-i386: enable x2apic by default on more r
From: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH] target-i386: enable x2apic by default on more recent CPU models |
Date: |
Tue, 21 Jan 2014 12:06:55 -0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jan 21, 2014 at 11:03:15AM +0100, Paolo Bonzini wrote:
> Il 20/01/2014 23:13, Andreas Färber ha scritto:
> > I don't like the argument that we can put arbitrary stuff in our model
> > definitions and rely on TCG not having implemented it to make it
> > correct. Is x2apic something that TCG can never implement for some
> > reason? Then that needs a better explanation. Otherwise, is there no
> > criteria we can add this flag for when kvm_enabled()?
>
> We already do that for other bits (e.g. XSAVE/OSXSAVE), and in fact it
> is the same that we do for KVM: the KVM_GET_SUPPORTED_CPUID result is
> used to trim the generic feature bits.
The only difference is that the "check" and "enforce" flags won't work
in TCG mode. But I plan to change this soon.
--
Eduardo