diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2011-01-21 21:48:17 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2011-01-23 02:27:22 -0200 |
commit | 94a8d39afd8ccfdbf578af04c3385fdb5f545af1 (patch) | |
tree | 0271405cd56c03f2a7578169e4682e731d4f80ab /target-ppc | |
parent | cad1e2827b616487e3574300f2eaeea13a355197 (diff) | |
download | qemu-94a8d39afd8ccfdbf578af04c3385fdb5f545af1.tar.gz qemu-94a8d39afd8ccfdbf578af04c3385fdb5f545af1.tar.bz2 qemu-94a8d39afd8ccfdbf578af04c3385fdb5f545af1.zip |
kvm: Consolidate must-have capability checks
Instead of splattering the code with #ifdefs and runtime checks for
capabilities we cannot work without anyway, provide central test
infrastructure for verifying their availability both at build and
runtime.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'target-ppc')
-rw-r--r-- | target-ppc/kvm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-ppc/kvm.c b/target-ppc/kvm.c index 3c05630fb9..710eca1dca 100644 --- a/target-ppc/kvm.c +++ b/target-ppc/kvm.c @@ -37,6 +37,10 @@ do { } while (0) #endif +const KVMCapabilityInfo kvm_arch_required_capabilities[] = { + KVM_CAP_LAST_INFO +}; + static int cap_interrupt_unset = false; static int cap_interrupt_level = false; |