yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
9ae3a8
From 7a204d6f5d8286fe56f91236aa72c26ec367d39b Mon Sep 17 00:00:00 2001
9ae3a8
From: Andrew Jones <drjones@redhat.com>
9ae3a8
Date: Tue, 24 Sep 2013 13:08:53 +0200
9ae3a8
Subject: [PATCH 04/11] target-i386: add feature kvm_pv_unhalt
9ae3a8
MIME-Version: 1.0
9ae3a8
Content-Type: text/plain; charset=UTF-8
9ae3a8
Content-Transfer-Encoding: 8bit
9ae3a8
9ae3a8
RH-Author: Andrew Jones <drjones@redhat.com>
9ae3a8
Message-id: <1380028133-15578-3-git-send-email-drjones@redhat.com>
9ae3a8
Patchwork-id: 54525
9ae3a8
O-Subject: [RHEL7.0 qemu-kvm PATCH 2/2] target-i386: add feature kvm_pv_unhalt
9ae3a8
Bugzilla: 1008987
9ae3a8
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
9ae3a8
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
9ae3a8
RH-Acked-by: Radim Krcmar <rkrcmar@redhat.com>
9ae3a8
9ae3a8
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1008987
9ae3a8
9ae3a8
(cherry picked from commit f010bc643a2759e87e989c3e4e85f15ec71ae98f
9ae3a8
 of uq/master)
9ae3a8
9ae3a8
===
9ae3a8
9ae3a8
I don't know yet if want this feature on by default, so for now I'm
9ae3a8
just adding support for "-cpu ...,+kvm_pv_unhalt".
9ae3a8
9ae3a8
Signed-off-by: Andrew Jones <drjones@redhat.com>
9ae3a8
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
9ae3a8
Reviewed-by: Andreas Färber <afaerber@suse.de>
9ae3a8
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
9ae3a8
---
9ae3a8
 target-i386/cpu.c | 2 +-
9ae3a8
 1 file changed, 1 insertion(+), 1 deletion(-)
9ae3a8
9ae3a8
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
---
9ae3a8
 target-i386/cpu.c |    2 +-
9ae3a8
 1 files changed, 1 insertions(+), 1 deletions(-)
9ae3a8
9ae3a8
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
9ae3a8
index 051ab39..a0358c0 100644
9ae3a8
--- a/target-i386/cpu.c
9ae3a8
+++ b/target-i386/cpu.c
9ae3a8
@@ -125,7 +125,7 @@ static const char *ext4_feature_name[] = {
9ae3a8
 
9ae3a8
 static const char *kvm_feature_name[] = {
9ae3a8
     "kvmclock", "kvm_nopiodelay", "kvm_mmu", "kvmclock",
9ae3a8
-    "kvm_asyncpf", "kvm_steal_time", "kvm_pv_eoi", NULL,
9ae3a8
+    "kvm_asyncpf", "kvm_steal_time", "kvm_pv_eoi", "kvm_pv_unhalt",
9ae3a8
     NULL, NULL, NULL, NULL,
9ae3a8
     NULL, NULL, NULL, NULL,
9ae3a8
     NULL, NULL, NULL, NULL,
9ae3a8
-- 
9ae3a8
1.7.1
9ae3a8