From: Alexander Graf Date: Wed, 8 Jun 2011 00:45:37 +0000 (+0200) Subject: KVM: Add compat ioctl for KVM_SET_SIGNAL_MASK X-Git-Tag: v3.1-rc1~264^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1dda606c5f94b14a8f36c220d1d8844bab68a720;p=pandora-kernel.git KVM: Add compat ioctl for KVM_SET_SIGNAL_MASK KVM has an ioctl to define which signal mask should be used while running inside VCPU_RUN. At least for big endian systems, this mask is different on 32-bit and 64-bit systems (though the size is identical). Add a compat wrapper that converts the mask to whatever the kernel accepts, allowing 32-bit kvm user space to set signal masks. This patch fixes qemu with --enable-io-thread on ppc64 hosts when running 32-bit user land. Signed-off-by: Alexander Graf Signed-off-by: Avi Kivity --- Reading git-diff-tree failed