x86/HVM: handle_{mmio*,pio}() return value adjustments
authorJan Beulich <jbeulich@suse.com>
Fri, 16 Dec 2016 13:38:29 +0000 (14:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 16 Dec 2016 13:38:29 +0000 (14:38 +0100)
commitd03eda9de93708123bfb5449ce80f69eca57303e
treeeeefc288a3bb72debf543c429fd96480b4afe15b
parent620b3c7eee78e90167f591877177c922ae619b92
x86/HVM: handle_{mmio*,pio}() return value adjustments

Don't ignore their return values. Don't indicate success to callers of
handle_pio() when in fact the domain has been crashed.

Make all three functions return bool. Adjust formatting of switch()
statements being touched anyway.

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