aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2015-07-17 17:02:18 +0100
committerWill Deacon <will.deacon@arm.com>2015-07-20 18:25:48 +0100
commit1c40b18c9bfa1d520df9a24d8d9e2832a47b3b8a (patch)
treedfb59cc38db188814ca4fd49fc906d05fb1bc072
parent8f22adc4230f07980a318ad1662fba5af0c131c1 (diff)
downloadkvmtool-1c40b18c9bfa1d520df9a24d8d9e2832a47b3b8a.tar.gz
remove KVM_CAP_MAX_VCPUS hack
As we now have the header file in our repository, we can safely follow the recommendation in kvm.c and remove the hack adding the KVM_CAP_MAX_VCPUS macro. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r--kvm.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/kvm.c b/kvm.c
index 78dd7c02..10ed2300 100644
--- a/kvm.c
+++ b/kvm.c
@@ -232,14 +232,6 @@ int kvm__recommended_cpus(struct kvm *kvm)
return ret;
}
-/*
- * The following hack should be removed once 'x86: Raise the hard
- * VCPU count limit' makes it's way into the mainline.
- */
-#ifndef KVM_CAP_MAX_VCPUS
-#define KVM_CAP_MAX_VCPUS 66
-#endif
-
int kvm__max_cpus(struct kvm *kvm)
{
int ret;