kvmclock: run KVM_KVMCLOCK_CTRL ioctl in vcpu thread
According to KVM API Documentation, we should only run vcpu ioctls from the same thread that was used to create the vcpu. This patch makes KVM_KVMCLOCK_CTRL ioctl consistent with the Documentation. No functional change. Signed-off-by: NYongji Xie <xieyongji@baidu.com> Signed-off-by: NChai Wen <chaiwen@baidu.com> Message-Id: <1531315364-2551-1-git-send-email-xieyongji@baidu.com> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com> Signed-off-by: NYongji Xie <elohimes@gmail.com>
Showing
想要评论请 注册 或 登录