* Re: [9fans] xen boot params and domU plan 9
@ 2005-09-07 5:25 YAMANASHI Takeshi
0 siblings, 0 replies; 4+ messages in thread
From: YAMANASHI Takeshi @ 2005-09-07 5:25 UTC (permalink / raw)
To: 9fans
> how can a domU Plan 9 kernel get the boot parameters
> passed by Xen?
Sorry, I should have looked more cautiously. /env/ip has it.
cpu% ls /env/ip
/env/ip
cpu% echo $ip
131.112.14.153/26:1.2.3.4::::eth0:off VNC_VIEWER=127.0.0.1:5501
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] xen boot params and domU plan 9
2005-09-07 6:31 ` Tim Newsham
@ 2005-09-07 13:06 ` Ronald G Minnich
0 siblings, 0 replies; 4+ messages in thread
From: Ronald G Minnich @ 2005-09-07 13:06 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Tim Newsham wrote:
>> how can a domU Plan 9 kernel get the boot parameters
>> passed by Xen?
>
>
> The arguments should show up in '#e/' and '#ec' as they do
> when booting on the pc.
and you can set up those env variables in the /etc/xen/whatever file you
use to start plan 9, e.g.
extra='''\nventi=#S/sd00/arenas\n'''
sets up my venti env variable. You can have multiple things in there,
hence the \n
ron
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] xen boot params and domU plan 9
2005-09-07 3:01 YAMANASHI Takeshi
@ 2005-09-07 6:31 ` Tim Newsham
2005-09-07 13:06 ` Ronald G Minnich
0 siblings, 1 reply; 4+ messages in thread
From: Tim Newsham @ 2005-09-07 6:31 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
> how can a domU Plan 9 kernel get the boot parameters
> passed by Xen?
The arguments should show up in '#e/' and '#ec' as they do
when booting on the pc.
Tim Newsham
http://www.lava.net/~newsham/
^ permalink raw reply [flat|nested] 4+ messages in thread
* [9fans] xen boot params and domU plan 9
@ 2005-09-07 3:01 YAMANASHI Takeshi
2005-09-07 6:31 ` Tim Newsham
0 siblings, 1 reply; 4+ messages in thread
From: YAMANASHI Takeshi @ 2005-09-07 3:01 UTC (permalink / raw)
To: 9fans
Hi,
how can a domU Plan 9 kernel get the boot parameters
passed by Xen?
I heard that NetBSD domU kernel puts the parameters
in /kern/xen/xmdline;
# cat /kern/xen/cmdline
ip=:1.2.3.4::::eth0:dhcp root=/dev/hda1 VNC_VIEWER=150.82.173.195:5501 screen=800x600
while the domU NetBSD being started by
# xm create -c disk=/home/knoppix/netbsd.fs,hda1,w name=NetBSD kernel=/home/knoppix/netbsd root=/dev/hda1 memory=64 dhcp=dhcp vnc=yes extra="screen=800x600"
Thanks.
--
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-09-07 13:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-07 5:25 [9fans] xen boot params and domU plan 9 YAMANASHI Takeshi
-- strict thread matches above, loose matches on Subject: below --
2005-09-07 3:01 YAMANASHI Takeshi
2005-09-07 6:31 ` Tim Newsham
2005-09-07 13:06 ` Ronald G Minnich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).