[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC |
Date: |
Tue, 03 Feb 2015 13:58:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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 <address@hidden>
> ---
> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC,
Paolo Bonzini <=