From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] x86: emulate read/write access to cr8 Date: Thu, 06 Dec 2007 19:51:49 +0200 Message-ID: <475836B5.5070505@qumranet.com> References: <1196952412156-git-send-email-joerg.roedel@amd.com> <47583398.1080303@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: Joerg Roedel Return-path: In-Reply-To: <47583398.1080303-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 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 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. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- 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