[PATCH 4/4] Enable kvm emulated watchdog

2012-07-19 Thread Bharat Bhushan
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. Signe

[PATCH 2/4] Registered timer reset handler

2012-07-19 Thread Bharat Bhushan
Reset qemu timers when guest reset. Signed-off-by: Bharat Bhushan --- hw/ppc_booke.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/hw/ppc_booke.c b/hw/ppc_booke.c index d51e7fa..837a5b6 100644 --- a/hw/ppc_booke.c +++ b/hw/ppc_booke.c @@ -231,6 +231,16 @@ v

[PATCH 3/4] Updated linux header for watchdog emulation

2012-07-19 Thread Bharat Bhushan
The follow up patch will use these defines. Signed-off-by: Bharat Bhushan --- linux-headers/linux/kvm.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index 4b9e575..25c788c 100644 --- a/linux-headers/linux/kvm.h ++

[PATCH 1/4] Synchronize the linux-headers

2012-07-19 Thread Bharat Bhushan
From: Bharat Bhushan Qemu and KVM linux/kvm.h were not in sync. Signed-off-by: Bharat Bhushan --- linux-headers/linux/kvm.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/linux-headers/linux/kvm.h b/linux-headers/linux/kvm.h index 5a9d4e3..4b9e575 100644 --- a/linux

RE: [PATCH 2/2] KVM: PPC: booke: Add watchdog emulation

2012-07-19 Thread Bhushan Bharat-R65777
Please ignore this as I forget to get [v5] is subject.. Thanks -Bharat > -Original Message- > From: Bhushan Bharat-R65777 > Sent: Friday, July 20, 2012 10:29 AM > To: kvm-ppc@vger.kernel.org; k...@vger.kernel.org; ag...@suse.de > Cc: Bhushan Bharat-R65777 > Subject: [PATCH 2/2] KVM: PPC:

[PATCH 2/2 v5] KVM: PPC: booke: Add watchdog emulation

2012-07-19 Thread Bharat Bhushan
This patch adds the watchdog emulation in KVM. The watchdog emulation is enabled by KVM_ENABLE_CAP(KVM_CAP_PPC_WDT) 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/shutd

[PATCH 2/2] KVM: PPC: booke: Add watchdog emulation

2012-07-19 Thread Bharat Bhushan
This patch adds the watchdog emulation in KVM. The watchdog emulation is enabled by KVM_ENABLE_CAP(KVM_CAP_PPC_WDT) 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/shutd

Re: [PATCH 2/2 v4] KVM: PPC: booke: Add watchdog emulation

2012-07-19 Thread Scott Wood
On 07/19/2012 12:35 AM, Bhushan Bharat-R65777 wrote: > > >> -Original Message- >> From: Wood Scott-B07421 >> Sent: Thursday, July 19, 2012 7:56 AM >> To: Bhushan Bharat-R65777 >> Cc: kvm-ppc@vger.kernel.org; k...@vger.kernel.org; ag...@suse.de; Bhushan >> Bharat- >> R65777 >> Subject: Re

Re: [PATCH] msi/msix: added API to set MSI message address and data

2012-07-19 Thread Michael S. Tsirkin
On Thu, Jul 19, 2012 at 10:32:40AM +1000, Alexey Kardashevskiy wrote: > On 19/07/12 01:23, Michael S. Tsirkin wrote: > > On Wed, Jul 18, 2012 at 11:17:12PM +1000, Alexey Kardashevskiy wrote: > >> On 18/07/12 22:43, Michael S. Tsirkin wrote: > >>> On Thu, Jun 21, 2012 at 09:39:10PM +1000, Alexey Kar