x86/HVM: re-work hvm_wait_for_io() a little
authorJan Beulich <jbeulich@suse.com>
Fri, 17 Jul 2020 15:50:40 +0000 (17:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 17 Jul 2020 15:50:40 +0000 (17:50 +0200)
commit32fa4ec97196678ba39e6746a9ba21d3f57ba853
tree8c703cabd1bf3f660acbcdcd967ddd2f79f13969
parent83bb55fa38f7cbd4c8a670c9a01c8c47642d969e
x86/HVM: re-work hvm_wait_for_io() a little

Convert the function's main loop to a more ordinary one, without goto
and without initial steps not needing to be inside a loop at all.

Take the opportunity and add blank lines between case blocks.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul@xen.org>
xen/arch/x86/hvm/ioreq.c