cryptospore / rpms / qemu-kvm

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