> -----Original Message----- > From: Xen-devel <[email protected]> On Behalf Of > Oleksandr Tyshchenko > Sent: 12 January 2021 21:52 > To: [email protected] > Cc: Oleksandr Tyshchenko <[email protected]>; Stefano Stabellini > <[email protected]>; > Julien Grall <[email protected]>; Volodymyr Babchuk > <[email protected]>; Paul Durrant > <[email protected]>; Julien Grall <[email protected]> > Subject: [PATCH V4 17/24] xen/ioreq: Introduce domain_has_ioreq_server() > > From: Oleksandr Tyshchenko <[email protected]> > > This patch introduces a helper the main purpose of which is to check > if a domain is using IOREQ server(s). > > On Arm the current benefit is to avoid calling vcpu_ioreq_handle_completion() > (which implies iterating over all possible IOREQ servers anyway) > on every return in leave_hypervisor_to_guest() if there is no active > servers for the particular domain. > Also this helper will be used by one of the subsequent patches on Arm. > > Signed-off-by: Oleksandr Tyshchenko <[email protected]> > CC: Julien Grall <[email protected]> > [On Arm only] > Tested-by: Wei Chen <[email protected]> >
Reviewed-by: Paul Durrant <[email protected]>
