Re: [PATCH 0/2] KVM/MIPS32: Fixes for Linux 3.10

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

 



On 05/13/2013 01:21 PM, Sanjay Lal wrote:
The following patch set fixes a couple of issues with KVM/MIPS32 in Linux 3.10.

- As suggested by Gleb, wrap calls to gfn_to_pfn() with srcu_read_lock/unlock().
- kvm_mips_map_page() now returns an error code to it's callers, instead of calling panic()
   if it cannot find a mapping for a particular gfn.
- Follow the latest convention and move the kvm.h API file under uapi/...


Sanjay,

Have you looked at:

http://www.linux-mips.org/archives/linux-mips/2013-05/msg00049.html

We should start working toward unifying the KVM interface.

David Daney.


--
Sanjay Lal (2):
   KVM/MIPS32: Move include/asm/kvm.h => include/uapi/asm/kvm.h since it
     is a user visible API.
   KVM/MIPS32: Wrap calls to gfn_to_pfn() with srcu_read_lock/unlock()

  arch/mips/include/asm/kvm.h      | 55 ----------------------------------------
  arch/mips/include/uapi/asm/kvm.h | 55 ++++++++++++++++++++++++++++++++++++++++
  arch/mips/kvm/kvm_tlb.c          | 38 ++++++++++++++++++++-------
  3 files changed, 84 insertions(+), 64 deletions(-)
  delete mode 100644 arch/mips/include/asm/kvm.h
  create mode 100644 arch/mips/include/uapi/asm/kvm.h


--
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