[PATCH RFC 4/4] arm/arm64: kvm: Disable comparision of cpu and vcpu target
Tushar Jagad
tushar.jagad at linaro.org
Wed Sep 9 01:38:34 PDT 2015
This patch disables comparison of physical cpu and vcpu for supporting
cross cpu guests.
Signed-off-by: Tushar Jagad <tushar.jagad at linaro.org>
---
arch/arm/kvm/arm.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c
index 8907d37..b3214b2 100644
--- a/arch/arm/kvm/arm.c
+++ b/arch/arm/kvm/arm.c
@@ -698,11 +698,6 @@ static int kvm_vcpu_set_target(struct kvm_vcpu *vcpu,
unsigned int i;
u64 aa64dfr;
- int phys_target = kvm_target_cpu();
-
- if (init->target != phys_target)
- return -EINVAL;
-
/*
* Secondary and subsequent calls to KVM_ARM_VCPU_INIT must
* use the same target.
--
1.7.9.5
More information about the linux-arm-kernel
mailing list