render / rpms / qemu

Forked from rpms/qemu 10 months ago
Clone

Blame 0001-kvm-Enable-use-of-kvm_irqchip_in_kernel-in-hwlib-cod.patch

0552ca
From bbf3b80401d55ac3339160cefa17f0015317f512 Mon Sep 17 00:00:00 2001
0552ca
From: Jan Kiszka <jan.kiszka@siemens.com>
0552ca
Date: Thu, 17 May 2012 10:32:37 -0300
0552ca
Subject: [PATCH] kvm: Enable use of kvm_irqchip_in_kernel in hwlib code
0552ca
0552ca
Provide a dummy kvm_kernel_irqchip so that kvm_irqchip_in_kernel can be
0552ca
used by code that is not under CONFIG_KVM protection.
0552ca
0552ca
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
0552ca
Signed-off-by: Avi Kivity <avi@redhat.com>
0552ca
---
0552ca
 kvm-stub.c |    1 +
0552ca
 1 file changed, 1 insertion(+)
0552ca
0552ca
diff --git a/kvm-stub.c b/kvm-stub.c
0552ca
index b4cf03f..ec9a364 100644
0552ca
--- a/kvm-stub.c
0552ca
+++ b/kvm-stub.c
0552ca
@@ -18,6 +18,7 @@
0552ca
 #include "kvm.h"
0552ca
 
0552ca
 KVMState *kvm_state;
0552ca
+bool kvm_kernel_irqchip;
0552ca
 
0552ca
 int kvm_init_vcpu(CPUArchState *env)
0552ca
 {
0552ca
-- 
0552ca
1.7.10.4
0552ca