xen/events: use xen_vcpu_id mapping in events_base
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 30 Jun 2016 15:56:40 +0000 (17:56 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 25 Jul 2016 12:34:06 +0000 (13:34 +0100)
commit8058c0b897e7d1ba5c900cb17eb82aa0d88fca53
treeed12c71a7f09b02c96cc260d11eec241a2c3e3f5
parente15a8621935cac527b4e0ed4078d24c3e5ef73a6
xen/events: use xen_vcpu_id mapping in events_base

EVTCHNOP_bind_ipi and EVTCHNOP_bind_virq pass vCPU id as a parameter
and Xen's idea of vCPU id should be used. Use the newly introduced
xen_vcpu_id mapping to convert it from Linux's id.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/xen/events/events_base.c