From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Simon Martin <smartin@milliways.cl>
Cc: "xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Problems with console io from a PV guest
Date: Wed, 30 Oct 2013 21:26:24 +0000 [thread overview]
Message-ID: <52717980.3000808@citrix.com> (raw)
In-Reply-To: <emd350c95b-7218-43ac-9ffd-62b239314481@smartin-alien>
[-- Attachment #1.1: Type: text/plain, Size: 1488 bytes --]
On 30/10/13 21:17, Simon Martin wrote:
> Hi All,
>
> I am using the latest and greatest 4.4 unstable and I'm having
> problems with console IO. I've been playing around with it for the
> last couple of days and I can't seem to find what's wrong. I start the
> guest with the "xl create -c" command and I only get one line of
> output. Input works fine.
>
> My code is based on the mini-os implementation. My sequence of events
> is as follows from startup is as follows:
>
> 1.- Map in the shared_info page
>
> 2.- Initialise the console event
>
> 3.- Write a line to the console. Send the console channel event. This
> seems to work as I see the output in the console and the console cons
> and prod indices are equal on the next write call.
>
> 4.- After writing I get an event on the console channel with no
> characters.
Do you mean that you get an event on the event channel but there is no
movement on the prod/cons indicies?
~Andrew
>
> 5.- Any writes after this are not shown on the console.
>
> Any idea what I'm doing wrong?
>
> Regards.
>
>
> --
> _ _ Debian GNU User Simon Martin
> | | (_)_ __ _ ___ __ Project Manager
> | | | | '_ \| | | \ \/ / Milliways
> | |___| | | | | |_| |> < mailto: smartin@milliways.cl
> |_____|_|_| |_|\__,_/_/\_\
> Si Hoc Legere Scis Nimium Eruditionis Habes
>
>
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
[-- Attachment #1.2: Type: text/html, Size: 4201 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2013-10-30 21:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-30 21:17 Problems with console io from a PV guest Simon Martin
2013-10-30 21:26 ` Andrew Cooper [this message]
2013-10-31 11:32 ` Simon Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52717980.3000808@citrix.com \
--to=andrew.cooper3@citrix.com \
--cc=smartin@milliways.cl \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.