From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] gfxboot VMX workaround v2 Date: Tue, 08 Apr 2008 07:14:13 -0500 Message-ID: <47FB6195.1050105@codemonkey.ws> References: <47FA1DD5.3050500@suse.de> <47FA4632.9040403@codemonkey.ws> <20080408093035.4f184e60@frecb000711.frec.bull.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , bk@suse.de To: Guillaume Thouvenin Return-path: In-Reply-To: <20080408093035.4f184e60@frecb000711.frec.bull.fr> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Guillaume Thouvenin wrote: > On Mon, 07 Apr 2008 11:05:06 -0500 > Anthony Liguori wrote: > > >> Perhaps a viable way to fix this upstream would be to catch the vmentry >> failure, look to see if SS.CPL != CS.CPL, and if so, invoke >> x86_emulate() in a loop until SS.CPL == CS.CPL. >> > > I tried this solution some time ago but unfortunately x86_emulate() > failed. I suspected a problem with guest EIP that could different > between the vmentry catch and the emulation. I will rebase my patch and > post them on the mailing list. > x86 emulate is missing support for jmp far which is used to switch into protected mode. It just needs to be added. Regards, Anthony Liguori > Regards, > Guillaume > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone