Hi list, 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. 2. in order to boot hvm in the stubdom way, should i use dom0_mem= option in the grub or should i not? Thanks. -- Guanqun _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
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? Samuel Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> 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'' ] _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Bonjour,>-----Original Message----- >From: Samuel Thibault [mailto:samuel.thibault@ens-lyon.org] >Sent: Wednesday, September 10, 2008 6:00 AM >To: Lu, Guanqun >Cc: Xen-devel@lists.xensource.com >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@ens-lyon.org> > >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@lists.xensource.com http://lists.xensource.com/xen-devel
Hello, Lu, Guanqun, le Wed 10 Sep 2008 09:05:54 +0800, a écrit :> /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'' ]Well, it depends on your network configuration, whether you are using a bridge, etc. In that regard, the problem is the same as for xmexample.hvm. In any case, you most probably don''t want to give 127.0.0.1 to your domain :)> Do you encounter such a problem?I''m not using a bridge, so I don''t use the configuration above, but it should work when using a bridge. Samuel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel