[Xen-devel] Printing debug message from hypervisor

sandesh
Tue, 10 Jun 2008 07:10:35 -0000

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.