Displaying 1 result from an estimated 1 matches for "console_channel".
2005 Aug 30
4
Re: [Xen-changelog] New console transport and update xenconsoled.
...+
>+ asprintf(&path, "/console/%d/domain", dom->domid);
>+ dompath = xs_read(xs, path, NULL);
>+ free(path);
>+ if (!dompath)
>+ return ENOENT;
>+
>+ err = xs_gather(xs, dompath,
>+ "console_mfn", "%li", &dom->mfn,
>+ "console_channel/port1", "%i", &dom->local_port,
>+ "console_channel/port2", "%i", &dom->remote_port,
>+ NULL);
>+ if (err)
>+ goto out;
>+
>+ dom->page = xc_map_foreign_range(xc, dom->domid, getpagesize(),
>+ PROT_READ|PROT_WRITE...