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] [PATCH] [HVM] Fix lmsw handling

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] [HVM] Fix lmsw handling
From: "Trolle Selander" <trolle.selander@xxxxxxxxx>
Date: Fri, 27 Jun 2008 14:11:57 +0100
Cc:
Delivery-date: Fri, 27 Jun 2008 06:12:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=c1c/fkW+2BcrNtYyM00XAu4aIUljm+KhGSUYiUMsg24=; b=l5Vi91k3JND/XHrBTlp1QFYC6EBFPJD17ld7n+jy26F57z+W/+huswHT5YbFiUGMbQ 6TyyLbO7zEsqh5lE7idKEZcHh3ypd/jvsJMK6YxjrqLdrpX40VoGlD8J4bu+uQEtN1XQ gK2luICVUidMY1nEoHbJvmprIwQdLyjlBu4l8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=IsWYfd/EKvQifGRH54UGqMNpvU6yi+kN6qC89CIbxFLU6gsaXuEGi2slhbpeVO5wPC /Cr/pjSa7J3RVEDvFHzlFdPxcWM0MfZZY8lhRVKvItA90v+RdiddA592qAXROZjOR59C AVtOTbCfdVDdb0fKeg1iJBActn/RqX+YVdgPI=
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The lmsw instruction can be used to set CR0_PE, but can never clear it, once set. Currently, as far as I can see, there is no provision to keep lmsw from clearing CR0_PE, either in the vmx code or in x86_emulate code (which is used by SVM to emulate lmsw). This patch fixes this issue.

Signed-off-by: Trolle Selander <trolle.selander@xxxxxxxxxxxxx>

Attachment: lmsw_noclear_pe.patch
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>