WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] How to detect HAP from DomU?
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
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1289377373; x=1320913373; h=message-id:date:from:mime-version:to:subject: content-transfer-encoding; z=Message-ID:=20<4CDA565A.5040804@xxxxxxxxxxxxxx>|Date:=20 Wed,=2010=20Nov=202010=2009:22:50=20+0100|From:=20Juergen =20Gross=20<juergen.gross@xxxxxxxxxxxxxx>|MIME-Version: =201.0|To:=20"xen-devel@xxxxxxxxxxxxxxxxxxx"=20<xen-devel @lists.xensource.com>|Subject:=20How=20to=20detect=20HAP =20from=20DomU?|Content-Transfer-Encoding:=207bit; bh=oyz+GfmhlEV/BC1919mYUSbSDyjS9eaOrs9rPi2rimo=; b=vIHmVKGHmlEKiNJIhWh4UIYhLbDteUVzHIAd1xpfiqJSbUJXIpdH8iPK YOozulZQFZG9ZMaefeoxmT/4NyenriPQFD9psCYn3aLfyj19NHwIzm74d 5UbfsayVKAw1c5c3D0VMZafll/u1R4739E9mlWYSePKhjdXY3rgI25zbM mV6RPtmLeluKXPdv6ybKMBxFBiqWyZbvuSvujCu+I6SlwL1ae1hNIE6im 9ndNnzoj1dNF9bkk0uC88PXSPfWSw;
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;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Fujitsu Technology Solutions
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101030 Iceowl/1.0b1 Icedove/3.0.10
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

<Prev in Thread] Current Thread [Next in Thread>