direct-io.hg

changeset 11329:3fdc31e91384

[IA64] Modify xc_ia64_hvm_build for using the new Xen event channels

Signed-off-by: Tsunehisa Doi <Doi.Tsunehisa@jp.fujitsu.com>
Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
author awilliam@xenbuild.aw
date Wed Aug 23 13:21:02 2006 -0600 (2006-08-23)
parents 66c27919578f
children 3e54734e55f3
files tools/libxc/ia64/xc_ia64_hvm_build.c
line diff
     1.1 --- a/tools/libxc/ia64/xc_ia64_hvm_build.c	Wed Aug 23 13:13:51 2006 -0600
     1.2 +++ b/tools/libxc/ia64/xc_ia64_hvm_build.c	Wed Aug 23 13:21:02 2006 -0600
     1.3 @@ -553,7 +553,6 @@ setup_guest(int xc_handle, uint32_t dom,
     1.4  {
     1.5      unsigned long page_array[2];
     1.6      shared_iopage_t *sp;
     1.7 -    int i;
     1.8      unsigned long dom_memsize = (memsize << 20);
     1.9      DECLARE_DOM0_OP;
    1.10  
    1.11 @@ -605,18 +604,6 @@ setup_guest(int xc_handle, uint32_t dom,
    1.12          goto error_out;
    1.13  
    1.14      memset(sp, 0, PAGE_SIZE);
    1.15 -
    1.16 -    for (i = 0; i < vcpus; i++) {
    1.17 -        uint32_t vp_eport;
    1.18 -
    1.19 -        vp_eport = xc_evtchn_alloc_unbound(xc_handle, dom, 0);
    1.20 -        if (vp_eport < 0) {
    1.21 -            DPRINTF("Couldn't get unbound port from VMX guest.\n");
    1.22 -            goto error_out;
    1.23 -        }
    1.24 -        sp->vcpu_iodata[i].vp_eport = vp_eport;
    1.25 -    }
    1.26 -
    1.27      munmap(sp, PAGE_SIZE);
    1.28  
    1.29      return 0;