From: "sun.shuchun" <sun.shuchun@jp.fujitsu.com>
To: "Pasi Kärkkäinen" <pasik@iki.fi>
Cc: xen-devel@lists.xensource.com
Subject: Re: how to ouput log messages of pygrub into user console
Date: Mon, 08 Feb 2010 18:20:32 +0900 [thread overview]
Message-ID: <4B6FD760.40209@jp.fujitsu.com> (raw)
In-Reply-To: <20100208073132.GK2861@reaktio.net>
Hello Mr Pasi,
Thank you for your reply!
I did as what you told me to do,
but I can not get any message in the user console.
I insert a print command like : print "this is a test",
then I carried out "xm create -f /etc/xen/<guest> -c".
Do I have any mistake in the opreations above?
Or any other nessary opreation was missed.
I did get a message in the user console by creating a new fifo file at
XendBootloader.py.
But, I don't know a much easier way to solve it.
Regards.
sun shuchun
Pasi Kärkkäinen さんは書きました:
> On Mon, Feb 08, 2010 at 09:46:12AM +0900, sun.shuchun wrote:
>> Hello, everyone!
>>
>> I have somes questions as follows:
>>
>> I found there are some print commands in the pygrub,
>> but I don't know where pygrub outputs them.
>>
>> Could anyone tell me some details about this?
>>
>
> "xm create -f /etc/xen/<guest> -c" will show the pygrub console.
>
> I don't know if it can be redirected to vfb..
>
> -- Pasi
>
>> Also,
>> I wanted to output some log messages into "/var/log/xen/xend.log"
>> and tried to "from XendLogging import log",
>> but failed to import the log object.
>> What should I do for this if I want to use the log object that already
>> have in the xen source?
>>
>> Regards.
>> Sun Shuchun
>>
>>
>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
>
prev parent reply other threads:[~2010-02-08 9:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-08 0:46 how to ouput log messages of pygrub into user console sun.shuchun
2010-02-08 7:31 ` Pasi Kärkkäinen
2010-02-08 9:20 ` sun.shuchun [this message]
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=4B6FD760.40209@jp.fujitsu.com \
--to=sun.shuchun@jp.fujitsu.com \
--cc=pasik@iki.fi \
--cc=xen-devel@lists.xensource.com \
/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.