Fwd: tlb flush after each vm_exit, also virtual interrupts injection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---------- Forwarded message ----------
From: charls chap <chapcharls@xxxxxxxxx>
Date: Wed, Jul 27, 2016 at 1:19 PM
Subject: tlb flush after each vm_exit, also virtual interrupts injection
To: kvm@xxxxxxxxxxxxxxx


Hello List,

1)
I've seen some slides, back in 08, in which it is described
that the use of VPID, will solve the problem of TLB flush after each VM_EXIT.
But, i see from the code that it actually does a flush after a VM_EXIT.

Obviously, i am wrong. So I need some help,
Where to look, i mean which lines of code, in order to figure out, what is
happening with TLB flush and VM_EXITS


2) system call from ing 0 (non-root), to ring 0(root)
Could guest os, do a system call to host os?

3) what is the mechanism of virtual interrupt injection
What is the mechanism that is used for a virtual interrupt injection,
in full virtualization?

Host injects an interrupt to guest, HOW?  eg. hardware interrupt?
to which point of guest? guest complete_bh?


4)
I've seen from bibliography, that KVM operates in protection ring -1.
What doe it mean? Is there HW implementation for that ring?

Why not in ring 0?



Looking forward for your help
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux