diff options
author | Andre Przywara <andre.przywara@arm.com> | 2015-07-17 17:02:18 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-07-20 18:25:48 +0100 |
commit | 1c40b18c9bfa1d520df9a24d8d9e2832a47b3b8a (patch) | |
tree | dfb59cc38db188814ca4fd49fc906d05fb1bc072 | |
parent | 8f22adc4230f07980a318ad1662fba5af0c131c1 (diff) | |
download | kvmtool-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.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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; |