summary refs log tree commit diff stats
path: root/kvm-stub.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-08-13 09:25:48 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-08-13 09:25:48 -0500
commitd517872ec289f5bfa6bd9f385a90e09483e9949c (patch)
treeda187195eaa2e0c9c6102f5afa3435d4ab1ffd3f /kvm-stub.c
parent33e95c6328a3149a52615176617997c4f8f7088b (diff)
parent96fda35ac477e954eee989d6a3ae9e686cc361d6 (diff)
downloadfocaccia-qemu-d517872ec289f5bfa6bd9f385a90e09483e9949c.tar.gz
focaccia-qemu-d517872ec289f5bfa6bd9f385a90e09483e9949c.zip
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
* qemu-kvm/uq/master:
  kvm: Add documentation comment for kvm_irqchip_in_kernel()
  kvm: Decouple 'GSI routing' from 'kernel irqchip'
  kvm: Decouple 'MSI routing via irqfds' from 'kernel irqchip'
  kvm: Decouple 'irqfds usable' from 'kernel irqchip'
  kvm: Move kvm_allows_irq0_override() to target-i386, fix return type
  kvm: Rename kvm_irqchip_set_irq() to kvm_set_irq()
  kvm: Decouple 'async interrupt delivery' from 'kernel irqchip'
  configure: Don't implicitly hardcode list of KVM architectures
  kvm: Check if smp_cpus exceeds max cpus supported by kvm
Diffstat (limited to 'kvm-stub.c')
-rw-r--r--kvm-stub.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/kvm-stub.c b/kvm-stub.c
index d23b11c020..94c9ea15b0 100644
--- a/kvm-stub.c
+++ b/kvm-stub.c
@@ -19,6 +19,10 @@
 
 KVMState *kvm_state;
 bool kvm_kernel_irqchip;
+bool kvm_async_interrupts_allowed;
+bool kvm_irqfds_allowed;
+bool kvm_msi_via_irqfd_allowed;
+bool kvm_gsi_routing_allowed;
 
 int kvm_init_vcpu(CPUArchState *env)
 {
@@ -71,11 +75,6 @@ int kvm_has_many_ioeventfds(void)
     return 0;
 }
 
-int kvm_allows_irq0_override(void)
-{
-    return 1;
-}
-
 int kvm_has_pit_state2(void)
 {
     return 0;