]> git.proxmox.com Git - mirror_qemu.git/commit - target/ppc/kvm.c
Enable kvm emulated watchdog
authorBharat Bhushan <r65777@freescale.com>
Sun, 24 Feb 2013 18:16:21 +0000 (18:16 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 26 Apr 2013 21:02:40 +0000 (23:02 +0200)
commit31f2cb8ff415e376b05335dcf63ba38c00f29e5e
tree56fe9b3f648cf03ecbf736530305302e1b3fe090
parentcae7f586419ad261f55ef8700bf8f3fa5b4879d4
Enable kvm emulated watchdog

Enable the KVM emulated watchdog if KVM supports (use the
capability enablement in watchdog handler). Also watchdog exit
(KVM_EXIT_WATCHDOG) handling is added.
Watchdog state machine is cleared whenever VM state changes to running.
This is to handle the cases like return from debug halt etc.

Signed-off-by: Bharat Bhushan <bharat.bhushan@freescale.com>
[agraf: rebase to current code base, fix non-kvm cases]
Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc/ppc_booke.c
target-ppc/kvm.c
target-ppc/kvm_ppc.h