Hello, all. Please, say me, is it possible to show distinct number of threads, cores and number of the virtualized processor inside a guest Xen domains (both PV and HVM)? And if it is possible, how I should achieve this? And I have a similar question about CPU flags. How can I hide some CPU flags and do not show them inside a guest Xen domain? Thank you -- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
antoine.benkemoun@utt.fr
2008-Sep-15 07:11 UTC
Re: [Xen-users] CPUS, cores and threads inside domU
hello, Xen domU''s are separated and are not aware that they are running in Xen (not quite for PV as the kernel is modified). I doubt this is possible since it would pose security problems with clients getting access (even partial) to the hypervisor. You should be able to see what is allocated to your VM but no more... A solution may be to get the dom0 to give the information to the domU''s using an external database. Cheers, Antoine On 9/13/08, Igor Chubin <igor@chub.in> wrote:> > Hello, all. > > > Please, say me, is it possible to show > distinct number of threads, cores and number > of the virtualized processor inside a guest > Xen domains (both PV and HVM)? > > And if it is possible, how I should achieve this? > > And I have a similar question about CPU flags. > How can I hide some CPU flags and do not show them > inside a guest Xen domain? > > > Thank you > > > -- > WBR, i.m.chubin > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >-- Antoine Benkemoun Tel : 03.51.53.57.00 Port : 06.32.88.59.35 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mo, Sep 15, 2008 at 09:11:55 +0200, antoine.benkemoun@utt.fr wrote:> hello, > > Xen domU''s are separated and are not aware that they are running in > Xen (not quite for PV as the kernel is modified). I doubt this is > possible since it would pose security problems with clients getting > access (even partial) to the hypervisor. > You should be able to see what is allocated to your VM but no more... > A solution may be to get the dom0 to give the information to the > domU''s using an external database.Thank you for you answer, Antoine. I''m sorry, I think that I had to formulate my question more precisely. I do not want give domU any information about real hardware. I want to provide it with virtual cpus (it is possible, ant question is not about this) and show this vcpus say as cores of one CPU or as independent CPUS. AFAIU this become possible since Xen 3.3.> > Cheers, > Antoine > > On 9/13/08, Igor Chubin <igor@chub.in> wrote: > > > > Hello, all. > > > > > > Please, say me, is it possible to show > > distinct number of threads, cores and number > > of the virtualized processor inside a guest > > Xen domains (both PV and HVM)? > > > > And if it is possible, how I should achieve this? > > > > And I have a similar question about CPU flags. > > How can I hide some CPU flags and do not show them > > inside a guest Xen domain? > > > > > > Thank you > > > > > > -- > > WBR, i.m.chubin > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > > > > -- > Antoine Benkemoun > Tel : 03.51.53.57.00 > Port : 06.32.88.59.35-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Antoine Benkemoun
2008-Sep-15 09:50 UTC
Re: [Xen-users] CPUS, cores and threads inside domU
Ah ok I understand better your question. You can indeed assign it several vcpu''s since at least version 3.1 which is what I am using. After, these cores will show up as independent CPUs in your VM''s. The config line to add is "vcpus=1" Cheers, Antoine On Mon, Sep 15, 2008 at 11:47 AM, Igor Chubin <igor@chub.in> wrote:> On Mo, Sep 15, 2008 at 09:11:55 +0200, antoine.benkemoun@utt.fr wrote: > > hello, > > > > Xen domU''s are separated and are not aware that they are running in > > Xen (not quite for PV as the kernel is modified). I doubt this is > > possible since it would pose security problems with clients getting > > access (even partial) to the hypervisor. > > You should be able to see what is allocated to your VM but no more... > > A solution may be to get the dom0 to give the information to the > > domU''s using an external database. > > Thank you for you answer, Antoine. > > > I''m sorry, I think that I had to formulate my question more > precisely. > > I do not want give domU any information about real hardware. > I want to provide it with virtual cpus (it is possible, ant question > is not about this) and show this vcpus say as cores of one CPU > or as independent CPUS. AFAIU this become possible since Xen 3.3. > > > > > > Cheers, > > Antoine > > > > On 9/13/08, Igor Chubin <igor@chub.in> wrote: > > > > > > Hello, all. > > > > > > > > > Please, say me, is it possible to show > > > distinct number of threads, cores and number > > > of the virtualized processor inside a guest > > > Xen domains (both PV and HVM)? > > > > > > And if it is possible, how I should achieve this? > > > > > > And I have a similar question about CPU flags. > > > How can I hide some CPU flags and do not show them > > > inside a guest Xen domain? > > > > > > > > > Thank you > > > > > > > > > -- > > > WBR, i.m.chubin > > > > > > > > > _______________________________________________ > > > Xen-users mailing list > > > Xen-users@lists.xensource.com > > > http://lists.xensource.com/xen-users > > > > > > > > > -- > > Antoine Benkemoun > > Tel : 03.51.53.57.00 > > Port : 06.32.88.59.35 > > -- > WBR, i.m.chubin > >-- Antoine Benkemoun Tel : 03.51.53.57.00 Port : 06.32.88.59.35 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mo, Sep 15, 2008 at 11:50:48 +0200, Antoine Benkemoun wrote:> Ah ok I understand better your question. > > You can indeed assign it several vcpu''s since at least version 3.1 which is > what I am using. After, these cores will show up as independent CPUs in your > VM''s. > > The config line to add is "vcpus=1"Yes, right, and I want to present this vcpus to domU as cores of one processor (not as independent processors). AFAIU this become possible since Xen 3.3. But I don''t know how to do this. Question was about this.> > Cheers, > Antoine > > On Mon, Sep 15, 2008 at 11:47 AM, Igor Chubin <igor@chub.in> wrote: > > > On Mo, Sep 15, 2008 at 09:11:55 +0200, antoine.benkemoun@utt.fr wrote: > > > hello, > > > > > > Xen domU''s are separated and are not aware that they are running in > > > Xen (not quite for PV as the kernel is modified). I doubt this is > > > possible since it would pose security problems with clients getting > > > access (even partial) to the hypervisor. > > > You should be able to see what is allocated to your VM but no more... > > > A solution may be to get the dom0 to give the information to the > > > domU''s using an external database. > > > > Thank you for you answer, Antoine. > > > > > > I''m sorry, I think that I had to formulate my question more > > precisely. > > > > I do not want give domU any information about real hardware. > > I want to provide it with virtual cpus (it is possible, ant question > > is not about this) and show this vcpus say as cores of one CPU > > or as independent CPUS. AFAIU this become possible since Xen 3.3. > > > > > > > > > > Cheers, > > > Antoine > > > > > > On 9/13/08, Igor Chubin <igor@chub.in> wrote: > > > > > > > > Hello, all. > > > > > > > > > > > > Please, say me, is it possible to show > > > > distinct number of threads, cores and number > > > > of the virtualized processor inside a guest > > > > Xen domains (both PV and HVM)? > > > > > > > > And if it is possible, how I should achieve this? > > > > > > > > And I have a similar question about CPU flags. > > > > How can I hide some CPU flags and do not show them > > > > inside a guest Xen domain? > > > > > > > > > > > > Thank you > > > > > > > > > > > > -- > > > > WBR, i.m.chubin > > > > > > > > > > > > _______________________________________________ > > > > Xen-users mailing list > > > > Xen-users@lists.xensource.com > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > -- > > > Antoine Benkemoun > > > Tel : 03.51.53.57.00 > > > Port : 06.32.88.59.35 > > > > -- > > WBR, i.m.chubin > > > > > > > -- > Antoine Benkemoun > Tel : 03.51.53.57.00 > Port : 06.32.88.59.35-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Antoine Benkemoun
2008-Sep-15 11:03 UTC
Re: [Xen-users] CPUS, cores and threads inside domU
Ah I see what you mean now ! I won''t be able to help with that though... sorry! Antoine On Mon, Sep 15, 2008 at 12:59 PM, Igor Chubin <igor@chub.in> wrote:> On Mo, Sep 15, 2008 at 11:50:48 +0200, Antoine Benkemoun wrote: > > Ah ok I understand better your question. > > > > You can indeed assign it several vcpu''s since at least version 3.1 which > is > > what I am using. After, these cores will show up as independent CPUs in > your > > VM''s. > > > > The config line to add is "vcpus=1" > > > Yes, right, and I want to present this vcpus to domU > as cores of one processor (not as independent processors). > AFAIU this become possible since Xen 3.3. > But I don''t know how to do this. > Question was about this. > > > > > Cheers, > > Antoine > > > > On Mon, Sep 15, 2008 at 11:47 AM, Igor Chubin <igor@chub.in> wrote: > > > > > On Mo, Sep 15, 2008 at 09:11:55 +0200, antoine.benkemoun@utt.fr wrote: > > > > hello, > > > > > > > > Xen domU''s are separated and are not aware that they are running in > > > > Xen (not quite for PV as the kernel is modified). I doubt this is > > > > possible since it would pose security problems with clients getting > > > > access (even partial) to the hypervisor. > > > > You should be able to see what is allocated to your VM but no more... > > > > A solution may be to get the dom0 to give the information to the > > > > domU''s using an external database. > > > > > > Thank you for you answer, Antoine. > > > > > > > > > I''m sorry, I think that I had to formulate my question more > > > precisely. > > > > > > I do not want give domU any information about real hardware. > > > I want to provide it with virtual cpus (it is possible, ant question > > > is not about this) and show this vcpus say as cores of one CPU > > > or as independent CPUS. AFAIU this become possible since Xen 3.3. > > > > > > > > > > > > > > Cheers, > > > > Antoine > > > > > > > > On 9/13/08, Igor Chubin <igor@chub.in> wrote: > > > > > > > > > > Hello, all. > > > > > > > > > > > > > > > Please, say me, is it possible to show > > > > > distinct number of threads, cores and number > > > > > of the virtualized processor inside a guest > > > > > Xen domains (both PV and HVM)? > > > > > > > > > > And if it is possible, how I should achieve this? > > > > > > > > > > And I have a similar question about CPU flags. > > > > > How can I hide some CPU flags and do not show them > > > > > inside a guest Xen domain? > > > > > > > > > > > > > > > Thank you > > > > > > > > > > > > > > > -- > > > > > WBR, i.m.chubin > > > > > > > > > > > > > > > _______________________________________________ > > > > > Xen-users mailing list > > > > > Xen-users@lists.xensource.com > > > > > http://lists.xensource.com/xen-users > > > > > > > > > > > > > > > > > -- > > > > Antoine Benkemoun > > > > Tel : 03.51.53.57.00 > > > > Port : 06.32.88.59.35 > > > > > > -- > > > WBR, i.m.chubin > > > > > > > > > > > > -- > > Antoine Benkemoun > > Tel : 03.51.53.57.00 > > Port : 06.32.88.59.35 > > -- > WBR, i.m.chubin > >-- Antoine Benkemoun Tel : 03.51.53.57.00 Port : 06.32.88.59.35 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users