From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] discard MSR writes Date: Tue, 20 Nov 2007 11:47:54 +0200 Message-ID: <4742AD4A.2080406@qumranet.com> References: <4741DF15.20708@amd.com> <200711201315.15337.amit.shah@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, Joerg.Roedel-5C7GfCeVMHo@public.gmane.org, Markus Rechberger To: Amit Shah Return-path: In-Reply-To: <200711201315.15337.amit.shah-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 Amit Shah wrote: > On Tuesday 20 November 2007 00:38:05 Markus Rechberger wrote: > >> this patch discards MSR writes to the Performance Event-Select >> Registers, this is the first issue why vista seems to fail although now >> vista ends up in an endless loop a bit later. >> Qemu currently also discards those writes. >> > > Won't this make the corresponding rdmsrs fail? What happens when the rdmsr > returns an error, but windows then uses some garbage value (as it thinks the > wrmsr succeeded, so the rdmsr also should)? > rdmsr will inject #GP for these msrs. Implementing set_msr() doesn't affect rdmsr. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/