From: Eduardo Habkost <ehabkost@redhat.com>
To: qemu-devel@nongnu.org
Cc: kvm@vger.kernel.org, "Gleb Natapov" <gleb@redhat.com>,
"Marcelo Tosatti" <mtosatti@redhat.com>,
"Avi Kivity" <avi@redhat.com>,
"Igor Mammedov" <imammedo@redhat.com>,
"Andreas Färber" <afaerber@suse.de>
Subject: Re: [PATCH 00/15] QEMU KVM_GET_SUPPORTED_CPUID cleanups and fixes
Date: Wed, 24 Oct 2012 15:54:09 -0200 [thread overview]
Message-ID: <20121024175409.GA8231@otherpad.lan.raisama.net> (raw)
In-Reply-To: <1349383747-19383-1-git-send-email-ehabkost@redhat.com>
Has anybody looked at this series?
Avi, Marcelo?
On Thu, Oct 04, 2012 at 05:48:52PM -0300, Eduardo Habkost wrote:
> Most of this series are just cleanups that will help when making -cpu
> check/enforce work properly, with some fixes.
>
> In addition to code movements, the main changes are:
> - x2apic won't be enabled if in-kernel irqchip is disabled
> (patch 10)
> - CPUID feature bit filtering is done much earlier, and inside target-i386/cpu.c
> (patch 13)
> - CPUID leaf 7 feature bits are now filterd based on GET_SUPPORTED_CPUID too
> (patch 15)
>
> Eduardo Habkost (15):
> i386: kvm: kvm_arch_get_supported_cpuid: move R_EDX hack outside of
> for loop
> i386: kvm: kvm_arch_get_supported_cpuid: clean up has_kvm_features
> check
> i386: kvm: kvm_arch_get_supported_cpuid: use 'entry' variable
> i386: kvm: extract register switch to cpuid_entry_get_reg() function
> i386: kvm: extract CPUID entry lookup to cpuid_find_entry() function
> i386: kvm: extract try_get_cpuid() loop to get_supported_cpuid()
> function
> i386: kvm: kvm_arch_get_supported_cpuid: replace if+switch with
> single 'if'
> i386: kvm: set CPUID_EXT_HYPERVISOR on kvm_arch_get_supported_cpuid()
> i386: kvm: set CPUID_EXT_TSC_DEADLINE_TIMER on
> kvm_arch_get_supported_cpuid()
> i386: kvm: x2apic is not supported without in-kernel irqchip
> i386: kvm: mask cpuid_kvm_features earlier
> i386: kvm: mask cpuid_ext4_features bits earlier
> i386: kvm: filter CPUID feature words earlier, on cpu.c
> i386: kvm: reformat filter_features_for_kvm() code
> i386: kvm: filter CPUID leaf 7 based on GET_SUPPORTED_CPUID, too
>
> kvm.h | 1 +
> target-i386/cpu.c | 30 +++++++++++
> target-i386/kvm.c | 153 ++++++++++++++++++++++++++++++++----------------------
> 3 files changed, 122 insertions(+), 62 deletions(-)
>
> --
> 1.7.11.4
>
>
--
Eduardo
next prev parent reply other threads:[~2012-10-24 17:54 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-04 20:48 [PATCH 00/15] QEMU KVM_GET_SUPPORTED_CPUID cleanups and fixes Eduardo Habkost
2012-10-04 20:48 ` [PATCH 01/15] i386: kvm: kvm_arch_get_supported_cpuid: move R_EDX hack outside of for loop Eduardo Habkost
2012-10-04 20:48 ` [PATCH 02/15] i386: kvm: kvm_arch_get_supported_cpuid: clean up has_kvm_features check Eduardo Habkost
2012-10-04 20:48 ` [PATCH 03/15] i386: kvm: kvm_arch_get_supported_cpuid: use 'entry' variable Eduardo Habkost
2012-10-04 20:48 ` [PATCH 04/15] i386: kvm: extract register switch to cpuid_entry_get_reg() function Eduardo Habkost
2012-10-04 20:48 ` [PATCH 05/15] i386: kvm: extract CPUID entry lookup to cpuid_find_entry() function Eduardo Habkost
2012-10-04 20:48 ` [PATCH 06/15] i386: kvm: extract try_get_cpuid() loop to get_supported_cpuid() function Eduardo Habkost
2012-10-04 20:48 ` [PATCH 07/15] i386: kvm: kvm_arch_get_supported_cpuid: replace if+switch with single 'if' Eduardo Habkost
2012-10-04 20:49 ` [PATCH 08/15] i386: kvm: set CPUID_EXT_HYPERVISOR on kvm_arch_get_supported_cpuid() Eduardo Habkost
2012-10-04 20:49 ` [PATCH 09/15] i386: kvm: set CPUID_EXT_TSC_DEADLINE_TIMER " Eduardo Habkost
2012-10-04 20:49 ` [PATCH 10/15] i386: kvm: x2apic is not supported without in-kernel irqchip Eduardo Habkost
2012-10-04 20:49 ` [PATCH 11/15] i386: kvm: mask cpuid_kvm_features earlier Eduardo Habkost
2012-10-04 20:49 ` [PATCH 12/15] i386: kvm: mask cpuid_ext4_features bits earlier Eduardo Habkost
2012-10-04 20:49 ` [PATCH 13/15] i386: kvm: filter CPUID feature words earlier, on cpu.c Eduardo Habkost
2012-10-04 20:49 ` [PATCH 14/15] i386: kvm: reformat filter_features_for_kvm() code Eduardo Habkost
2012-10-04 20:49 ` [PATCH 15/15] i386: kvm: filter CPUID leaf 7 based on GET_SUPPORTED_CPUID, too Eduardo Habkost
2012-10-24 17:54 ` Eduardo Habkost [this message]
2012-10-26 19:37 ` [PATCH 00/15] QEMU KVM_GET_SUPPORTED_CPUID cleanups and fixes Marcelo Tosatti
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121024175409.GA8231@otherpad.lan.raisama.net \
--to=ehabkost@redhat.com \
--cc=afaerber@suse.de \
--cc=avi@redhat.com \
--cc=gleb@redhat.com \
--cc=imammedo@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.