Hello all, I hope that it now works and there is no longer problems with my mailsystem. It could be that it already worked but it doesn''t look like because the mail don''t came back from the list. I am trying to setup stubdomains for my running domains on Xen 4.2. I read this wiki articles: http://wiki.xen.org/wiki/StubDom http://wiki.xen.org/wiki/Device_Model_Stub_Domains I am able to activate a stubdomain for a normal domain but this domain is so basic in it''s resources (e.g. 32MB RAM) that the normal guest can''t be used. How can I tell the domain that it should use a stubdomain with an explicit configuration? Do I need to create a config file for the stubdomain in the same folder where the configuration for the normal domain is stored? Or how could I do this? And should I use stubdomains for PV and HVM guest or does only HVM guests support stubdomains? Would be greate to get a few answers. Best Regards
On Tue, 2012-12-11 at 07:22 +0000, xen@lippux.com wrote:> Hello all, > > I hope that it now works and there is no longer problems with my > mailsystem. It could be that it already worked but it doesn''t look > like because the mail don''t came back from the list. > > I am trying to setup stubdomains for my running domains on Xen 4.2. I > read this wiki articles: > > > http://wiki.xen.org/wiki/StubDom > http://wiki.xen.org/wiki/Device_Model_Stub_Domains > > I am able to activate a stubdomain for a normal domain but this domain > is so basic in it''s resources (e.g. 32MB RAM) that the normal guest > can''t be used.I''m not sure what you mean by this.> How can I tell the domain that it should use a > stubdomain with an explicit configuration? Do I need to create a > config file for the stubdomain in the same folder where the > configuration for the normal domain is stored? Or how could I do this?Enabling stubdomains for an existing HVM guest should be a case of adding a single line to its configuration file: device_model_stubdomain_override = 1 This option is described in the xl.cfg(5) man page and is referenced by the second wiki page you linked above. If you continue to have trouble then please provide log files and your guest configuration file. http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen contains a handy list of places to look for logs etc.> And should I use stubdomains for PV and HVM guest or does only HVM > guests support stubdomains?A qemu stubdomain only makes sense for an HVM guest since a PV guest has no emulated devices and therefore no emulated devices (which is what a qemu stub provides).> > Would be greate to get a few answers. > > Best Regards > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users
Zitat von Ian Campbell <Ian.Campbell@citrix.com>:> On Tue, 2012-12-11 at 07:22 +0000, xen@lippux.com wrote: >> Hello all, >> >> I hope that it now works and there is no longer problems with my >> mailsystem. It could be that it already worked but it doesn''t look >> like because the mail don''t came back from the list. >> >> I am trying to setup stubdomains for my running domains on Xen 4.2. I >> read this wiki articles: >> >> >> http://wiki.xen.org/wiki/StubDom >> http://wiki.xen.org/wiki/Device_Model_Stub_Domains >> >> I am able to activate a stubdomain for a normal domain but this domain >> is so basic in it''s resources (e.g. 32MB RAM) that the normal guest >> can''t be used. > > I''m not sure what you mean by this. > >> How can I tell the domain that it should use a >> stubdomain with an explicit configuration? Do I need to create a >> config file for the stubdomain in the same folder where the >> configuration for the normal domain is stored? Or how could I do this? > > Enabling stubdomains for an existing HVM guest should be a case of > adding a single line to its configuration file: > device_model_stubdomain_override = 1 > > This option is described in the xl.cfg(5) man page and is referenced by > the second wiki page you linked above. > > If you continue to have trouble then please provide log files and your > guest configuration file. > http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen contains a handy > list of places to look for logs etc. > >> And should I use stubdomains for PV and HVM guest or does only HVM >> guests support stubdomains? > > A qemu stubdomain only makes sense for an HVM guest since a PV guest has > no emulated devices and therefore no emulated devices (which is what a > qemu stub provides). > >> >> Would be greate to get a few answers. >> >> Best Regards >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-usersHello Ian, I tested it with the directive device_model_stubdomain_override again an now this works, in the past I always had the problem that the stubdomain got created but the guest speed was so low that it couldn''t be used so I thought that the memory of the stubdomain which is shown in lx list would be the reason. So does the configuration of the stubdomain which is created with device_model_stubdomain_override created is the default and best way? And does PV guests support ioemu stubdomains? Best Regards
Ian, is the http://wiki.xen.org/wiki/StubDom page up-to-date? It would be good to clear this up (and move the old stuff - if it doesn not work any more) into a Xen 3.x and Xen 4.x section. I can do this, I just don''t know from this thread whether the page is still valid. Lars On 11/12/2012 09:37, Ian Campbell wrote:> On Tue, 2012-12-11 at 07:22 +0000, xen@lippux.com wrote: >> Hello all, >> >> I hope that it now works and there is no longer problems with my >> mailsystem. It could be that it already worked but it doesn''t look >> like because the mail don''t came back from the list. >> >> I am trying to setup stubdomains for my running domains on Xen 4.2. I >> read this wiki articles: >> >> >> http://wiki.xen.org/wiki/StubDom >> http://wiki.xen.org/wiki/Device_Model_Stub_Domains >> >> I am able to activate a stubdomain for a normal domain but this domain >> is so basic in it''s resources (e.g. 32MB RAM) that the normal guest >> can''t be used. > I''m not sure what you mean by this. > >> How can I tell the domain that it should use a >> stubdomain with an explicit configuration? Do I need to create a >> config file for the stubdomain in the same folder where the >> configuration for the normal domain is stored? Or how could I do this? > Enabling stubdomains for an existing HVM guest should be a case of > adding a single line to its configuration file: > device_model_stubdomain_override = 1 > > This option is described in the xl.cfg(5) man page and is referenced by > the second wiki page you linked above. > > If you continue to have trouble then please provide log files and your > guest configuration file. > http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen contains a handy > list of places to look for logs etc. > >> And should I use stubdomains for PV and HVM guest or does only HVM >> guests support stubdomains? > A qemu stubdomain only makes sense for an HVM guest since a PV guest has > no emulated devices and therefore no emulated devices (which is what a > qemu stub provides). > >> Would be greate to get a few answers. >> >> Best Regards >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users
That page looks very obsolete to me. I have no idea if the steps it describes are needed for xm/xend but they are certainly not correct for xl. http://wiki.xen.org/wiki/Device_Model_Stub_Domains is correct for xl AFAICT. On Tue, 2012-12-11 at 11:48 +0000, Lars Kurth wrote:> Ian, > is the http://wiki.xen.org/wiki/StubDom page up-to-date? It would be > good to clear this up (and move the old stuff - if it doesn not work any > more) into a Xen 3.x and Xen 4.x section. I can do this, I just don''t > know from this thread whether the page is still valid. > Lars > > On 11/12/2012 09:37, Ian Campbell wrote: > > On Tue, 2012-12-11 at 07:22 +0000, xen@lippux.com wrote: > >> Hello all, > >> > >> I hope that it now works and there is no longer problems with my > >> mailsystem. It could be that it already worked but it doesn''t look > >> like because the mail don''t came back from the list. > >> > >> I am trying to setup stubdomains for my running domains on Xen 4.2. I > >> read this wiki articles: > >> > >> > >> http://wiki.xen.org/wiki/StubDom > >> http://wiki.xen.org/wiki/Device_Model_Stub_Domains > >> > >> I am able to activate a stubdomain for a normal domain but this domain > >> is so basic in it''s resources (e.g. 32MB RAM) that the normal guest > >> can''t be used. > > I''m not sure what you mean by this. > > > >> How can I tell the domain that it should use a > >> stubdomain with an explicit configuration? Do I need to create a > >> config file for the stubdomain in the same folder where the > >> configuration for the normal domain is stored? Or how could I do this? > > Enabling stubdomains for an existing HVM guest should be a case of > > adding a single line to its configuration file: > > device_model_stubdomain_override = 1 > > > > This option is described in the xl.cfg(5) man page and is referenced by > > the second wiki page you linked above. > > > > If you continue to have trouble then please provide log files and your > > guest configuration file. > > http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen contains a handy > > list of places to look for logs etc. > > > >> And should I use stubdomains for PV and HVM guest or does only HVM > >> guests support stubdomains? > > A qemu stubdomain only makes sense for an HVM guest since a PV guest has > > no emulated devices and therefore no emulated devices (which is what a > > qemu stub provides). > > > >> Would be greate to get a few answers. > >> > >> Best Regards > >> > >> > >> _______________________________________________ > >> Xen-users mailing list > >> Xen-users@lists.xen.org > >> http://lists.xen.org/xen-users > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xen.org > > http://lists.xen.org/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users
Zitat von Ian Campbell <Ian.Campbell@citrix.com>:> That page looks very obsolete to me. I have no idea if the steps it > describes are needed for xm/xend but they are certainly not correct for > xl. http://wiki.xen.org/wiki/Device_Model_Stub_Domains is correct for xl > AFAICT. > > On Tue, 2012-12-11 at 11:48 +0000, Lars Kurth wrote: >> Ian, >> is the http://wiki.xen.org/wiki/StubDom page up-to-date? It would be >> good to clear this up (and move the old stuff - if it doesn not work any >> more) into a Xen 3.x and Xen 4.x section. I can do this, I just don''t >> know from this thread whether the page is still valid. >> Lars >> >> On 11/12/2012 09:37, Ian Campbell wrote: >> > On Tue, 2012-12-11 at 07:22 +0000, xen@lippux.com wrote: >> >> Hello all, >> >> >> >> I hope that it now works and there is no longer problems with my >> >> mailsystem. It could be that it already worked but it doesn''t look >> >> like because the mail don''t came back from the list. >> >> >> >> I am trying to setup stubdomains for my running domains on Xen 4.2. I >> >> read this wiki articles: >> >> >> >> >> >> http://wiki.xen.org/wiki/StubDom >> >> http://wiki.xen.org/wiki/Device_Model_Stub_Domains >> >> >> >> I am able to activate a stubdomain for a normal domain but this domain >> >> is so basic in it''s resources (e.g. 32MB RAM) that the normal guest >> >> can''t be used. >> > I''m not sure what you mean by this. >> > >> >> How can I tell the domain that it should use a >> >> stubdomain with an explicit configuration? Do I need to create a >> >> config file for the stubdomain in the same folder where the >> >> configuration for the normal domain is stored? Or how could I do this? >> > Enabling stubdomains for an existing HVM guest should be a case of >> > adding a single line to its configuration file: >> > device_model_stubdomain_override = 1 >> > >> > This option is described in the xl.cfg(5) man page and is referenced by >> > the second wiki page you linked above. >> > >> > If you continue to have trouble then please provide log files and your >> > guest configuration file. >> > http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen contains a handy >> > list of places to look for logs etc. >> > >> >> And should I use stubdomains for PV and HVM guest or does only HVM >> >> guests support stubdomains? >> > A qemu stubdomain only makes sense for an HVM guest since a PV guest has >> > no emulated devices and therefore no emulated devices (which is what a >> > qemu stub provides). >> > >> >> Would be greate to get a few answers. >> >> >> >> Best Regards >> >> >> >> >> >> _______________________________________________ >> >> Xen-users mailing list >> >> Xen-users@lists.xen.org >> >> http://lists.xen.org/xen-users >> > >> > >> > _______________________________________________ >> > Xen-users mailing list >> > Xen-users@lists.xen.org >> > http://lists.xen.org/xen-users >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-usersHello, yes so for a Windows guest this works now, can PV guests use ioemu Stub Domains also? And are there some documents about xenstore stubdomains? For driver domains there is a document in the wiki, will try to get it working but for xenstore stubdomains I can''t find anything. Best Regards
On Tue, 2012-12-11 at 12:29 +0000, xen@lippux.com wrote:> > yes so for a Windows guest this works now, can PV guests use ioemu > Stub Domains also? And are there some documents about xenstore > stubdomains? For driver domains there is a document in the wiki, > will > try to get it working but for xenstore stubdomains I can''t find > anything.As I said in my earlier reply, there is no such thing as an ioemu for a PV guest and therefore no stub-ioemu. Ian
Zitat von Ian Campbell <Ian.Campbell@citrix.com>:> On Tue, 2012-12-11 at 12:29 +0000, xen@lippux.com wrote: >> >> yes so for a Windows guest this works now, can PV guests use ioemu >> Stub Domains also? And are there some documents about xenstore >> stubdomains? For driver domains there is a document in the wiki, >> will >> try to get it working but for xenstore stubdomains I can''t find >> anything. > > As I said in my earlier reply, there is no such thing as an ioemu for a > PV guest and therefore no stub-ioemu. > > Ian > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-usersOk. And how can I integrate a xenstore stubdomain in the setup? Best Regards
On Tue, 2012-12-11 at 14:12 +0000, xen@lippux.com wrote:> how can I integrate a xenstore stubdomain in the setup?I''m not aware of any docs on that, you probably want to checkout the init-xenstore-domain tool for building the domain and search the list archives (esp those for xen-devel). There are also requirements on the dom0 kernel, probably a recent pvops kernel would be sufficient. Ian.
I had a go at the wiki pages If anybody manages to integrate a xenstore stubdomain, it would be great if you could let us know how to do it Lars On 11/12/2012 14:25, Ian Campbell wrote:> On Tue, 2012-12-11 at 14:12 +0000, xen@lippux.com wrote: >> how can I integrate a xenstore stubdomain in the setup? > I''m not aware of any docs on that, you probably want to checkout the > init-xenstore-domain tool for building the domain and search the list > archives (esp those for xen-devel). There are also requirements on the > dom0 kernel, probably a recent pvops kernel would be sufficient. > > Ian. > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users
I added xenstore stub dom to the doc day TODO list as well. On Tue, 2012-12-11 at 15:30 +0000, Lars Kurth wrote:> I had a go at the wiki pages > If anybody manages to integrate a xenstore stubdomain, it would be great > if you could let us know how to do it > Lars > > On 11/12/2012 14:25, Ian Campbell wrote: > > On Tue, 2012-12-11 at 14:12 +0000, xen@lippux.com wrote: > >> how can I integrate a xenstore stubdomain in the setup? > > I''m not aware of any docs on that, you probably want to checkout the > > init-xenstore-domain tool for building the domain and search the list > > archives (esp those for xen-devel). There are also requirements on the > > dom0 kernel, probably a recent pvops kernel would be sufficient. > > > > Ian. > > > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xen.org > > http://lists.xen.org/xen-users > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users