[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] How to detect HAP from DomU?


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Wed, 10 Nov 2010 09:22:50 +0100
  • Delivery-date: Wed, 10 Nov 2010 00:23:37 -0800
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=LDyZTbPPFBlWxIgONMT1OONq3w7dwoBqjF32JkqmR8TVNbY72Mmizdmi MT8AO/msHk8ihVg38W/HW0mQD+yohfiDOhphQAwifPMmDd/PqkjM/8EEy ywqXKc7iTnfaRpOqw4JQenhe82thXRYVsIEyR44JhT9CEqIniDQQWhjHi C7CUQVKZoIZZBzc+WQ+EX7C4/2YeBOpiTp0QeAdyS4WRFtMDVRG5HyQGR LtP+Vfh8wqhPv4ay98wl5Gv0v0B27;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,

is there any way for a HVM-domain to detect whether it is running with HAP
enabled? I couldn't find any interface for this information.

Background: in our BS2000 domain (HVM with PV-drivers) we sometimes have to
copy complete pages between kernel and user. An alternative to the copy
would be a remapping of the page. The remap is faster than the copy with HAP
enabled, but much slower without HAP. So it would be best to copy without HAP
and remap with HAP.

I think this would be a candidate for XEN features (another bit in
xen/include/public/features.h). If there are no objections to this idea, I'll
make a patch.


Juergen

--
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.