xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Problems with console io from a PV guest
@ 2013-10-30 21:17 Simon Martin
  2013-10-30 21:26 ` Andrew Cooper
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Martin @ 2013-10-30 21:17 UTC (permalink / raw)
  To: xen-devel@lists.xen.org


[-- Attachment #1.1: Type: text/plain, Size: 1150 bytes --]

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.

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

[-- Attachment #1.2: Type: text/html, Size: 2568 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-31 11:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30 21:17 Problems with console io from a PV guest Simon Martin
2013-10-30 21:26 ` Andrew Cooper
2013-10-31 11:32   ` Simon Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).