12 Jan, 2011

1 commit


02 Aug, 2010

1 commit

  • For 32bit machines where the physical address width is
    larger than the virtual address width the frame number types
    in KVM may overflow. Fix this by changing them to u64.

    [sfr: fix build on 32-bit ppc]

    Signed-off-by: Joerg Roedel
    Signed-off-by: Stephen Rothwell
    Signed-off-by: Marcelo Tosatti

    Joerg Roedel
     

10 Jun, 2009

2 commits


24 Mar, 2009

2 commits


27 Apr, 2008

1 commit

  • This patch introduces a gfn_to_pfn() function and corresponding functions like
    kvm_release_pfn_dirty(). Using these new functions, we can modify the x86
    MMU to no longer assume that it can always get a struct page for any given gfn.

    We don't want to eliminate gfn_to_page() entirely because a number of places
    assume they can do gfn_to_page() and then kmap() the results. When we support
    IO memory, gfn_to_page() will fail for IO pages although gfn_to_pfn() will
    succeed.

    This does not implement support for avoiding reference counting for reserved
    RAM or for IO memory. However, it should make those things pretty straight
    forward.

    Since we're only introducing new common symbols, I don't think it will break
    the non-x86 architectures but I haven't tested those. I've tested Intel,
    AMD, NPT, and hugetlbfs with Windows and Linux guests.

    [avi: fix overflow when shifting left pfns by adding casts]

    Signed-off-by: Anthony Liguori
    Signed-off-by: Avi Kivity

    Anthony Liguori
     

31 Jan, 2008

1 commit