All of lore.kernel.org
 help / color / mirror / Atom feed
From: sandesh <sandesh.ahiremath@wipro.com>
To: xen-devel@lists.xensource.com
Subject: Printing debug message from hypervisor
Date: Tue, 10 Jun 2008 00:10:35 -0700 (PDT)	[thread overview]
Message-ID: <17749116.post@talk.nabble.com> (raw)


 Hi,
  Iam trying to print some debug messages, from a hypercall function
do_domctl by introducing some printk statemetnts.
But nothing is getting into the log or the terminal. After exploring the
code it seems like we cant directly use printk, because the guest checks the
'console I/O ring buffer after receving an event for the same from
hypervisor ' .  I chekced the functions of drivers/char/console.c and it has
the funciton printk which is does generate the event for console I/O but the
console.h does'nt include the prototype. So my question is how can i use it
from domctl.c
  I have been stuck on this for a week now, so please give me some hints on
this.

Thanks,
  Sandesh
  

-- 
View this message in context: http://www.nabble.com/Printing-debug-message-from-hypervisor-tp17749116p17749116.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

             reply	other threads:[~2008-06-10  7:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-10  7:10 sandesh [this message]
     [not found] ` <4cac40570806100338o3c900afam4693f3c981c5a336@mail.gmail.com>
     [not found]   ` <1213096883.12366.8.camel@ec4t16cg-1518809>
2008-06-10 11:26     ` Printing debug message from hypervisor Grzegorz Miłoś
     [not found]       ` <1213099175.12366.14.camel@ec4t16cg-1518809>
2008-06-10 13:52         ` Grzegorz Miłoś
     [not found]           ` <1213159519.12366.22.camel@ec4t16cg-1518809>
2008-06-11  8:50             ` Grzegorz Miłoś
     [not found]           ` <1213167503.6399.3.camel@ec4t16cg-1518809>
2008-06-11  8:59             ` Exporting symbols " Grzegorz Miłoś
     [not found]               ` <1213176321.6399.13.camel@ec4t16cg-1518809>
2008-06-11  9:53                 ` Grzegorz Miłoś
     [not found]                   ` <1213180293.6399.17.camel@ec4t16cg-1518809>
2008-06-11 10:24                     ` Grzegorz Miłoś
2008-06-11 13:09                       ` Sandesh

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=17749116.post@talk.nabble.com \
    --to=sandesh.ahiremath@wipro.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.