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

[Xen-devel] RE: [PATCH] stubdom questions



Bonjour,

>-----Original Message-----
>From: Samuel Thibault [mailto:samuel.thibault@xxxxxxxxxxxx] 
>Sent: Wednesday, September 10, 2008 6:00 AM
>To: Lu, Guanqun
>Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: [PATCH] stubdom questions
>
>Hello,
>
>Lu, Guanqun, le Tue 09 Sep 2008 12:43:23 +0800, a écrit :
>> 1. There's an inconsistency between the newly modified code 
>(changeset 18226) and the stubdom README file.
>> Lines:
>>      Create /etc/xen/stubdom-hvmconfig (where "hvmconfig" is 
>the name of your HVM
>>      guest) with
>> 
>> should be "/etc/xen/hvmconfig-dm", and of course all the 
>occurrences should be substituted.
>
>Oops, indeed, patch below.
>
>> 2. in order to boot hvm in the stubdom way, should i use 
>dom0_mem= option in the grub or should i not?
>
>Well, I thought the paragraph I added at the beginning of "General
>Configuration" would be clear: yes you need it.  How could that
>paragraph be made clearer?

Yes, it's clear.
I read this paragraph, but I failed several times and don't know the exact 
reason, 
thus I have to check whether I'm on the steady ground.

/etc/xen/xmexample.hvm-dm has the line below:
vif = [ '', 'type=ioemu, bridge=xenbr0' ]
And I would like to know whether you booted successfully with such 
configuration,
I've never succeedded until I change the vif configuration to the simple one:
vif = [ '', 'ip=127.0.0.1, mac=aa:00:00:12:23:34' ]
(and the corresponding vif line in hvmconfig is changed as well.)

Do you encounter such a problem?

Merci.

>
>Samuel
>
>Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
>
>diff -r c9db93b0660a stubdom/README
>--- a/stubdom/README   Wed Sep 03 14:56:08 2008 +0100
>+++ b/stubdom/README   Tue Sep 09 23:56:44 2008 +0200
>@@ -27,7 +27,7 @@
> - disable anything related to dom0, like pty serial assignments
> 
> 
>-Create /etc/xen/stubdom-hvmconfig (where "hvmconfig" is the 
>name of your HVM
>+Create /etc/xen/hvmconfig-dm (where "hvmconfig" is the name 
>of your HVM
> guest) with
> 
> kernel = "/usr/lib/xen/boot/ioemu-stubdom.gz"
>@@ -52,7 +52,7 @@
> vnc = 0
> sdl = 0
> 
>-  - In stubdom-hvmconfig, set an sdl vfb:
>+  - In hvmconfig-dm, set an sdl vfb:
> 
> vfb = [ 'type=sdl' ]
> 
>@@ -65,7 +65,7 @@
> vnc = 1
> vnclisten = "172.30.206.1"
> 
>-  - In stubdom-hvmconfig, fill the reserved vif with the same 
>IP, for instance:
>+  - In hvmconfig-dm, fill the reserved vif with the same IP, 
>for instance:
> 
> vif = [ 'ip=172.30.206.1', 'ip=10.0.1.1,mac=aa:00:00:12:23:34']
> 
>@@ -76,7 +76,7 @@
> vnc = 0
> sdl = 0
> 
>-  - In stubdom-hvmconfig, set a vnc vfb:
>+  - In hvmconfig-dm, set a vnc vfb:
> 
> vfb = [ 'type=vnc' ]
> 
>

--
Guanqun

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