Skip to contentSkip to conversation

handle_wrmsr behavior under kvm-83

DISCUSSION Steven Stovall 1 participant 1 message Feb 2, 2009 1 message not in the archive KVM

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 31453845.52451233600265180.JavaMail.root@mailserv1

#1 lore raw

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" <[email protected]>
To: "Steven Stovall" <[email protected]>
Cc: "kvm" <[email protected]>
Sent: Monday, February 2, 2009 8:27:07 AM GMT -08:00 US/Canada Pacific
Subject: Re: handle_wrmsr behavior under kvm-83

Quoted 2 lines · Steven Stovall

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);
Signature · 1 line
error compiling committee.c: too many arguments to function