search for: xc_dom_unmap_all

Displaying 1 result from an estimated 1 matches for "xc_dom_unmap_all".

2008 Aug 27
2
[PATCH] libxc: Use vcpu_guest_context_any_t instead of two pages
...un */ - ctxt = xc_dom_malloc(dom, page_size * 2 /* fixme */ ); - memset(ctxt, 0, page_size * 2); - if ( (rc = dom->arch_hooks->vcpu(dom, ctxt)) != 0 ) + memset(&ctxt, 0, sizeof(ctxt)); + if ( (rc = dom->arch_hooks->vcpu(dom, &ctxt)) != 0 ) return rc; xc_dom_unmap_all(dom); - rc = launch_vm(dom->guest_xc, dom->guest_domid, ctxt); + rc = launch_vm(dom->guest_xc, dom->guest_domid, &ctxt); return rc; } _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-de...