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

[Xen-changelog] [xen-unstable] [IA64] Modify xc_ia64_hvm_build for using the new Xen event channels



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 3fdc31e9138464f42d62ee0d09e38920610f5763
# Parent  66c27919578f374b3d239b3db63830f7c1afb5df
[IA64] Modify xc_ia64_hvm_build for using the new Xen event channels

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@xxxxxxxxxxxxxx>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@xxxxxxxxxxxxxx>
---
 tools/libxc/ia64/xc_ia64_hvm_build.c |   13 -------------
 1 files changed, 13 deletions(-)

diff -r 66c27919578f -r 3fdc31e91384 tools/libxc/ia64/xc_ia64_hvm_build.c
--- a/tools/libxc/ia64/xc_ia64_hvm_build.c      Wed Aug 23 13:13:51 2006 -0600
+++ b/tools/libxc/ia64/xc_ia64_hvm_build.c      Wed Aug 23 13:21:02 2006 -0600
@@ -553,7 +553,6 @@ setup_guest(int xc_handle, uint32_t dom,
 {
     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,
         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;

_______________________________________________
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®.