x86/pio: allow internal PIO handlers to return RETRY
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 4 Dec 2017 10:02:16 +0000 (11:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 4 Dec 2017 10:02:16 +0000 (11:02 +0100)
commit8202ebb1124d90f26f47cee78c813d00c935e77b
tree469b09220f7d7c408c6f3963b6a3357b30e434b7
parentf2613bd7f203a79abde270d9fa54b4add8dd911b
x86/pio: allow internal PIO handlers to return RETRY

Fix handle_pio so internal PIO handlers can return X86EMUL_RETRY and
it is properly handled by not advancing the IP.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/io.c