]> xenbits.xensource.com Git - xen.git/commit
evtchn: rename and adjust guest_enabled_event()
authorJan Beulich <jbeulich@suse.com>
Fri, 23 Oct 2020 08:11:46 +0000 (10:11 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 23 Oct 2020 08:11:46 +0000 (10:11 +0200)
commit451a9098608976ec164307a80eef40a2186fd5b3
tree4f76abacf304b0be3cb34a199f6cbd660e3cf4ec
parent5bc84281a902eeea0d8f2eb8297790174cab6ac8
evtchn: rename and adjust guest_enabled_event()

The function isn't about an "event" in general, but about a vIRQ. The
function also failed to honor global vIRQ-s, instead assuming the caller
would pass vCPU 0 in such a case.

While at it also adjust the
- types the function uses,
- single user to make use of domain_vcpu().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/cpu/mcheck/vmce.h
xen/common/event_channel.c
xen/include/xen/event.h