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

[Xen-devel] Question: How to write a file in domain 0?


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Zhao Lin <zlin2@xxxxxxxxxxxxxx>
  • Date: Tue, 30 Jun 2009 11:42:58 -0400
  • Delivery-date: Mon, 06 Jul 2009 08:02:33 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type:content-transfer-encoding; b=WdoTvgh0Vy0rn6F+ys7Dn5A9J4Iq3NBx4JEDclHuMKXPbOxHt5/sIsNOHtA6z9lQDl 2ObGdkdCGjb/WSFWoSjI3E8zuecRlTO4lmF3gdHo0TwvOM+vSDc9mP0Lk/6oWAT18rhW XyYJH/BhaYzIXZb2FVMTtJwfCXnKT4QX2XyPs=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

hey all,

a complete newbie here..I'm trying to implement a hypercall that takes
a string argument and then appends the string to a selected file
stored in domain0's hard disk.

I browsed through the source code but couldn't figure out a way to do
this. I'm thinking that I might need to get a reference to domain 0's
kernel and then ask the kernel to call printk() with the provided
string. Not sure if this is correct since I don't even know how domain
0 as well as other domains is referenced by the hypervisor..

How should I approach this? I'm desperately trying to learn here..

Hope this mailing list is the correct place to post my question..Open
to any suggestion. Thanks,

_______________________________________________
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®.