Hello all, please tell me, how can I be sure that my Xen installation is built with Intel VT-d support? Something like xm info | grep -i KEY-REGULAR-EXPRESSION xm dmesg | grep -i KEY-REGULAR-EXPRESSION What line I should look for? And if it''s really built with it, how can I be sure, that Xen has successfully initialized VT-d hardware? I have read [1] and the lists archives and found no answers for my question. Thank you in advance. [1] http://wiki.xensource.com/xenwiki/VTdHowTo -- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
----- "Stephan Seitz" <s.seitz@netz-haut.de> wrote:> Igor Chubin schrieb: > > > > Hello all, > > > > > > please tell me, how can I be sure that > > my Xen installation is built with Intel VT-d support? > > > > Something like > > > > xm info | grep -i KEY-REGULAR-EXPRESSION > > xm dmesg | grep -i KEY-REGULAR-EXPRESSION > > > > > > What line I should look for? > > > > And if it''s really built with it, > > how can I be sure, that Xen has successfully > > initialized VT-d hardware? > > As far as I know, xm dmesg should show this, but I didn''t find any > vt-d enabled hardware by now. > If you''re hardware supports vt-d could you please post the model and > vendor? > > > > > I have read [1] and the lists archives > > and found no answers for my question. > > > > > > > > Thank you in advance. > > > > > > > > [1] http://wiki.xensource.com/xenwiki/VTdHowTo > >You should try a cat /proc/cpuinfo and search for vmx. If you see this in the dom0, then it recognizes the VT instruction set in the CPU. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Stephan Seitz wrote:> Igor Chubin schrieb: >> >> Hello all, >> >> please tell me, how can I be sure that my Xen installation is built >> with Intel VT-d support? >> >> Something like >> xm info | grep -i KEY-REGULAR-EXPRESSION >> xm dmesg | grep -i KEY-REGULAR-EXPRESSION >> >> >> What line I should look for? >> >> And if it''s really built with it, how can I be sure, that Xen has >> successfully initialized VT-d hardware? > > As far as I know, xm dmesg should show this, but I didn''t find any > vt-d enabled hardware by now. > If you''re hardware supports vt-d could you please post the model and > vendor? > > > >> I have read [1] and the lists archives and found no answers for my >> question. >> >> >> >> Thank you in advance. >> >> >> >> [1] http://wiki.xensource.com/xenwiki/VTdHowTo >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-usersWhat''s the difference between vt & vtd ? -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, Mar 05, 2008 at 12:00:06PM +0100, Stephan Seitz wrote:> Igor Chubin schrieb: > > Hello all, please tell me, how can I be sure that my Xen installation is > > built with Intel VT-d support? > > Something like xm info | grep -i KEY-REGULAR-EXPRESSION > > xm dmesg | grep -i KEY-REGULAR-EXPRESSION > > What line I should look for? > > And if it''s really built with it, how can I be sure, that Xen has > > successfully initialized VT-d hardware? > > As far as I know, xm dmesg should show this, but I didn''t find any vt-d > enabled hardware by now. > If you''re hardware supports vt-d could you please post the model and vendor?This is in my xm dmesg: (XEN) HVM: VMX enabled (XEN) VMX: MSR intercept bitmap enabled (XEN) CPU0: Intel(R) Xeon(R) CPU E5430 @ 2.66GHz stepping 06 And in my xm info: xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 Note that VMX support might be disabled by the BIOS. -- lfr 0/0 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Guys, thank you for your answers, but the question was not about VMX, but about VT-d. It''s not the same! On Mi, Mär 05, 2008 at 10:31:59 +0000, Luciano Rocha wrote:> On Wed, Mar 05, 2008 at 12:00:06PM +0100, Stephan Seitz wrote: > > Igor Chubin schrieb: > > > Hello all, please tell me, how can I be sure that my Xen installation is > > > built with Intel VT-d support? > > > Something like xm info | grep -i KEY-REGULAR-EXPRESSION > > > xm dmesg | grep -i KEY-REGULAR-EXPRESSION > > > What line I should look for? > > > And if it''s really built with it, how can I be sure, that Xen has > > > successfully initialized VT-d hardware? > > > > As far as I know, xm dmesg should show this, but I didn''t find any vt-d > > enabled hardware by now. > > If you''re hardware supports vt-d could you please post the model and vendor? > > This is in my xm dmesg: > (XEN) HVM: VMX enabled > (XEN) VMX: MSR intercept bitmap enabled > (XEN) CPU0: Intel(R) Xeon(R) CPU E5430 @ 2.66GHz stepping 06 > > And in my xm info: > xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 > hvm-3.0-x86_32p hvm-3.0-x86_64 > > Note that VMX support might be disabled by the BIOS. > > -- > lfr > 0/0> _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mi, Mär 05, 2008 at 12:00:06 +0100, Stephan Seitz wrote:> Igor Chubin schrieb: >> >> Hello all, >> >> >> please tell me, how can I be sure that my Xen installation is built >> with Intel VT-d support? >> >> Something like >> >> xm info | grep -i KEY-REGULAR-EXPRESSION >> xm dmesg | grep -i KEY-REGULAR-EXPRESSION >> >> >> What line I should look for? >> >> And if it''s really built with it, how can I be sure, that Xen has >> successfully initialized VT-d hardware? > > As far as I know, xm dmesg should show this, but I didn''t find any vt-d enabled hardware by now. > If you''re hardware supports vt-d could you please post the model and vendor? > >xm dmesg output does not change when I switch VT-d off in BIOS. I can''t find any information related to VT-d at all. Any clues? I use HP Compac dc7800 [1] fom my experiments. I know that this hw (hw with VT-d support) is very rare, so as far I can touch it now with my own hands, I want to try VT-d on it. [1] http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/12454-12454-64287-321860-3328898-3459241.htm> >> I have read [1] and the lists archives and found no answers for my >> question. >> >> >> >> Thank you in advance. >> >> >> >> [1] http://wiki.xensource.com/xenwiki/VTdHowTo >> > > > -- > Stephan Seitz > Senior System Administrator > > *netz-haut* e.K. > multimediale kommunikation > > zweierweg 22 > 97074 würzburg > > fon: +49 931 2876247 > fax: +49 931 2876248 > > web: www.netz-haut.de <http://www.netz-haut.de/> > > registriergericht: amtsgericht würzburg, hra 5054> begin:vcard > fn:Stephan Seitz > n:Seitz;Stephan > org:netz-haut e.K. > adr:;;Zweierweg 22;Wuerzburg;Bayern;97074;Deutschland > email;internet:s.seitz@netz-haut.de > title:Senior System Administrator > tel;work:+49-931-287-6247 > tel;fax:+49-931-287-6248 > x-mozilla-html:FALSE > url:http://www.schwarz-mode.de/files/ > version:2.1 > end:vcard >-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
----- "Igor Chubin" <igor@chub.in> wrote:> Guys, thank you for your answers, but the question was > not about VMX, but about VT-d. > It''s not the same! > > > On Mi, Mär 05, 2008 at 10:31:59 +0000, Luciano Rocha wrote: > > On Wed, Mar 05, 2008 at 12:00:06PM +0100, Stephan Seitz wrote: > > > Igor Chubin schrieb: > > > > Hello all, please tell me, how can I be sure that my Xen > installation is > > > > built with Intel VT-d support? > > > > Something like xm info | grep -i KEY-REGULAR-EXPRESSION > > > > xm dmesg | grep -i KEY-REGULAR-EXPRESSION > > > > What line I should look for? > > > > And if it''s really built with it, how can I be sure, that Xen > has > > > > successfully initialized VT-d hardware? > > > > > > As far as I know, xm dmesg should show this, but I didn''t find > any vt-d > > > enabled hardware by now. > > > If you''re hardware supports vt-d could you please post the model > and vendor? > > > > This is in my xm dmesg: > > (XEN) HVM: VMX enabled > > (XEN) VMX: MSR intercept bitmap enabled > > (XEN) CPU0: Intel(R) Xeon(R) CPU E5430 @ 2.66GHz stepping > 06 > > > > And in my xm info: > > xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p > hvm-3.0-x86_32 > > hvm-3.0-x86_32p hvm-3.0-x86_64 > > > > Note that VMX support might be disabled by the BIOS. > > > > -- > > lfr > > 0/0What do you mean by: it is not the same? If VT is enabled in the BIOS you will see vmx as processor capability in /proc/cpuinfo. If VT is disabled in the BIOS, you will not see vmx in the capabilities array. VT == VT-d == vmx unless I really missed something... Cheers, Jeroen _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
...> What''s the difference between vt & vtd ?To say short VT is CPU virtualization and VT-d is I/O virtualization. Take a look at the page [1] for more information. Be means of VT-d you can try to make PCI-passthrough of some HW (e.g. network card) into HVM domain. This is impossible without VT-d (you can do PCI passthrough into PV-domains only). [1] http://en.wikipedia.org/wiki/IOMMU> > -- > > Kind Regards > Rudi Ahlers > CEO, SoftDux > > Web: http://www.SoftDux.com > Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stugg >-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
...> > What do you mean by: it is not the same? If VT is enabled in the BIOS you will see vmx as processor capability in /proc/cpuinfo. If VT is disabled in the BIOS, you will not see vmx in the capabilities array. VT == VT-d == vmx unless I really missed something... >VT-d != VT Here [1] is really (imho) good paper related to VT-d. [1] http://www.intel.com/technology/itj/2006/v10i3/2-io/7-conclusion.htm> Cheers, > Jeroen > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Igor Chubin schrieb:> > Hello all, > > > please tell me, how can I be sure that > my Xen installation is built with Intel VT-d support? > > Something like > > xm info | grep -i KEY-REGULAR-EXPRESSION > xm dmesg | grep -i KEY-REGULAR-EXPRESSION > > > What line I should look for? > > And if it''s really built with it, > how can I be sure, that Xen has successfully > initialized VT-d hardware?As far as I know, xm dmesg should show this, but I didn''t find any vt-d enabled hardware by now. If you''re hardware supports vt-d could you please post the model and vendor?> I have read [1] and the lists archives > and found no answers for my question. > > > > Thank you in advance. > > > > [1] http://wiki.xensource.com/xenwiki/VTdHowTo >-- Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 würzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de <http://www.netz-haut.de/> registriergericht: amtsgericht würzburg, hra 5054 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
----- "Igor Chubin" <igor@chub.in> wrote:> ... > > > > What do you mean by: it is not the same? If VT is enabled in the > BIOS you will see vmx as processor capability in /proc/cpuinfo. If VT > is disabled in the BIOS, you will not see vmx in the capabilities > array. VT == VT-d == vmx unless I really missed something... > > > > > VT-d != VT > > > Here [1] is really (imho) good paper related to VT-d. > > [1] > http://www.intel.com/technology/itj/2006/v10i3/2-io/7-conclusion.htmI think I owe you some appologies. Sorry for the mixup. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I use HP Compac dc7800 [1] fom my experiments. > I know that this hw (hw with VT-d support) is very rare, > so as far I can touch it now with my own hands, I want to try VT-d on it. > > > [1] http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/12454-12454-64287-321860-3328898-3459241.htmHi Igor, Does xen 3.1 vanilla kernel 2.6.18 work ok on this hardware, or you had to use some ubuntu or fedora xen kernel? Thanks Alex _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mi, Mär 05, 2008 at 02:58:52 +0200, Alexander Piavka wrote:>> I use HP Compac dc7800 [1] fom my experiments. >> I know that this hw (hw with VT-d support) is very rare, >> so as far I can touch it now with my own hands, I want to try VT-d on it. >> >> >> [1] http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/12454-12454-64287-321860-3328898-3459241.htm > > Hi Igor, > Does xen 3.1 vanilla kernel 2.6.18 work ok on this hardware, > or you had to use some ubuntu or fedora xen kernel?Vanilla kernel works fine and Debian GNU/Linux (2.6.18) works fine. Just one thing: to boot kernel correctly I must specify pci=nommconf as kernel command line argument.> > Thanks > Alex-- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Igor Chubin wrote:> > Hello all, > > > please tell me, how can I be sure that > my Xen installation is built with Intel VT-d support? > > Something like > > xm info | grep -i KEY-REGULAR-EXPRESSION > xm dmesg | grep -i KEY-REGULAR-EXPRESSION >Should be visible in both IMHO. I have a Core2 Duo on Q35 Express machine, which does VT-d, but no Xen on in. If there exists Xen 3.2 live CD (used to exist for 3.0), I would be glad to try it and see what''s in xm info/dmesg. Can''t find such a CD now... Šarūnas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHzq2UejaFVltl6E8RAsEwAJ9jlThEQ7bM37Zh8NPi7UZjQ7tVgQCfW65i 7vIfLknJcuP/eusIoTdI6QY=eA5c -----END PGP SIGNATURE----- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 5 Mar 2008, Igor Chubin wrote:> On Mi, Mär 05, 2008 at 02:58:52 +0200, Alexander Piavka wrote: >>> I use HP Compac dc7800 [1] fom my experiments. >>> I know that this hw (hw with VT-d support) is very rare, >>> so as far I can touch it now with my own hands, I want to try VT-d on it. >>> >>> >>> [1] http://h10010.www1.hp.com/wwpc/us/en/sm/WF06a/12454-12454-64287-321860-3328898-3459241.htm >> >> Hi Igor, >> Does xen 3.1 vanilla kernel 2.6.18 work ok on this hardware, >> or you had to use some ubuntu or fedora xen kernel? > > Vanilla kernel works fine > and Debian GNU/Linux (2.6.18) works fine. > > Just one thing: > to boot kernel correctly I must > specify > > pci=nommconfAt least it''s better than all-generic-ide pci=nommconf irqpoll which i had to specifiy with ICH9 chipset to boot non xen 2.6.18 kernels, and still it it did not work with xen vanilla kernel 2.6.18, the only xen enabled kernel which reasonably worked with ICH9 chipset was from ubuntu. Another question, as i understand with VT-d and pci passthrough enabled in the xen-3.2 kernel it should be possible to give HVM domU direct & priviliged access to the whole pci disk controller. But is it possible to give HVM domU direct & priviliged access only to specific hard disk attached to this disk controller? Thanks Alex> > as kernel command line argument. > >> >> Thanks >> Alex > > -- > WBR, i.m.chubin_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
...>> Vanilla kernel works fine >> and Debian GNU/Linux (2.6.18) works fine. >> >> Just one thing: >> to boot kernel correctly I must >> specify >> >> pci=nommconf > > At least it''s better than all-generic-ide pci=nommconf irqpoll > which i had to specifiy with ICH9 chipset to boot non xen 2.6.18 > kernels, and still it it did not work with xen vanilla kernel 2.6.18, the > only > xen enabled kernel which reasonably worked with ICH9 chipset was from ubuntu.What happens when you specify only pci=nommconf ?> > Another question, as i understand with VT-d and pci passthrough enabled > in the xen-3.2 kernel it should be possible to give HVM domU direct & > priviliged access to the whole pci disk controller. But is it possible to > give HVM domU direct & priviliged access only to specific hard disk > attached to this disk controller?No, it is impossible, AFAIK. You can passthrough only entire PCI-device, so you can not give access to just one disk. To say short, you can passthrough units, which you can see using lspci command. -- WBR, i.m.chubin _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 5 Mar 2008, Igor Chubin wrote:> ... >>> Vanilla kernel works fine >>> and Debian GNU/Linux (2.6.18) works fine. >>> >>> Just one thing: >>> to boot kernel correctly I must >>> specify >>> >>> pci=nommconf >> >> At least it''s better than all-generic-ide pci=nommconf irqpoll >> which i had to specifiy with ICH9 chipset to boot non xen 2.6.18 >> kernels, and still it it did not work with xen vanilla kernel 2.6.18, the >> only >> xen enabled kernel which reasonably worked with ICH9 chipset was from ubuntu. > > > What happens when you specify only pci=nommconf ?Frankly i don''t remember exactly but AFAIR, without pci=nommconf the boot process would simply hang, and with pci=nommconf it would fail to pin some irqs Alex> >> >> Another question, as i understand with VT-d and pci passthrough enabled >> in the xen-3.2 kernel it should be possible to give HVM domU direct & >> priviliged access to the whole pci disk controller. But is it possible to >> give HVM domU direct & priviliged access only to specific hard disk >> attached to this disk controller? > > No, it is impossible, AFAIK. > You can passthrough only entire PCI-device, > so you can not give access to just one disk. > > > To say short, you can passthrough units, > which you can see using lspci command. > > > -- > WBR, i.m.chubin > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users