[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Fix xc_make_page_below_4G(). Should fix PAE domain
# HG changeset patch # User kaf24@xxxxxxxxxxxxxxxxxxxx # Node ID 810039218827f6641f657ee87ed2806ff93a233c # Parent c9c49385c26efe83a4ff3b0d17b5fc773c61b03a Fix xc_make_page_below_4G(). Should fix PAE domain building on >= 4GB systems. Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx> diff -r c9c49385c26e -r 810039218827 tools/libxc/xc_private.c --- a/tools/libxc/xc_private.c Wed Sep 14 16:49:23 2005 +++ b/tools/libxc/xc_private.c Wed Sep 14 16:56:05 2005 @@ -456,14 +456,14 @@ unsigned long new_mfn; if ( xc_domain_memory_decrease_reservation( - xc_handle, domid, 1, 0, &mfn) != 1 ) + xc_handle, domid, 1, 0, &mfn) != 0 ) { fprintf(stderr,"xc_make_page_below_4G decrease failed. mfn=%lx\n",mfn); return 0; } if ( xc_domain_memory_increase_reservation( - xc_handle, domid, 1, 0, 32, &new_mfn) != 1 ) + xc_handle, domid, 1, 0, 32, &new_mfn) != 0 ) { fprintf(stderr,"xc_make_page_below_4G increase failed. mfn=%lx\n",mfn); return 0; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |