From: awilliam@xenbuild.aw Date: Wed, 23 Aug 2006 19:21:02 +0000 (-0600) Subject: [IA64] Modify xc_ia64_hvm_build for using the new Xen event channels X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15702 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=5f065ba906cf174459f50c647ff810f866144243;p=xen.git [IA64] Modify xc_ia64_hvm_build for using the new Xen event channels Signed-off-by: Tsunehisa Doi Signed-off-by: Tomonari Horikoshi --- diff --git a/tools/libxc/ia64/xc_ia64_hvm_build.c b/tools/libxc/ia64/xc_ia64_hvm_build.c index ededfe6e5d..ce90475007 100644 --- a/tools/libxc/ia64/xc_ia64_hvm_build.c +++ b/tools/libxc/ia64/xc_ia64_hvm_build.c @@ -553,7 +553,6 @@ setup_guest(int xc_handle, uint32_t dom, unsigned long memsize, { unsigned long page_array[2]; shared_iopage_t *sp; - int i; unsigned long dom_memsize = (memsize << 20); DECLARE_DOM0_OP; @@ -605,18 +604,6 @@ setup_guest(int xc_handle, uint32_t dom, unsigned long memsize, goto error_out; memset(sp, 0, PAGE_SIZE); - - for (i = 0; i < vcpus; i++) { - uint32_t vp_eport; - - vp_eport = xc_evtchn_alloc_unbound(xc_handle, dom, 0); - if (vp_eport < 0) { - DPRINTF("Couldn't get unbound port from VMX guest.\n"); - goto error_out; - } - sp->vcpu_iodata[i].vp_eport = vp_eport; - } - munmap(sp, PAGE_SIZE); return 0;