WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Samuel Thibault" <samuel.thibault@xxxxxxxxxxxx>
Subject: [Xen-devel] RE: [PATCH] stubdom questions
From: "Lu, Guanqun" <guanqun.lu@xxxxxxxxx>
Date: Wed, 10 Sep 2008 09:05:54 +0800
Cc: Xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 09 Sep 2008 18:06:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20080909215952.GC4711@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <82C666AA63DC75449C51EAD62E8B2BECD9C23C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20080909215952.GC4711@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckSySftjssd3WvwQ8GUjFLflaIaygAFsqrw
Thread-topic: [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

<Prev in Thread] Current Thread [Next in Thread>