]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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>
Thu, 2 Feb 2012 19:16:46 +0000 (14:16 -0500)
commit61607684b0c1ada332867f45e3765edf3a8cfa43
treee05683abc2edaa29cbed07142a3953800cc9b332
parent9c3f5c191e62f6dbb316da1fdc65451b35b63c28
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