From: Christian Limpach Date: Tue, 22 Aug 2006 14:13:07 +0000 (+0100) Subject: [hvm] Export gpfn of store page to guest - not mfn. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15710^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6631e301e8b66fb8dc979efeb58231d870acde1d;p=xen.git [hvm] Export gpfn of store page to guest - not mfn. Signed-off-by: Christian Limpach --- diff --git a/tools/libxc/xc_hvm_build.c b/tools/libxc/xc_hvm_build.c index acb954865c..0f9d7974b0 100644 --- a/tools/libxc/xc_hvm_build.c +++ b/tools/libxc/xc_hvm_build.c @@ -348,7 +348,7 @@ static int setup_guest(int xc_handle, *store_mfn = page_array[shared_page_nr - 1]; - xc_set_hvm_param(xc_handle, dom, HVM_PARAM_STORE_PFN, *store_mfn); + xc_set_hvm_param(xc_handle, dom, HVM_PARAM_STORE_PFN, shared_page_nr - 1); xc_set_hvm_param(xc_handle, dom, HVM_PARAM_STORE_EVTCHN, store_evtchn); /* Paranoia */