From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: [PATCH kvm] kvm_pv_eoi: add flag support for -cpu Date: Mon, 25 Jun 2012 17:48:30 +0300 Message-ID: <20120625144829.GA3168@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm@vger.kernel.org, Anthony Liguori , Andreas =?iso-8859-1?Q?F=E4rber?= , Markus Armbruster , Stefan Hajnoczi To: avi@redhat.com, Marcelo Tosatti Return-path: Received: from mx1.redhat.com ([209.132.183.28]:36504 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755776Ab2FYOrz (ORCPT ); Mon, 25 Jun 2012 10:47:55 -0400 Content-Disposition: inline Sender: kvm-owner@vger.kernel.org List-ID: Support the new PV EOI flag in kvm - it just got merged into kvm.git. Set by default with -cpu kvm. Set for -cpu qemu by adding +kvm_pv_eoi. Clear by adding -kvm_pv_eoi to -cpu option. Signed-off-by: Michael S. Tsirkin --- Note: line is very long but surrounding code seems to do this too in order to make each line include sane # of elements. target-i386/cpuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c index 465ea15..2359836 100644 --- a/target-i386/cpuid.c +++ b/target-i386/cpuid.c @@ -75,7 +75,7 @@ static const char *ext3_feature_name[] = { }; static const char *kvm_feature_name[] = { - "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL, NULL, NULL, + "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock", "kvm_asyncpf", NULL, "kvm_pv_eoi", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, -- MST