All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] arm{,64}/kvm: survive unknown traps from guests
@ 2017-02-20 12:30 ` Mark Rutland
  0 siblings, 0 replies; 18+ messages in thread
From: Mark Rutland @ 2017-02-20 12:30 UTC (permalink / raw)
  To: kvmarm; +Cc: marc.zyngier, linux-arm-kernel, dave.martin

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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-03-07  7:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-20 12:30 [PATCH 0/2] arm{,64}/kvm: survive unknown traps from guests Mark Rutland
2017-02-20 12:30 ` Mark Rutland
2017-02-20 12:30 ` [PATCH 1/2] arm/kvm: " Mark Rutland
2017-02-20 12:30   ` Mark Rutland
2017-03-06 15:08   ` Christoffer Dall
2017-03-06 15:08     ` Christoffer Dall
2017-03-06 17:33     ` Mark Rutland
2017-03-06 17:33       ` Mark Rutland
2017-03-07  7:54       ` Marc Zyngier
2017-03-07  7:54         ` Marc Zyngier
2017-02-20 12:30 ` [PATCH 2/2] arm64/kvm: " Mark Rutland
2017-02-20 12:30   ` Mark Rutland
2017-02-20 13:48   ` Suzuki K Poulose
2017-02-20 13:48     ` Suzuki K Poulose
2017-02-20 14:01     ` Mark Rutland
2017-02-20 14:01       ` Mark Rutland
2017-03-06 15:08   ` Christoffer Dall
2017-03-06 15:08     ` Christoffer Dall

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.