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




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux