From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YId3f-0007Sz-HD for qemu-devel@nongnu.org; Tue, 03 Feb 2015 07:58:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YId3a-0001Ri-DU for qemu-devel@nongnu.org; Tue, 03 Feb 2015 07:58:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:37244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YId3a-0001Ra-5p for qemu-devel@nongnu.org; Tue, 03 Feb 2015 07:58:18 -0500 Message-ID: <54D0C5D9.5070506@redhat.com> Date: Tue, 03 Feb 2015 13:58:01 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1422641828-2454-1-git-send-email-wei@redhat.com> In-Reply-To: <1422641828-2454-1-git-send-email-wei@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [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: Wei Huang , qemu-devel@nongnu.org Cc: marc.zyngier@arm.com, mpe@ellerman.id.au, christoffer.dall@linaro.org On 30/01/2015 19:17, Wei Huang wrote: > 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, > } > }) > > Applying both to uq/master. Paolo