All of lore.kernel.org
 help / color / mirror / Atom feed
* Question: How to write a file in domain 0?
@ 2009-06-30 15:42 Zhao Lin
  2009-07-12  3:36 ` Samuel Thibault
  0 siblings, 1 reply; 6+ messages in thread
From: Zhao Lin @ 2009-06-30 15:42 UTC (permalink / raw)
  To: xen-devel

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,

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Question: How to write a file in domain 0?
@ 2009-06-30 19:16 Zhao Lin
  0 siblings, 0 replies; 6+ messages in thread
From: Zhao Lin @ 2009-06-30 19:16 UTC (permalink / raw)
  To: xen-devel

============
This email has been sent this morning..but not sure if it's been
received so I'm sending it again.
If this is not the proper mail list for my question, can anyone
suggest the proper one? Thanks,
============

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,

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-12 14:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30 15:42 Question: How to write a file in domain 0? Zhao Lin
2009-07-12  3:36 ` Samuel Thibault
2009-07-12 12:23   ` Zhao Lin
2009-07-12 14:21     ` Hui Kang
2009-07-12 14:59     ` Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2009-06-30 19:16 Zhao Lin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.