xenbus: Support HVM backends
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Mon, 19 Dec 2011 19:55:14 +0000 (14:55 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 20 Dec 2011 22:02:35 +0000 (17:02 -0500)
commit2c5d37d30fbd27d424a18abc16786cb152a37017
treea721776de9157570120057a31de7e271cbe56b28
parentcb85f123cd2393581bcffad335bfc6bcdd58569c
xenbus: Support HVM backends

Add HVM implementations of xenbus_(map,unmap)_ring_v(alloc,free) so
that ring mappings can be done without using GNTMAP_contains_pte which
is not supported on HVM.  This also removes the need to use vmlist_lock
on PV by tracking the allocated xenbus rings.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
[v1: Fix compile error when XENBUS_FRONTEND is defined as module]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xenbus/xenbus_client.c
drivers/xen/xenbus/xenbus_probe.c
drivers/xen/xenbus/xenbus_probe.h