From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Subject: [PATCH] qemu-kvm Set kvm_features name for kvm_cr3_cache Date: Wed, 17 Feb 2010 18:44:12 +0100 Message-ID: <4B7C2AEC.7090503@redhat.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070009090007000806040300" Cc: KVM General To: Avi Kivity Return-path: Received: from mx1.redhat.com ([209.132.183.28]:4307 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750786Ab0BQRoV (ORCPT ); Wed, 17 Feb 2010 12:44:21 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o1HHiLT0017069 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Feb 2010 12:44:21 -0500 Sender: kvm-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------070009090007000806040300 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, Comparing the features tested for in get_para_features() with the kvm_feature_names in target-i386/helper.c, I noticed that we didn't list the cr3_cache feature in the real name table. I presume this is unintentional so here's a patch to correct it. Cheers, Jes --------------070009090007000806040300 Content-Type: text/plain; name="0000-kvm_cr3_catch-name.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0000-kvm_cr3_catch-name.patch" commit 39cb576d15a6ffbbcade3c4f282c2f3e76e3098a Author: Jes Sorensen Date: Wed Feb 17 18:03:37 2010 +0100 Add kvm_cr3_cache to the list of KVM features. This is to match the features automatically added by target-i386/kvm.c:get_para_features() Signed-off-by: Jes Sorensen diff --git a/target-i386/helper.c b/target-i386/helper.c index f9d63f6..2cd3dca 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -61,7 +61,8 @@ static const char *ext3_feature_name[] = { }; static const char *kvm_feature_name[] = { - "kvmclock", "kvm_nopiodelay", "kvm_mmu", NULL, NULL, NULL, NULL, NULL, + "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvm_cr3_cache", + 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, NULL, NULL, NULL, --------------070009090007000806040300--