From: Rusty Russell <rusty.russell@linaro.org>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
kvmarm@lists.cs.columbia.edu, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] target-arm: kvm: use KVM_SET_SREGS to set target to Cortex A15
Date: Wed, 25 Jul 2012 15:47:33 +0930 [thread overview]
Message-ID: <87394gpdoi.fsf@rustcorp.com.au> (raw)
In-Reply-To: <CAFEAcA8yR2JE0NGNon-hxL6fBbhuG6nfijLj9pSyY9a=HADWvQ@mail.gmail.com>
On Tue, 17 Jul 2012 19:19:16 +0100, Peter Maydell <peter.maydell@linaro.org> wrote:
> So I can't see anything better than "complain and return failure
> from kvm_arch_init_vcpu() if the guest CPU isn't going to work".
OK, here's what I have for kvm. It matches the kernel patches I just
sent out, with the updated API.
I rewrote all the backwards compat stuff to wrap it in #ifdef
HORRIBLE_COMPAT_HACK, but something subtle broke and it no longer set
cpsr correctly for older kernels. After wasting an afternoon on it, I
gave up and threw out the backwards compat code in digust.
Nor does it bisect, since we update the headers as you asked, then
update the code.
The following changes since commit 94d477a4017d45222a4a0227857ad9fc3f81fb2d:
Merge upstream master into qemu-linaro (2012-07-16 15:04:16 +0100)
are available in the git repository at:
git://git.linaro.org/people/rusty/qemu-linaro.git msr-ops
for you to fetch changes up to caf1e8a68ceb6ffd485e96d2f05102b095dd69bd:
target-arm: kvm: use KVM_GET_MSRS/KVM_SET_MSRS for CP15 registers. (2012-07-25 15:37:44 +0930)
----------------------------------------------------------------
Rusty Russell (3):
Local update of linux-headers/asm-arm/kvm.h
target-arm: kvm: use KVM_ARM_VCPU_INIT to set target to Cortex A15
target-arm: kvm: use KVM_GET_MSRS/KVM_SET_MSRS for CP15 registers.
linux-headers/asm-arm/kvm.h | 50 +++++++++++++++++++++++++++++-------
linux-headers/linux/kvm.h | 3 +++
target-arm/kvm.c | 60 +++++++++++++++++++++++++++++++++----------
3 files changed, 91 insertions(+), 22 deletions(-)
next prev parent reply other threads:[~2012-07-25 6:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-13 3:37 [Qemu-devel] [PATCH] target-arm: kvm: use KVM_SET_SREGS to set target to Cortex A15 Rusty Russell
2012-07-13 3:43 ` [Qemu-devel] [PATCH 2/3] target-arm: kvm: use KVM_GET_MSRS/KVM_SET_MSRS for CP15 registers Rusty Russell
2012-07-13 14:27 ` Blue Swirl
2012-07-13 3:43 ` [Qemu-devel] [PATCH 3/3] target-arm: kvm: remove old kernel support Rusty Russell
2012-07-13 8:06 ` [Qemu-devel] [PATCH] target-arm: kvm: use KVM_SET_SREGS to set target to Cortex A15 Peter Maydell
2012-07-16 7:22 ` Rusty Russell
2012-07-13 10:06 ` [Qemu-devel] [kvmarm] " Alexander Graf
2012-07-16 7:19 ` Rusty Russell
2012-07-16 8:08 ` Alexander Graf
2012-07-16 8:09 ` Avi Kivity
2012-07-17 17:31 ` [Qemu-devel] " Peter Maydell
2012-07-17 18:19 ` Peter Maydell
2012-07-25 6:17 ` Rusty Russell [this message]
2012-07-25 15:04 ` Peter Maydell
2012-07-31 21:52 ` [Qemu-devel] [kvmarm] " Antonios Motakis
2012-08-01 1:53 ` Rusty Russell
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=87394gpdoi.fsf@rustcorp.com.au \
--to=rusty.russell@linaro.org \
--cc=aliguori@us.ibm.com \
--cc=kvmarm@lists.cs.columbia.edu \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.