xen/events: use xen_vcpu_id mapping for EVTCHNOP_status
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 23 Nov 2016 12:38:45 +0000 (13:38 +0100)
committerJuergen Gross <jgross@suse.com>
Wed, 30 Nov 2016 06:39:09 +0000 (07:39 +0100)
commitb36585a0a3c169612f3105139464a2da1d3ecc03
tree2fa87938f0495196a37b78b55309085fca84b94d
parent30faaafdfa0c754c91bac60f216c9f34a2bfdf7e
xen/events: use xen_vcpu_id mapping for EVTCHNOP_status

EVTCHNOP_status hypercall returns Xen's idea of vcpu id so we need to
compare it against xen_vcpu_id mapping, not the Linux cpu id.

Suggested-by: Radim Krcmar <rkrcmar@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
drivers/xen/events/events_base.c