* handle_wrmsr behavior under kvm-83
[not found] <21463337.50651233272625984.JavaMail.root@mailserv1>
@ 2009-01-29 23:48 ` Steven Stovall
2009-02-02 16:27 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: Steven Stovall @ 2009-01-29 23:48 UTC (permalink / raw)
To: kvm
When looking at the EXIT_REASON_MSR_WRITE events that trigger handle_wrmsr() invocations, why do I only seem to see indices for MSR_MTRRfix* (0x250 - 0x2ff)? This behavior seems to have changed since kvm-60, where I would see for example SYSENTER MSR writes.
Steven
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: handle_wrmsr behavior under kvm-83
2009-01-29 23:48 ` Steven Stovall
@ 2009-02-02 16:27 ` Avi Kivity
0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2009-02-02 16:27 UTC (permalink / raw)
To: Steven Stovall; +Cc: kvm
Steven Stovall wrote:
> When looking at the EXIT_REASON_MSR_WRITE events that trigger handle_wrmsr() invocations, why do I only seem to see indices for MSR_MTRRfix* (0x250 - 0x2ff)? This behavior seems to have changed since kvm-60, where I would see for example SYSENTER MSR writes.
>
In vmx_init():
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_FS_BASE);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_GS_BASE);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_IA32_SYSENTER_CS);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_IA32_SYSENTER_ESP);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_IA32_SYSENTER_EIP);
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: handle_wrmsr behavior under kvm-83
[not found] <31453845.52451233600265180.JavaMail.root@mailserv1>
@ 2009-02-02 19:39 ` Steven Stovall
0 siblings, 0 replies; 4+ messages in thread
From: Steven Stovall @ 2009-02-02 19:39 UTC (permalink / raw)
To: kvm
Right, but I've tried commenting those calls out, even disabling CPU_BASED_USE_MSR_BITMAPS, allocation of vmx_msr_bitmap and so on -- without effect. Ive started trying to interrogate the (now-reinstituted) vmx_msr_bitmap from vmx_vcpu_setup, since the controls can be rewritten there...
Steven
----- Original Message -----
From: "Avi Kivity" <avi@redhat.com>
To: "Steven Stovall" <sstovall@neuraliq.com>
Cc: "kvm" <kvm@vger.kernel.org>
Sent: Monday, February 2, 2009 8:27:07 AM GMT -08:00 US/Canada Pacific
Subject: Re: handle_wrmsr behavior under kvm-83
Steven Stovall wrote:
> When looking at the EXIT_REASON_MSR_WRITE events that trigger handle_wrmsr() invocations, why do I only seem to see indices for MSR_MTRRfix* (0x250 - 0x2ff)? This behavior seems to have changed since kvm-60, where I would see for example SYSENTER MSR writes.
>
In vmx_init():
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_FS_BASE);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_GS_BASE);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_IA32_SYSENTER_CS);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_IA32_SYSENTER_ESP);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_IA32_SYSENTER_EIP);
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: handle_wrmsr behavior under kvm-83
[not found] <11756619.54871233630086637.JavaMail.root@mailserv1>
@ 2009-02-03 3:06 ` Steven Stovall
0 siblings, 0 replies; 4+ messages in thread
From: Steven Stovall @ 2009-02-03 3:06 UTC (permalink / raw)
To: kvm
Well the bits for the sysenter msrs (0x174 - 0x176) are definitely set -- but I still only see exits for 0x200 - 0x2ff. And I definitely wrmsr(l)(MSR_IA32_SYSENTER_*) at vmx_vcpu_setup() time. Ive been going over Ch. 20, and still cant figure out what could be going on here.
Steven
>Right, but I've tried commenting those calls out, even disabling CPU_BASED_USE_MSR_BITMAPS, allocation >of vmx_msr_bitmap and so on -- without effect. Ive started trying to interrogate the (now-reinstituted) >vmx_msr_bitmap from vmx_vcpu_setup, since the controls can be rewritten there...
>Steven
----- Original Message -----
From: "Avi Kivity" <avi@redhat.com>
To: "Steven Stovall" <sstovall@neuraliq.com>
Cc: "kvm" <kvm@vger.kernel.org>
Sent: Monday, February 2, 2009 8:27:07 AM GMT -08:00 US/Canada Pacific
Subject: Re: handle_wrmsr behavior under kvm-83
Steven Stovall wrote:
> When looking at the EXIT_REASON_MSR_WRITE events that trigger handle_wrmsr() invocations, why do I only seem to see indices for MSR_MTRRfix* (0x250 - 0x2ff)? This behavior seems to have changed since kvm-60, where I would see for example SYSENTER MSR writes.
>
In vmx_init():
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_FS_BASE);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_GS_BASE);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_IA32_SYSENTER_CS);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_IA32_SYSENTER_ESP);
vmx_disable_intercept_for_msr(vmx_msr_bitmap, MSR_IA32_SYSENTER_EIP);
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-03 3:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <31453845.52451233600265180.JavaMail.root@mailserv1>
2009-02-02 19:39 ` handle_wrmsr behavior under kvm-83 Steven Stovall
[not found] <11756619.54871233630086637.JavaMail.root@mailserv1>
2009-02-03 3:06 ` Steven Stovall
[not found] <21463337.50651233272625984.JavaMail.root@mailserv1>
2009-01-29 23:48 ` Steven Stovall
2009-02-02 16:27 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox