Fix parameters of prctl
commit08fd26ba6ba34b718a4478bc025c1a584c6a9267
authorHuang Ying <ying.huang@intel.com>
Tue, 15 Dec 2009 08:48:17 +0000 (15 16:48 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 15 Dec 2009 09:06:35 +0000 (15 11:06 +0200)
tree862b216a871621f792197b593a77ff0eb7844e54
parenta48c6bf5a3d7723650fd7c1c3741d352672f48df
Fix parameters of prctl

Because kenrel prctl implementation checks whether arg4 and arg5 are 0
for PR_MCE_KILL, qmeu-kvm should invoke prctl syscall as that.

Reported-by: Max Asbock <masbock@linux.vnet.ibm.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
qemu-kvm.c