Displaying 2 results from an estimated 2 matches for "xcs_data_fd".
2005 Feb 26
1
[Fwd: [Xen-changelog] Move xcs to unix domain sockets.]
Just forwarding this changelog from yesterday. xcs now uses Unix domain
sockets in unstable. This was a hot thread a couple months back with strong
opinions on both sides and no clear resolution on the list, so I thought
some people might like to know the developers'' resolution. This should be
good news for those seeking tighter dom0''s, particularly those who
2005 Aug 30
4
Re: [Xen-changelog] New console transport and update xenconsoled.
...;tty_fd = -1;
>
> if (domain_is_valid(dom->domid)) {
> dom->tty_fd = domain_create_tty(dom);
>@@ -240,14 +364,14 @@
> dom->is_dead = true;
> }
> } else if (domain_is_valid(dom->domid)) {
>- msg.u.control.msg.length = len;
>-
>- if (!write_sync(xcs_data_fd, &msg, sizeof(msg))) {
>- dolog(LOG_ERR, "Write to xcs failed: %m");
>- exit(1);
>- }
>+ for (i = 0; i < len; i++) {
>+ inring->buf[XENCONS_IDX(inring->prod)] = msg[i];
>+ inring->prod++;
>+ }
>+ xc_evtchn_send(xc, dom->local_port);
&...