x86/hvm: re-structure some of the ioreq server look-up loops
authorPaul Durrant <paul.durrant@citrix.com>
Tue, 20 Mar 2018 18:05:24 +0000 (18:05 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 21 Mar 2018 18:24:50 +0000 (18:24 +0000)
commit603c24dcfff36cbd9fee6a7dab0160eac5753b08
tree74b3c8355e6c16f1e34119f3432f02fcd0abe724
parentccb42e0ca661e9d2259439504d8b508d42955f4d
x86/hvm: re-structure some of the ioreq server look-up loops

This patch is a cosmetic re-structuring of some of the loops with look up
an ioreq server based on target domain and server id.

The restructuring is done separately here to ease review of a subsquent
patch.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/ioreq.c