[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [hvm] Export gpfn of store page to guest - not mfn.



# HG changeset patch
# User Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
# Node ID d3a9bcf61c331b8985c32cd3d68e7ced25d4da64
# Parent  b688d4a68a3ecd96859b4e38d0eeece2a1e7c24f
[hvm] Export gpfn of store page to guest - not mfn.

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
---
 tools/libxc/xc_hvm_build.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b688d4a68a3e -r d3a9bcf61c33 tools/libxc/xc_hvm_build.c
--- a/tools/libxc/xc_hvm_build.c        Tue Aug 22 14:59:16 2006 +0100
+++ b/tools/libxc/xc_hvm_build.c        Tue Aug 22 15:13:07 2006 +0100
@@ -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 */

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.