From: mark.rutland@arm.com (Mark Rutland)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] arm{,64}/kvm: survive unknown traps from guests
Date: Mon, 20 Feb 2017 12:30:10 +0000 [thread overview]
Message-ID: <1487593812-9174-1-git-send-email-mark.rutland@arm.com> (raw)
As future versions of the architecture add trappable functionality, it is
possible that KVM guests may be able to trigger exceptions that KVM doesn't
currently understand. Currently, we will BUG() if we take such an exception.
While we can't handle such traps very gracefully, we should limit any fallout
to the guest, rather than allowing guests to potentially bring down the host.
These patches try to make arm/arm64 KVM robust in these cases.
Thanks,
Mark.
Mark Rutland (2):
arm/kvm: survive unknown traps from guests
arm64/kvm: survive unknown traps from guests
arch/arm/include/asm/kvm_arm.h | 1 +
arch/arm/kvm/handle_exit.c | 19 ++++++++++++-------
arch/arm64/kvm/handle_exit.c | 19 ++++++++++++-------
3 files changed, 25 insertions(+), 14 deletions(-)
--
1.9.1
next reply other threads:[~2017-02-20 12:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-20 12:30 Mark Rutland [this message]
2017-02-20 12:30 ` [PATCH 1/2] arm/kvm: survive unknown traps from guests Mark Rutland
2017-03-06 15:08 ` Christoffer Dall
2017-03-06 17:33 ` Mark Rutland
2017-03-07 7:54 ` Marc Zyngier
2017-02-20 12:30 ` [PATCH 2/2] arm64/kvm: " Mark Rutland
2017-02-20 13:48 ` Suzuki K Poulose
2017-02-20 14:01 ` Mark Rutland
2017-03-06 15:08 ` Christoffer Dall
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=1487593812-9174-1-git-send-email-mark.rutland@arm.com \
--to=mark.rutland@arm.com \
--cc=linux-arm-kernel@lists.infradead.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).