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

[Xen-devel] Re: Exporting symbols from hypervisor

  • To: Sandesh <sandesh.ahiremath@xxxxxxxxx>
  • From: Grzegorz MiÅoÅ <gm281@xxxxxxxxx>
  • Date: Wed, 11 Jun 2008 09:59:48 +0100
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 11 Jun 2008 02:00:15 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer:sender; b=QIs0CdV5SqgvvDht/CcX98zqq4SKBAeeUA//r+10bDIwVjtPa6ejdO2pt5iA6xXbOc 2rUf+W8W29rGS5YU+XWKNcozizvE/VkeDGMTZgFnfKjD9beybsBz3mW4+0UCO9k8hgDz YmsNzHS3kDzeCzsB+kb0DJV4DWCwfZW6/onI8=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi grzegorz,
I have one more issue. I want to export do_domctl function for
debugging. I did EXPORT_SYMBOL(do_domctl) its not happening. Any idea
about this.

Xen doesn't use modular architecture and consequently EXPORT_SYMBOL macro is a no-op (see: include/xen/config.h). You just need to add do_domctl definition to a header file. Or define it wherever you need with 'extern'.


 Sorry to bother you again and again.

Thanks very much.

On Tue, 2008-06-10 at 14:52 +0100, Grzegorz MiÅoÅ wrote:
I did really mean:
xm dmesg
ok xm dmesg is showing the stuff.
thanks for the info.
Does this mean that the printk's print it to the xenstore??

I don't think it is stored in xenstore itself, but yes, it is buffered
in Dom0.

Xen can be configured to output it's messages on the serial line, and
it also puts it in a buffer (console ring) for Dom0's attention, xm
dmesg should print all the hypervisors output.
how to enable this???
by default it does'nt print it on the serial console.

add the following command line options to your xen configuration
(bootloader config):
com1=115200,8n1 console=com1,tty


Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.


Xen-devel mailing list



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