x86/hvm: refactor calls to prepare and tear down a helper ring
authorTim Deegan <tim@xen.org>
Thu, 8 Mar 2012 16:40:05 +0000 (16:40 +0000)
committerTim Deegan <tim@xen.org>
Thu, 8 Mar 2012 16:40:05 +0000 (16:40 +0000)
commit7a3de767373545388a9fded238b3450c5b21066d
tree8f8d0a768593e3753e14bc57626f9829d07326f5
parent08d62198150bb50f4a0e19e5f96141c2394415f0
x86/hvm: refactor calls to prepare and tear down a helper ring

These are currently used for the rings connecting Xen with qemu. Refactor them
so the same code can be later used for mem event rings.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/hvm/hvm.c
xen/include/asm-x86/hvm/hvm.h