From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Joerg Roedel" Subject: Re: [PATCH] x86: emulate read/write access to cr8 Date: Thu, 6 Dec 2007 20:04:35 +0100 Message-ID: <20071206190435.GA7566@amd.com> References: <1196952412156-git-send-email-joerg.roedel@amd.com> <47583398.1080303@qumranet.com> <475836B5.5070505@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Markus Rechberger , Joerg Roedel To: "Avi Kivity" Return-path: In-Reply-To: <475836B5.5070505-atKUWr5tajBWk0Htik3J/w@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org On Thu, Dec 06, 2007 at 07:51:49PM +0200, Avi Kivity wrote: > Avi Kivity wrote: > >Joerg Roedel wrote: > > > >>From: Joerg Roedel > >> > >>This patch adds code to emulate the access to the cr8 register to the x86 > >>instruction emulator in kvm. > >> > >> > > > >I wrote a unit test for 'mov cr8', and it passes! > > > >Seems we aren't trapping cr8 access at all for svm. > > > > > > Okay, I added mov cr8 trapping to svm.c. I have cr8 access intercepted here, but this is not sufficient for getting Vista 64bit running. Therefore I have not sent the patch yet. -- | AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4