All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rami Rosen <rosenrami@gmail.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: Sending messages from Xen to a domain with VIRQ_DEBUG
Date: Thu, 15 Sep 2005 07:00:55 -0400	[thread overview]
Message-ID: <ae5426fb0509150400429fe99c@mail.gmail.com> (raw)


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

Hello,

Is there a way to send messages (for debugging purposes) from Xen to a 
domain with some text?

I want to add "printk" messages in certain points in Xen for tracing
and debugging purposes.

As I understand, when I add printk messages to Xen they will appear only in
boot time on the terminal. After domain 0 is created and up, printk() 
messages
in Xen will not appear in /var/log/messages or on terminal.

I had tried to add in some point in Xen:

.........
for_each_vcpu(d,v)
send_guest_virq(v,VIRQ_DEBUG);
.....
When I reach this point in Xen , it generates the following:
in the syslog (of domain0)
...
netif_schedule_list:
kernel: ** End of netif_schedule_list **
...

(I assume that this is somehow connected to the call: 
request_irq(bind_virq_to_irq(VIRQ_DEBUG),...
in netback.c but I don't know the exact origin of this message)


Is there a way to send a message from Xen to a domain with some chosen text 
? 

Regards,
Rami Rosen

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

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

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

             reply	other threads:[~2005-09-15 11:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-15 11:00 Rami Rosen [this message]
2005-09-15 17:21 ` Sending messages from Xen to a domain with VIRQ_DEBUG Mark Williamson

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=ae5426fb0509150400429fe99c@mail.gmail.com \
    --to=rosenrami@gmail.com \
    --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.