x86/hvm: separate ioreq server code from generic hvm code
authorPaul Durrant <paul.durrant@citrix.com>
Fri, 1 Apr 2016 14:32:13 +0000 (16:32 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Apr 2016 14:32:13 +0000 (16:32 +0200)
commit108788e81706f88f9790e322008d02000a1780c7
treec2d84cf4cfdc6c82d7b56911de4e40a45e18f8e0
parentf7b87b0745b4ff99fbec911502abc04f2785c0e5
x86/hvm: separate ioreq server code from generic hvm code

The code in hvm/hvm.c related to handling I/O emulation using the ioreq
server framework is large and mostly self-contained.

This patch separates the ioreq server code into a new hvm/ioreq.c source
module and accompanying asm-x86/hvm/ioreq.h header file. There is no
intended functional change, only code movement.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
xen/arch/x86/hvm/Makefile
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/io.c
xen/arch/x86/hvm/ioreq.c [new file with mode: 0644]
xen/arch/x86/hvm/stdvga.c
xen/arch/x86/hvm/vmx/vvmx.c
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/hvm/ioreq.h [new file with mode: 0644]