Skip to content
Commit 4fadfa00 authored by Peng Hao's avatar Peng Hao Committed by Paolo Bonzini
Browse files

target-i386: kvm_get/put_vcpu_events don't handle sipi_vector



qemu call kvm_get_vcpu_events, and kernel return sipi_vector always
0, never valid when reporting to user space. But when qemu calls
kvm_put_vcpu_events will make sipi_vector in kernel be 0. This will
accidently modify sipi_vector when sipi_vector in kernel is not 0.

Signed-off-by: default avatarPeng Hao <peng.hao2@zte.com.cn>
Reviewed-by: default avatarLiu Yi <liu.yi24@zte.com.cn>
Message-Id: <1500047256-8911-1-git-send-email-peng.hao2@zte.com.cn>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent eb22aeca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment