From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephan Seitz Subject: Re: VT-d support in HVM? Date: Fri, 08 Feb 2008 18:41:58 +0100 Message-ID: <47AC9466.90104@netz-haut.de> References: <094BCE01AFBE9646AF220B0B3F367AAB02B78440@pdsmsx413.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1214380624==" Return-path: In-Reply-To: <094BCE01AFBE9646AF220B0B3F367AAB02B78440@pdsmsx413.ccr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-users-bounces@lists.xensource.com Errors-To: xen-users-bounces@lists.xensource.com To: "You, Yongkang" Cc: XEN Devel - listmembers , XEN User - listmembers List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --===============1214380624== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig945FF3F4419032D5AC8BB181" This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig945FF3F4419032D5AC8BB181 Content-Type: multipart/mixed; boundary="------------050003040800010101060309" This is a multi-part message in MIME format. --------------050003040800010101060309 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable You, Yongkang schrieb: > On Friday, February 08, 2008 11:10 PM, "Stephan Seitz" wrote: >> My question is, do I need to add patches, or use specific changesets >> to have VT-d code available in xen / dom0 kernel? If so, could >> someone provide me link?=20 >=20 > There is a VT-d quick README in xen_source/docs/misc/vtd.txt > Anotherr link: > http://wiki.xensource.com/xenwiki/VTdHowTo?highlight=3D%28vtd%29 Thanks for your quick response, next time I'll take a look at /docs first= =2E.. ;) Anyway, I've tried this with my currently available kernel (with pciback = as module), as well as I did pciback hiding via modprobe the HVM refuses to load the= pci device (No vt-d or device not found or device not hidden). I'm not sure if this is caused by an unsupported chipset or my xen-build.= So I'll follow the docs step-by-step and post the results later. By now xm dmesg shows following statement about VT-D: (Don't know if this messages is caused by an unsupported chipset. I'll se= e...) \ \/ /___ _ __ |___ / |___ \ / _ \ \ // _ \ '_ \ |_ \ __) || | | | / \ __/ | | | ___) | / __/ | |_| | /_/\_\___|_| |_| |____(_)_____(_)___/ (XEN) Xen version 3.2.0 (root@halo.local) (gcc version 4.1.3 20070929 (pr= erelease) (Ubuntu 4.1.2-16ubuntu2)) Mon Jan 21=20 10:18:53 CET 2008 (XEN) Latest ChangeSet: unavailable (XEN) Command line: loopback.nloopbacks=3D16 dom0_mem=3D512M vtd=3D1 (XEN) Video information: (XEN) VGA is text mode 80x25, font 8x16 (XEN) VBE/DDC methods: none; EDID transfer time: 2 seconds (XEN) EDID info not retrieved because no DDC retrieval method detected (XEN) Disc information: (XEN) Found 2 MBR signatures (XEN) Found 2 EDD information structures (XEN) Xen-e820 RAM map: (XEN) 0000000000000000 - 000000000009dc00 (usable) (XEN) 000000000009dc00 - 00000000000a0000 (reserved) (XEN) 00000000000ce000 - 00000000000d0000 (reserved) (XEN) 00000000000e0000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 00000000cfe70000 (usable) (XEN) 00000000cfe70000 - 00000000cfe83000 (ACPI data) (XEN) 00000000cfe83000 - 00000000cfe86000 (ACPI NVS) (XEN) 00000000cfe86000 - 00000000d0000000 (reserved) (XEN) 00000000e0000000 - 00000000f0000000 (reserved) (XEN) 00000000fec00000 - 00000000fed00000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ff000000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 0000000130000000 (usable) (XEN) System RAM: 4094MB (4192308kB) (XEN) Xen heap: 14MB (14952kB) (XEN) Domain heap initialised: DMA width 32 bits (XEN) Processor #0 6:15 APIC version 20 (XEN) Processor #1 6:15 APIC version 20 (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 (XEN) IOAPIC[1]: apic_id 3, version 32, address 0xfecc0000, GSI 24-47 (XEN) IOAPIC[2]: apic_id 4, version 32, address 0xfecc0400, GSI 48-71 (XEN) Enabling APIC mode: Flat. Using 3 I/O APICs (XEN) [VT-D]ACPI DMAR:Unknown DMAR structure type (XEN) [VT-D]ACPI DMAR:No DMAR devices found (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Detected 2660.040 MHz processor. (XEN) HVM: VMX enabled (XEN) CPU0: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz stepping 0b (XEN) Booting processor 1/1 eip 8c000 (XEN) CPU1: Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz stepping 0b (XEN) Total of 2 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) Platform timer overflows in 14998 jiffies. (XEN) Platform timer is 14.318MHz HPET (XEN) Brought up 2 CPUs (XEN) AMD IOMMU: Disabled (XEN) *** LOADING DOMAIN 0 *** (XEN) Xen kernel: 64-bit, lsb, compat32 (XEN) Dom0 kernel: 64-bit, lsb, paddr 0xffffffff80200000 -> 0xffffffff80= 680688 (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 000000012a000000->000000012c000000 (122880 pages to= be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff80200000->ffffffff80680688 (XEN) Init. ramdisk: ffffffff80681000->ffffffff81a58a00 (XEN) Phys-Mach map: ffffffff81a59000->ffffffff81b59000 (XEN) Start info: ffffffff81b59000->ffffffff81b594a4 (XEN) Page tables: ffffffff81b5a000->ffffffff81b6b000 (XEN) Boot stack: ffffffff81b6b000->ffffffff81b6c000 (XEN) TOTAL: ffffffff80000000->ffffffff81c00000 (XEN) ENTRY ADDRESS: ffffffff80200000 (XEN) Dom0 has maximum 2 VCPUs [...] >> Indeed, I found a lot of information in xen-devel, but I don't know >> which of the submitted patches are accepted and which are merged into >> mercurial.=20 >> >> Is redirection of e.g. a pci network card or a pci isdn card possible >> for hvm domU's without special driver support by the guest (say: >> windows)?=20 >=20 > Guest needs drivers to enable devices. Dom0 doesn't need.=20 >=20 >> Is there any support for pci/e and/or pci-x? >=20 > Yes. It supports PCIe and PCI/x devices. But, guest doesn't supported M= SI yet. For example, in Linux (kernel >=3D2.6.18), it needs an additional= kernel boot option: "pci=3Dnomsi". >=20 > Best Regards, > Yongkang You --=20 Stephan Seitz Senior System Administrator *netz-haut* e.K. multimediale kommunikation zweierweg 22 97074 w=FCrzburg fon: +49 931 2876247 fax: +49 931 2876248 web: www.netz-haut.de registriergericht: amtsgericht w=FCrzburg, hra 5054 --------------050003040800010101060309 Content-Type: text/x-vcard; charset=utf-8; name="s_seitz.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="s_seitz.vcf" 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 --------------050003040800010101060309-- --------------enig945FF3F4419032D5AC8BB181 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHrJRpsU1z66G/Ui4RArdXAJ4rD0BqMJ1y6clus+oK0SP9OAYqCwCfT+Ch R7LgxGzxyvoEI7QDiHEVebQ= =fvHc -----END PGP SIGNATURE----- --------------enig945FF3F4419032D5AC8BB181-- --===============1214380624== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --===============1214380624==--