From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHG8E-0007CR-Aq for qemu-devel@nongnu.org; Fri, 30 Jan 2015 13:17:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHG88-0007Sf-3H for qemu-devel@nongnu.org; Fri, 30 Jan 2015 13:17:26 -0500 Received: from mx1.redhat.com ([209.132.183.28]:54815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHG87-0007S0-SN for qemu-devel@nongnu.org; Fri, 30 Jan 2015 13:17:20 -0500 From: Wei Huang Date: Fri, 30 Jan 2015 13:17:07 -0500 Message-Id: <1422641828-2454-1-git-send-email-wei@redhat.com> Subject: [Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: marc.zyngier@arm.com, pbonzini@redhat.com, christoffer.dall@linaro.org, mpe@ellerman.id.au This patch defines the RESET ioctl number for PPC architecture. Without it, the reset() function of Event class can potentionally cause exception on PPC. Signed-off-by: Wei Huang --- scripts/kvm/kvm_stat | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kvm/kvm_stat b/scripts/kvm/kvm_stat index c0c4ff0..7af5947 100755 --- a/scripts/kvm/kvm_stat +++ b/scripts/kvm/kvm_stat @@ -207,6 +207,7 @@ def ppc_init(): 'SET_FILTER' : 0x80002406 | (ctypes.sizeof(ctypes.c_char_p) << 16), 'ENABLE' : 0x20002400, 'DISABLE' : 0x20002401, + 'RESET' : 0x20002403, } }) -- 1.8.3.1