Skip to content
  • Rusty Russell's avatar
    lguest: fix __get_vm_area usage. · f14ae652
    Rusty Russell authored
    Robert Bragg's 5dc33185
    
     tightened
    (ie. fixed) the checking in __get_vm_area, and it broke lguest.
    
    lguest should pass the exact "end" it wants, not some random constant
    (it was possible previously that it would actually get an address
    different from SWITCHER_ADDR).
    
    Also, Fabio Checconi pointed out that we should make sure we're not
    hitting the fixmap area.
    
    Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
    Cc: Robert Bragg <robert@sixbynine.org>
    f14ae652