From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] gfxboot VMX workaround v2 Date: Mon, 07 Apr 2008 11:05:06 -0500 Message-ID: <47FA4632.9040403@codemonkey.ws> References: <47FA1DD5.3050500@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , bk@suse.de To: Alexander Graf Return-path: In-Reply-To: <47FA1DD5.3050500@suse.de> 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 Alexander Graf wrote: > Hi, > > this is an improved version of the patch I sent several weeks ago to > this list. Functionally nothing changed; it still hacks into gfxboot and > patches it to work on Intel CPUs on the fly. The big difference is that > this version is cleaned up and should work with every future CPU available. > > Please do _not_ apply this patch. I send it to the list only for > interested people, who would like to have a working version of KVM for > their systems right now. It is neither a proper fix nor the right > approach to deal with this issue. It is merely a hack that works for me > and maybe for others too. > 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. There are very few instructions in gfxboot that would need to be added to x86_emulate (if they aren't already there). Regards, Anthony Liguori > Alex > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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 > ------------------------------------------------------------------------ > > _______________________________________________ > kvm-devel mailing list > kvm-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/kvm-devel ------------------------------------------------------------------------- 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