RE: [PATCH 4/4] Enable kvm emulated watchdog

2012-08-02 Thread Bhushan Bharat-R65777
-Original Message- From: Wood Scott-B07421 Sent: Wednesday, August 01, 2012 11:31 PM To: Bhushan Bharat-R65777 Cc: Alexander Graf; qemu-...@nongnu.org List; kvm-ppc@vger.kernel.org; qemu- devel qemu-devel; KVM list Subject: Re: [PATCH 4/4] Enable kvm emulated watchdog On 08/01

Re: [PATCH 4/4] Enable kvm emulated watchdog

2012-08-02 Thread Alexander Graf
-devel; KVM list Subject: Re: [PATCH 4/4] Enable kvm emulated watchdog On 20.07.2012, at 07:23, Bharat Bhushan wrote: 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

Re: [PATCH 4/4] Enable kvm emulated watchdog

2012-08-02 Thread Alexander Graf
-devel; KVM list Subject: Re: [PATCH 4/4] Enable kvm emulated watchdog On 20.07.2012, at 07:23, Bharat Bhushan wrote: 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

Re: [PATCH 4/4] Enable kvm emulated watchdog

2012-08-02 Thread Alexander Graf
@vger.kernel.org; Bhushan Bharat-R65777; qemu-devel qemu-devel; KVM list Subject: Re: [PATCH 4/4] Enable kvm emulated watchdog On 20.07.2012, at 07:23, Bharat Bhushan wrote: @@ -384,6 +437,15 @@ int kvm_arch_init_vcpu(CPUPPCState *cenv) return ret; } +if (enable_watchdog_support

Re: [PATCH 4/4] Enable kvm emulated watchdog

2012-08-02 Thread Scott Wood
; Bhushan Bharat-R65777; qemu-devel qemu-devel; KVM list Subject: Re: [PATCH 4/4] Enable kvm emulated watchdog On 20.07.2012, at 07:23, Bharat Bhushan wrote: @@ -384,6 +437,15 @@ int kvm_arch_init_vcpu(CPUPPCState *cenv) return ret; } +if (enable_watchdog_support

RE: [PATCH 4/4] Enable kvm emulated watchdog

2012-08-02 Thread Bhushan Bharat-R65777
Subject: Re: [PATCH 4/4] Enable kvm emulated watchdog On 08/01/2012 12:27 PM, Bhushan Bharat-R65777 wrote: -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Wednesday, August 01, 2012 7:57 AM To: Bhushan Bharat-R65777 Cc: qemu-...@nongnu.org List; kvm

RE: [PATCH 4/4] Enable kvm emulated watchdog

2012-08-01 Thread Bhushan Bharat-R65777
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Wednesday, August 01, 2012 7:57 AM To: Bhushan Bharat-R65777 Cc: qemu-...@nongnu.org List; kvm-ppc@vger.kernel.org; Bhushan Bharat-R65777; qemu-devel qemu-devel; KVM list Subject: Re: [PATCH 4/4] Enable kvm

RE: [PATCH 4/4] Enable kvm emulated watchdog

2012-08-01 Thread Bhushan Bharat-R65777
-Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Wednesday, August 01, 2012 7:57 AM To: Bhushan Bharat-R65777 Cc: qemu-...@nongnu.org List; kvm-ppc@vger.kernel.org; Bhushan Bharat-R65777; qemu-devel qemu-devel; KVM list Subject: Re: [PATCH 4/4] Enable kvm

Re: [PATCH 4/4] Enable kvm emulated watchdog

2012-08-01 Thread Scott Wood
-devel; KVM list Subject: Re: [PATCH 4/4] Enable kvm emulated watchdog On 20.07.2012, at 07:23, Bharat Bhushan wrote: @@ -384,6 +437,15 @@ int kvm_arch_init_vcpu(CPUPPCState *cenv) return ret; } +if (enable_watchdog_support) { +ret = kvm_watchdog_enable(cenv); Do you

Re: [PATCH 4/4] Enable kvm emulated watchdog

2012-07-31 Thread Alexander Graf
On 20.07.2012, at 07:23, Bharat Bhushan wrote: 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