]> xenbits.xensource.com Git - xen.git/commit
ioreq-server: centralize access to ioreq structures
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 12 May 2014 10:01:43 +0000 (12:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 May 2014 10:01:43 +0000 (12:01 +0200)
commitdea8c75c82a8c24c9554fd1f31a0c4866aeae12d
tree79d547293e438b2a5f2755498393881b20341eac
parente9ca7beec64e16e81b47233f701beb4ce3e9e8c0
ioreq-server: centralize access to ioreq structures

To simplify creation of the ioreq server abstraction in a subsequent patch,
this patch centralizes all use of the shared ioreq structure and the
buffered ioreq ring to the source module xen/arch/x86/hvm/hvm.c.

The patch moves an rmb() from inside hvm_io_assist() to hvm_do_resume()
because the former may now be passed a data structure on stack, in which
case the barrier is unnecessary.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/io.c
xen/arch/x86/hvm/vmx/vvmx.c
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/hvm/support.h