From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rami Rosen Subject: Sending messages from Xen to a domain with VIRQ_DEBUG Date: Thu, 15 Sep 2005 07:00:55 -0400 Message-ID: Reply-To: rosenrami@gmail.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1220938029==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org --===============1220938029== Content-Type: multipart/alternative; boundary="----=_Part_12035_32175349.1126782055153" ------=_Part_12035_32175349.1126782055153 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello, Is there a way to send messages (for debugging purposes) from Xen to a=20 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()=20 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:=20 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= =20 ?=20 Regards, Rami Rosen ------=_Part_12035_32175349.1126782055153 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 poi= nts 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 termin= al.

    I had tried to add in some point in Xen:

     .........
     for_each_vcpu(d,v)
            send_gue= st_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







------=_Part_12035_32175349.1126782055153-- --===============1220938029== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1220938029==--