On 10/08/18 11:37, Paul Durrant wrote:
> hvm_select_ioreq_server() is used to route an ioreq to the appropriate
> ioreq server. For MMIO this is done by comparing the range of the ioreq
> to the ranges registered by the device models of each ioreq server.
> Unfortunately the calculation of the range if the ioreq completely ignores
> the direction flag and thus may calculate the wrong range for comparison.
> Thus the ioreq may either be routed to the wrong server or erroneously
> terminated by null_ops.
>
> NOTE: The patch also fixes whitespace in the switch statement to make it
>       style compliant.
>
> Signed-off-by: Paul Durrant <[email protected]>

Reviewed-by: Andrew Cooper <[email protected]>

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to