]> Git Repo - linux.git/commit - include/uapi/linux/kvm.h
KVM: PPC: booke: Add watchdog emulation
authorBharat Bhushan <[email protected]>
Wed, 8 Aug 2012 20:38:19 +0000 (20:38 +0000)
committerAlexander Graf <[email protected]>
Fri, 5 Oct 2012 21:38:47 +0000 (23:38 +0200)
commitf61c94bb99ca4253ac5dd57750e1af209a4beb7a
tree348d15c584a683cd805ed71ed5c8a81848d24e70
parent7c973a2ebb8fb9c8ee2ae9647f9ad7b0ad58a3e6
KVM: PPC: booke: Add watchdog emulation

This patch adds the watchdog emulation in KVM. The watchdog
emulation is enabled by KVM_ENABLE_CAP(KVM_CAP_PPC_BOOKE_WATCHDOG) ioctl.
The kernel timer are used for watchdog emulation and emulates
h/w watchdog state machine. On watchdog timer expiry, it exit to QEMU
if TCR.WRC is non ZERO. QEMU can reset/shutdown etc depending upon how
it is configured.

Signed-off-by: Liu Yu <[email protected]>
Signed-off-by: Scott Wood <[email protected]>
[[email protected]: reworked patch]
Signed-off-by: Bharat Bhushan <[email protected]>
[agraf: adjust to new request framework]
Signed-off-by: Alexander Graf <[email protected]>
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/include/asm/reg_booke.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/booke.c
arch/powerpc/kvm/booke_emulate.c
arch/powerpc/kvm/powerpc.c
include/linux/kvm.h
include/linux/kvm_host.h
This page took 0.056231 seconds and 4 git commands to generate.