[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC
From: |
Wei Huang |
Subject: |
[Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC |
Date: |
Fri, 30 Jan 2015 13:17:07 -0500 |
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,
}
})
--
1.8.3.1
- [Qemu-devel] [PATCH 1/2] kvm_stat: Define RESET ioctl number for PPC,
Wei Huang <=