ia64/xen-unstable

changeset 11246:d3a9bcf61c33

[hvm] Export gpfn of store page to guest - not mfn.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author Christian Limpach <Christian.Limpach@xensource.com>
date Tue Aug 22 15:13:07 2006 +0100 (2006-08-22)
parents b688d4a68a3e
children fc5736e0a2eb
files tools/libxc/xc_hvm_build.c
line diff
     1.1 --- a/tools/libxc/xc_hvm_build.c	Tue Aug 22 14:59:16 2006 +0100
     1.2 +++ b/tools/libxc/xc_hvm_build.c	Tue Aug 22 15:13:07 2006 +0100
     1.3 @@ -348,7 +348,7 @@ static int setup_guest(int xc_handle,
     1.4  
     1.5      *store_mfn = page_array[shared_page_nr - 1];
     1.6  
     1.7 -    xc_set_hvm_param(xc_handle, dom, HVM_PARAM_STORE_PFN, *store_mfn);
     1.8 +    xc_set_hvm_param(xc_handle, dom, HVM_PARAM_STORE_PFN, shared_page_nr - 1);
     1.9      xc_set_hvm_param(xc_handle, dom, HVM_PARAM_STORE_EVTCHN, store_evtchn);
    1.10  
    1.11      /* Paranoia */