All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC
@ 2015-01-30 18:17 Wei Huang
  2015-01-30 18:17 ` [Qemu-devel] [PATCH 2/2] kvm_stat: Add kvm_exit reasons for aarch64 Wei Huang
  2015-02-03 12:58 ` [Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: Wei Huang @ 2015-01-30 18:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: marc.zyngier, pbonzini, christoffer.dall, mpe

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 <wei@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-03 12:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-30 18:17 [Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC Wei Huang
2015-01-30 18:17 ` [Qemu-devel] [PATCH 2/2] kvm_stat: Add kvm_exit reasons for aarch64 Wei Huang
2015-02-03 12:58 ` [Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.