Re: Kernel GPF in vmx_save_host_state()

Benjamin Gilbert
2009-03-23T18:42:15Z

Avi Kivity wrote:
> Benjamin Gilbert wrote:
>> vmx_set_msr: msr_index 0xc0000080 msr->index 0xc0000080 msr->data 0x100
>
> How did that get in there?!
>
> Please add a dump_stack() after that printk().

Pid: 2381, comm: qemu-system-x86 Not tainted 2.6.28-686 #4
Call Trace:
[<f8cf2fdc>] vmx_set_msr+0x150/0x178 [kvm_intel]
[<f8cf325a>] handle_wrmsr+0x71/0x9d [kvm_intel]
[<f8cf4fb0>] kvm_handle_exit+0x1c8/0x1e5 [kvm_intel]
[<f7c58e34>] kvm_arch_vcpu_ioctl_run+0x6f2/0x918 [kvm]
[<c0406469>] ? _spin_unlock_irqrestore+0x59/0x5d
[<c0403ede>] ? preempt_schedule+0x30/0x3f
[<f7c5467d>] kvm_vcpu_ioctl+0xf4/0x40f [kvm]
[<c013ae80>] ? up_read+0x1b/0x2f
[<c0148144>] ? futex_wake+0xd0/0xdb
[<c0148e4c>] ? do_futex+0x81/0x6c9
[<f7c54589>] ? kvm_vcpu_ioctl+0x0/0x40f [kvm]
[<c018e345>] vfs_ioctl+0x27/0x6c
[<c018e7ec>] do_vfs_ioctl+0x394/0x3d8
[<c0184c88>] ? fget_light+0xc8/0xe4
[<c018e84c>] ? sys_ioctl+0x1c/0x5f
[<c011e06f>] ? sub_preempt_count+0x9d/0xab
[<c018e875>] sys_ioctl+0x45/0x5f
[<c0102e25>] sysenter_do_call+0x12/0x35

--Benjamin Gilbert