[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 09/12] KVM/MIPS: set sigmask length to 16 for MIPS t
From: |
Sanjay Lal |
Subject: |
[Qemu-devel] [PATCH 09/12] KVM/MIPS: set sigmask length to 16 for MIPS targets. |
Date: |
Sat, 2 Mar 2013 07:18:44 -0800 |
---
kvm-all.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/kvm-all.c b/kvm-all.c
index 4decfdc..2ac9e88 100644
--- a/kvm-all.c
+++ b/kvm-all.c
@@ -1966,7 +1966,12 @@ int kvm_set_signal_mask(CPUArchState *env, const
sigset_t *sigset)
sigmask = g_malloc(sizeof(*sigmask) + sizeof(*sigset));
+#ifdef TARGET_MIPS
+ /* seems to be 16 for MIPS */
+ sigmask->len = 16;
+#else
sigmask->len = 8;
+#endif
memcpy(sigmask->sigset, sigset, sizeof(*sigset));
r = kvm_vcpu_ioctl(cpu, KVM_SET_SIGNAL_MASK, sigmask);
g_free(sigmask);
--
1.7.11.3
- [Qemu-devel] [PATCH 00/12] KVM Support for MIPS32 Processors, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 02/12] KVM/MIPS: GIC emulation for SMP guests., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 03/12] KVM/MIPS: Add save/restore state APIs for saving/restoring KVM guests., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 07/12] KVM/MIPS: QEMU <-> Kernel interface for KVM/MIPS, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 09/12] KVM/MIPS: set sigmask length to 16 for MIPS targets.,
Sanjay Lal <=
- [Qemu-devel] [PATCH 11/12] KVM/MIPS: MIPS specfic APIs for KVM., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 12/12] KVM/MIPS: General KVM support and support for SMP Guests, Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 08/12] KVM/MIPS: Enable KVM/MIPS for MIPS targets. Add MIPS GIC code to the build., Sanjay Lal, 2013/03/02
- [Qemu-devel] [PATCH 01/12] KVM/MIPS: Bootcode for MIPS SMP configurations with a GCMP, Sanjay Lal, 2013/03/02