On 05/03/2013 03:51 AM, Gleb Natapov wrote:
Hi David,
On Thu, May 02, 2013 at 10:48:36PM -0300, Marcelo Tosatti wrote:
On Thu, May 02, 2013 at 11:22:52AM -0700, David Daney wrote:
Hi,
I am working on the MIPS KVM port, and am trying to figure out under
which circumstances do I need to srcu_read_lock()/srcu_read_unlock()
the kvm->srcu.
Is your work somehow related to the work of Sanjay Lal that can be found
here: https://git.linux-mips.org/?p=ralf/upstream-sfr.git;a=summary?
It is related in that a single asm/uaip/kvm.h must be shared between the
implementations. It differs in that it is based on the MIPS-VZ hardware
virtualization feature, where as Sanjay's code is a pure software solution.
If possible some code might be shared between the two, but it may end up
looking somewhat like the x86 implementation where there are separate
VMX and SVM implementations.
Some clarification/addition to what Marcelo said below.
.
.
.
Thanks to all for setting me straight here.
David Daney
--
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