[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Sending messages from Xen to a domain with VIRQ_DEBUG


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Rami Rosen <rosenrami@xxxxxxxxx>
  • Date: Thu, 15 Sep 2005 07:00:55 -0400
  • Delivery-date: Thu, 15 Sep 2005 10:58:45 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type; b=rvjcWcc+fodB8rUFUBcT3BmKdrFPX4YMLA4AmeTXoGO7/5m8D31Gf8PjBWigpq7kX4UMEV4JHVDjZbHvDnlyXkwichFq4LrZqbxTi72xh6WVPNpxLozRJXp+bHMoswRq0wK42e7/96bF8BG4pfgVwYjbM+G7Y+B98UGguIeyf+o=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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







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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.