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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Paravirtualization of the "HLT" instruction (for example

To: Ian Brown <ianbrn@xxxxxxxxx>
Subject: Re: [Xen-devel] Paravirtualization of the "HLT" instruction (for example) on x386
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: 2006年1月12日 10:36:13 +0000
Cc: Xen Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2006年1月12日 10:36:50 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <d0383f90601120127g5994eedal71bac2a01fce5e87@xxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <d0383f90601120127g5994eedal71bac2a01fce5e87@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 12 Jan 2006, at 09:27, Ian Brown wrote:
So I tried to find where in the Xen-3.0 code it is done.
I saw in vmx.c the vmx_vmexit_do_hlt() method ,which is called
when "HLT" is performed, but this is relevant when running a
platform with VT-x.
I am looking for tracing where this handling or modifying of
the HLT instruction is done in a usual x386 (non-VTX) processor.
Can anybody please point where in the code of Xen 3.0 this is done
(for x86 processors)?
The point of paravirtualizetion is that such instructions are replaced with explicit traps to the hypervisor in the OS. Emulation of the raw instruction is not required.
In fact we do emulate some privileged instructions, just not HLT.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] A question about SHARE_PFN_WITH_DOMAIN , Keir Fraser
Next by Date: Re: [Xen-devel] Paravirtualization of the "HLT" instruction (for example) on x386 , Ian Brown
Previous by Thread: [Xen-devel] Paravirtualization of the "HLT" instruction (for example) on x386 , Ian Brown
Next by Thread: Re: [Xen-devel] Paravirtualization of the "HLT" instruction (for example) on x386 , Ian Brown
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /