Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes)causes hang

From: Gleb Natapov
Date: Wed Jul 17 2013 - 15:29:07 EST


On Wed, Jul 17, 2013 at 09:00:29PM +0200, Markus Trippelsdorf wrote:
> > > 10346403 qemu-system-x86-1403 [001] 1451.422260: check_mmio_spte: spte ffff0000fee00e3f kvm_gen 7ffc8 spte-gen 7ffc7 valid 0
> > > ...
Can you trace only this event and record stack information:
trace-cmd record -T -e kvmmmu:check_mmio_spte


> > >
> [ 236.322519] qemu-system-x86 R running task 0 603 367 0x00000000
Is this the task that now prints check_mmio_spte ad nauseam?

> [ 236.322523] 0000000000000000 0000000100000000 00007fff27e6b950 00000000000fee00
> [ 236.322528] ffff8801df8b3b90 00000000fee000b0 ffff8801dff0b0d1 0000000000000000
> [ 236.322533] ffff8801df8b3b90 ffff8801f7614040 0000000000000000 0000000000000000
> [ 236.322537] Call Trace:
> [ 236.322544] [<ffffffff8102aea0>] ? nested_svm_get_tdp_cr3+0x20/0x20
I am assuming you are not running nested guest and this is just a glitch
in the matrix, correct?

> [ 236.322551] [<ffffffff810100b5>] ? kvm_arch_vcpu_ioctl_run+0x415/0x10c0
> [ 236.322556] [<ffffffff810e24cb>] ? page_add_new_anon_rmap+0x2b/0x100
> [ 236.322561] [<ffffffff810d8fbb>] ? handle_pte_fault+0x69b/0x7c0
> [ 236.322567] [<ffffffff8100d10a>] ? kvm_arch_vcpu_load+0x4a/0x1e0
> [ 236.322573] [<ffffffff810022b1>] ? kvm_vcpu_ioctl+0x271/0x500
> [ 236.322578] [<ffffffff811067ec>] ? do_vfs_ioctl+0x2cc/0x4a0
> [ 236.322583] [<ffffffff811069fc>] ? SyS_ioctl+0x3c/0x80
> [ 236.322588] [<ffffffff81583592>] ? system_call_fastpath+0x16/0x1b

--
Gleb.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/