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-s390x/kvm.c | |
parent | cad1e2827b616487e3574300f2eaeea13a355197 (diff) | |
download | qemu-94a8d39afd8ccfdbf578af04c3385fdb5f545af1.zip qemu-94a8d39afd8ccfdbf578af04c3385fdb5f545af1.tar.gz qemu-94a8d39afd8ccfdbf578af04c3385fdb5f545af1.tar.bz2 |
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-s390x/kvm.c')
-rw-r--r-- | target-s390x/kvm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index b177e10..38823f5 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -70,6 +70,10 @@ #define SCLP_CMDW_READ_SCP_INFO 0x00020001 #define SCLP_CMDW_READ_SCP_INFO_FORCED 0x00120001 +const KVMCapabilityInfo kvm_arch_required_capabilities[] = { + KVM_CAP_LAST_INFO +}; + int kvm_arch_init(KVMState *s) { return 0; |