From: Tushar Jagad <tushar.jagad@linaro.org>
To: linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu
Cc: peter.maydell@linaro.org, marc.zyngier@arm.com, patches@apm.com,
qemu-devel@nongnu.org, tushar.jagad@linaro.org,
christoffer.dall@linaro.org
Subject: [Qemu-devel] [PATCH RFC 4/4] arm/arm64: kvm: Disable comparision of cpu and vcpu target
Date: Wed, 9 Sep 2015 14:08:34 +0530 [thread overview]
Message-ID: <1441787914-3191-5-git-send-email-tushar.jagad@linaro.org> (raw)
In-Reply-To: <1441787914-3191-1-git-send-email-tushar.jagad@linaro.org>
This patch disables comparison of physical cpu and vcpu for supporting
cross cpu guests.
Signed-off-by: Tushar Jagad <tushar.jagad@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
prev parent reply other threads:[~2015-09-09 8:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-09 8:38 [Qemu-devel] [PATCH RFC 0/4] arm64: cross cpu support Tushar Jagad
2015-09-09 8:38 ` [Qemu-devel] [PATCH RFC 1/4] arm64: KVM: add MIDR_EL1 switching Tushar Jagad
2015-09-09 8:38 ` [Qemu-devel] [PATCH RFC 2/4] arm64: kvm: enable trapping of read access to regs in TID3 group Tushar Jagad
2015-09-15 4:23 ` Shannon Zhao
2015-09-15 7:18 ` Tushar Jagad
2015-09-15 7:51 ` Shannon Zhao
2015-09-09 8:38 ` [Qemu-devel] [PATCH RFC 3/4] arm64: kvm: Setup MIDR as per target vcpu Tushar Jagad
2015-09-09 8:38 ` Tushar Jagad [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1441787914-3191-5-git-send-email-tushar.jagad@linaro.org \
--to=tushar.jagad@linaro.org \
--cc=christoffer.dall@linaro.org \
--cc=kvmarm@lists.cs.columbia.edu \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=marc.zyngier@arm.com \
--cc=patches@apm.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).