All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [VTD] Update vtd.txt
@ 2008-05-07  8:14 Han, Weidong
  2008-05-07  8:24 ` Han, Weidong
  0 siblings, 1 reply; 12+ messages in thread
From: Han, Weidong @ 2008-05-07  8:14 UTC (permalink / raw)
  To: xen-devel; +Cc: Kay, Allen M, Zhai, Edwin

[-- Attachment #1: Type: text/plain, Size: 303 bytes --]

Update for vtd.txt: add VT-d hotplug description, remove MSI limitation
note because Xen has supported MSI, and add link of VT-d howto on xen
wiki for more information about VT-d enabled systems.

Signed-off-by: Weidong Han <weidong.han@intel.com>
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>

[-- Attachment #2: vtd-doc.patch --]
[-- Type: application/octet-stream, Size: 3089 bytes --]

diff -r 892ae66ed82f docs/misc/vtd.txt
--- a/docs/misc/vtd.txt	Tue May 06 16:35:44 2008 +0100
+++ b/docs/misc/vtd.txt	Wed May 07 16:05:41 2008 +0800
@@ -2,7 +2,7 @@ Authors : Allen Kay    <allen.m.kay@inte
 Authors : Allen Kay    <allen.m.kay@intel.com>
           Weidong Han  <weidong.han@intel.com>
 Created : October-24-2007
-Updated : December-13-2007
+Updated : May-07-2007
 
 How to turn on VT-d in Xen
 --------------------------
@@ -22,7 +22,7 @@ title Xen-Fedora Core (2.6.18-xen)
 title Xen-Fedora Core (2.6.18-xen)
         root (hd0,0)
         kernel /boot/xen.gz com1=115200,8n1 console=com1
-        module /boot/vmlinuz-2.6.18.8-xen root=LABEL=/ ro console=tty0 console=ttyS0,115200,8n1 pciback.hide=(01:00.0)(03:00.0) pciback.verbose_request=1 apic=debug
+        module /boot/vmlinuz-2.6.18.8-xen root=LABEL=/ ro xencons=ttyS console=tty0 console=ttyS0, pciback.hide=(01:00.0)(03:00.0)
         module /boot/initrd-2.6.18-xen.img
 
 12) reboot system
@@ -47,14 +47,39 @@ 1) Host OS: PAE, 64-bit
 1) Host OS: PAE, 64-bit
 2) Guest OS: 32-bit, PAE, 64-bit
 
-Because current Xen doesn't support MSI, for guest OS which uses MSI by default, need to add "pci=nomsi" option on its grub, e.g. RHEL5, FC6.
-
 
 Combinations Tested:
 --------------------
 
 1) 64-bit host: 32/PAE/64 Linux/XP/Win2003/Vista guests
 2) PAE host: 32/PAE Linux/XP/Win2003/Vista guests
+
+
+VTd device hotplug:
+-------------------
+ 
+2 virtual PCI slots (6~7) are reserved in HVM guest to support VTd hotplug. If you have more VTd devices, only 2 of them can support hotplug. Usage is simple:
+
+ 1. List the VTd device by dom. You can see a VTd device 0:2:0.0 is inserted in the HVM domain's PCI slot 6. '''lspci''' inside the guest should see the same.
+
+	[root@vt-vtd ~]# xm pci-list HVMDomainVtd
+	VSlt domain   bus   slot   func
+	0x6    0x0  0x02   0x00    0x0
+
+ 2. Detach the device from the guest by the physical BDF. Then HVM guest will receive a virtual PCI hot removal event to detach the physical device
+
+	[root@vt-vtd ~]# xm pci-detach HVMDomainVtd 0:2:0.0
+
+ 3. Attach a PCI device to the guest by the physical BDF and desired virtual slot(optional). Following command would insert the physical device into guest's virtual slot 7
+
+	[root@vt-vtd ~]# xm pci-attach HVMDomainVtd 0:2:0.0 7
+
+VTd hotplug usage model:
+------------------------
+
+ * For live migration: As you know, VTd device would break the live migration as physical device can't be save/restored like virtual device. With hotplug, live migration is back again. Just hot remove all the VTd devices before live migration and hot add new VTd devices on target machine after live migration.
+
+ * VTd hotplug for device switch: VTd hotplug can be used to dynamically switch physical device between different HVM guest without shutdown.
 
 
 VT-d Enabled Systems
@@ -74,3 +99,5 @@ http://www.dell.com/content/products/cat
 - HP Compaq:  DC7800
 http://h10010.www1.hp.com/wwpc/us/en/en/WF04a/12454-12454-64287-321860-3328898.html
 
+For more information, pls refer to http://wiki.xensource.com/xenwiki/VTdHowTo.
+

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: [PATCH] [VTD] Update vtd.txt
  2008-05-07  8:14 Han, Weidong
@ 2008-05-07  8:24 ` Han, Weidong
  0 siblings, 0 replies; 12+ messages in thread
From: Han, Weidong @ 2008-05-07  8:24 UTC (permalink / raw)
  To: Han, Weidong, xen-devel; +Cc: Kay, Allen M, Zhai, Edwin

[-- Attachment #1: Type: text/plain, Size: 437 bytes --]

Sorry, updated time is wrong in previous patch. Resend the patch to fix
it.

Randy (Weidong)

Han, Weidong wrote:
> Update for vtd.txt: add VT-d hotplug description, remove MSI
> limitation note because Xen has supported MSI, and add link of VT-d
> howto on xen wiki for more information about VT-d enabled systems.
> 
> Signed-off-by: Weidong Han <weidong.han@intel.com>
> Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>


[-- Attachment #2: vtd-doc.patch --]
[-- Type: application/octet-stream, Size: 3089 bytes --]

diff -r 892ae66ed82f docs/misc/vtd.txt
--- a/docs/misc/vtd.txt	Tue May 06 16:35:44 2008 +0100
+++ b/docs/misc/vtd.txt	Wed May 07 16:05:41 2008 +0800
@@ -2,7 +2,7 @@ Authors : Allen Kay    <allen.m.kay@inte
 Authors : Allen Kay    <allen.m.kay@intel.com>
           Weidong Han  <weidong.han@intel.com>
 Created : October-24-2007
-Updated : December-13-2007
+Updated : May-07-2008
 
 How to turn on VT-d in Xen
 --------------------------
@@ -22,7 +22,7 @@ title Xen-Fedora Core (2.6.18-xen)
 title Xen-Fedora Core (2.6.18-xen)
         root (hd0,0)
         kernel /boot/xen.gz com1=115200,8n1 console=com1
-        module /boot/vmlinuz-2.6.18.8-xen root=LABEL=/ ro console=tty0 console=ttyS0,115200,8n1 pciback.hide=(01:00.0)(03:00.0) pciback.verbose_request=1 apic=debug
+        module /boot/vmlinuz-2.6.18.8-xen root=LABEL=/ ro xencons=ttyS console=tty0 console=ttyS0, pciback.hide=(01:00.0)(03:00.0)
         module /boot/initrd-2.6.18-xen.img
 
 12) reboot system
@@ -47,14 +47,39 @@ 1) Host OS: PAE, 64-bit
 1) Host OS: PAE, 64-bit
 2) Guest OS: 32-bit, PAE, 64-bit
 
-Because current Xen doesn't support MSI, for guest OS which uses MSI by default, need to add "pci=nomsi" option on its grub, e.g. RHEL5, FC6.
-
 
 Combinations Tested:
 --------------------
 
 1) 64-bit host: 32/PAE/64 Linux/XP/Win2003/Vista guests
 2) PAE host: 32/PAE Linux/XP/Win2003/Vista guests
+
+
+VTd device hotplug:
+-------------------
+ 
+2 virtual PCI slots (6~7) are reserved in HVM guest to support VTd hotplug. If you have more VTd devices, only 2 of them can support hotplug. Usage is simple:
+
+ 1. List the VTd device by dom. You can see a VTd device 0:2:0.0 is inserted in the HVM domain's PCI slot 6. '''lspci''' inside the guest should see the same.
+
+	[root@vt-vtd ~]# xm pci-list HVMDomainVtd
+	VSlt domain   bus   slot   func
+	0x6    0x0  0x02   0x00    0x0
+
+ 2. Detach the device from the guest by the physical BDF. Then HVM guest will receive a virtual PCI hot removal event to detach the physical device
+
+	[root@vt-vtd ~]# xm pci-detach HVMDomainVtd 0:2:0.0
+
+ 3. Attach a PCI device to the guest by the physical BDF and desired virtual slot(optional). Following command would insert the physical device into guest's virtual slot 7
+
+	[root@vt-vtd ~]# xm pci-attach HVMDomainVtd 0:2:0.0 7
+
+VTd hotplug usage model:
+------------------------
+
+ * For live migration: As you know, VTd device would break the live migration as physical device can't be save/restored like virtual device. With hotplug, live migration is back again. Just hot remove all the VTd devices before live migration and hot add new VTd devices on target machine after live migration.
+
+ * VTd hotplug for device switch: VTd hotplug can be used to dynamically switch physical device between different HVM guest without shutdown.
 
 
 VT-d Enabled Systems
@@ -74,3 +99,5 @@ http://www.dell.com/content/products/cat
 - HP Compaq:  DC7800
 http://h10010.www1.hp.com/wwpc/us/en/en/WF04a/12454-12454-64287-321860-3328898.html
 
+For more information, pls refer to http://wiki.xensource.com/xenwiki/VTdHowTo.
+

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH] [VTD] Update vtd.txt
@ 2008-08-06  9:29 Han, Weidong
  2008-08-06 12:27 ` Ross Philipson
  0 siblings, 1 reply; 12+ messages in thread
From: Han, Weidong @ 2008-08-06  9:29 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]

Add "iommu=1" option in grub, due to VT-d is not enabled by default.

In additoin, describes how to enable MSI/MSI-x for assigned devices. 

Signed-off-by: Weidong Han <weidong.han@intel.com>

[-- Attachment #2: vtd-doc.patch --]
[-- Type: application/octet-stream, Size: 1278 bytes --]

diff -r cc676edf8b97 docs/misc/vtd.txt
--- a/docs/misc/vtd.txt	Wed Aug 06 10:43:07 2008 +0800
+++ b/docs/misc/vtd.txt	Wed Aug 06 17:27:34 2008 +0800
@@ -2,7 +2,7 @@ Authors : Allen Kay    <allen.m.kay@inte
 Authors : Allen Kay    <allen.m.kay@intel.com>
           Weidong Han  <weidong.han@intel.com>
 Created : October-24-2007
-Updated : May-07-2008
+Updated : August-06-2008
 
 How to turn on VT-d in Xen
 --------------------------
@@ -21,7 +21,7 @@ 11) "hide" pci device from dom0 as follo
 
 title Xen-Fedora Core (2.6.18-xen)
         root (hd0,0)
-        kernel /boot/xen.gz com1=115200,8n1 console=com1
+        kernel /boot/xen.gz com1=115200,8n1 console=com1 iommu=1
         module /boot/vmlinuz-2.6.18.8-xen root=LABEL=/ ro xencons=ttyS console=tty0 console=ttyS0, pciback.hide=(01:00.0)(03:00.0)
         module /boot/initrd-2.6.18-xen.img
 
@@ -30,6 +30,11 @@ 13) add "pci" line in /etc/xen/hvm.conf 
         pci = [ '01:00.0', '03:00.0' ]
 15) start hvm guest and use "lspci" to see the passthru device and
     "ifconfig" to see if IP address has been assigned to NIC devices.
+
+
+Enable MSI/MSI-x for assigned devices
+-------------------------------------
+Add "msi=1" option in kernel line of host grub.
 
 
 Caveat on Conventional PCI Device Passthrough

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: [PATCH] [VTD] Update vtd.txt
  2008-08-06  9:29 [PATCH] [VTD] Update vtd.txt Han, Weidong
@ 2008-08-06 12:27 ` Ross Philipson
  2008-08-07  3:47   ` Cui, Dexuan
  0 siblings, 1 reply; 12+ messages in thread
From: Ross Philipson @ 2008-08-06 12:27 UTC (permalink / raw)
  To: xen-devel

So the msi=1 param replaces the msi_irq_enable param. This is a recent
change right?

Thanks
Ross

-----Original Message-----
From: xen-devel-bounces@lists.xensource.com
[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Han, Weidong
Sent: Wednesday, August 06, 2008 5:30 AM
To: xen-devel@lists.xensource.com
Subject: [Xen-devel] [PATCH] [VTD] Update vtd.txt

Add "iommu=1" option in grub, due to VT-d is not enabled by default.

In additoin, describes how to enable MSI/MSI-x for assigned devices. 

Signed-off-by: Weidong Han <weidong.han@intel.com>

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: [PATCH] [VTD] Update vtd.txt
  2008-08-06 12:27 ` Ross Philipson
@ 2008-08-07  3:47   ` Cui, Dexuan
  2008-09-11  1:24     ` Akio Takebe
  0 siblings, 1 reply; 12+ messages in thread
From: Cui, Dexuan @ 2008-08-07  3:47 UTC (permalink / raw)
  To: Ross Philipson, xen-devel

Yes. c/s 18127 made that change: http://xenbits.xensource.com/xen-unstable.hg?rev/89d05940cc1c 

-- Dexuan


-----Original Message-----
From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Ross Philipson
Sent: 2008年8月6日 20:27
To: xen-devel@lists.xensource.com
Subject: RE: [Xen-devel] [PATCH] [VTD] Update vtd.txt

So the msi=1 param replaces the msi_irq_enable param. This is a recent
change right?

Thanks
Ross

-----Original Message-----
From: xen-devel-bounces@lists.xensource.com
[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Han, Weidong
Sent: Wednesday, August 06, 2008 5:30 AM
To: xen-devel@lists.xensource.com
Subject: [Xen-devel] [PATCH] [VTD] Update vtd.txt

Add "iommu=1" option in grub, due to VT-d is not enabled by default.

In additoin, describes how to enable MSI/MSI-x for assigned devices. 

Signed-off-by: Weidong Han <weidong.han@intel.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] [VTD] Update vtd.txt
  2008-08-07  3:47   ` Cui, Dexuan
@ 2008-09-11  1:24     ` Akio Takebe
  2008-09-11  2:23       ` Han, Weidong
  0 siblings, 1 reply; 12+ messages in thread
From: Akio Takebe @ 2008-09-11  1:24 UTC (permalink / raw)
  To: Cui, Dexuan; +Cc: xen-devel, Ross Philipson

Hi,

Could you update the VTd wiki?
http://wiki.xensource.com/xenwiki/VTdHowTo?highlight=(VTd)

Best Regards,

Akio Takebe

Cui, Dexuan wrote:
> Yes. c/s 18127 made that change: http://xenbits.xensource.com/xen-unstable.hg?rev/89d05940cc1c 
> 
> -- Dexuan
> 
> 
> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Ross Philipson
> Sent: 2008年8月6日 20:27
> To: xen-devel@lists.xensource.com
> Subject: RE: [Xen-devel] [PATCH] [VTD] Update vtd.txt
> 
> So the msi=1 param replaces the msi_irq_enable param. This is a recent
> change right?
> 
> Thanks
> Ross
> 
> -----Original Message-----
> From: xen-devel-bounces@lists.xensource.com
> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Han, Weidong
> Sent: Wednesday, August 06, 2008 5:30 AM
> To: xen-devel@lists.xensource.com
> Subject: [Xen-devel] [PATCH] [VTD] Update vtd.txt
> 
> Add "iommu=1" option in grub, due to VT-d is not enabled by default.
> 
> In additoin, describes how to enable MSI/MSI-x for assigned devices. 
> 
> Signed-off-by: Weidong Han <weidong.han@intel.com>
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: [PATCH] [VTD] Update vtd.txt
  2008-09-11  1:24     ` Akio Takebe
@ 2008-09-11  2:23       ` Han, Weidong
  2008-09-11  4:14         ` Akio Takebe
  0 siblings, 1 reply; 12+ messages in thread
From: Han, Weidong @ 2008-09-11  2:23 UTC (permalink / raw)
  To: Akio Takebe, Cui, Dexuan; +Cc: xen-devel, Ross Philipson

I wanted to update VTd wiki. But I didn't have permission to update. 

Randy (Weidong)

Akio Takebe wrote:
> Hi,
> 
> Could you update the VTd wiki?
> http://wiki.xensource.com/xenwiki/VTdHowTo?highlight=(VTd)
> 
> Best Regards,
> 
> Akio Takebe
> 
> Cui, Dexuan wrote:
>> Yes. c/s 18127 made that change:
>> http://xenbits.xensource.com/xen-unstable.hg?rev/89d05940cc1c 
>> 
>> -- Dexuan
>> 
>> 
>> -----Original Message-----
>> From: xen-devel-bounces@lists.xensource.com
>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Ross
>> Philipson Sent: 2008年8月6日 20:27 To: xen-devel@lists.xensource.com 
>> Subject: RE: [Xen-devel] [PATCH] [VTD] Update vtd.txt
>> 
>> So the msi=1 param replaces the msi_irq_enable param. This is a
>> recent 
>> change right?
>> 
>> Thanks
>> Ross
>> 
>> -----Original Message-----
>> From: xen-devel-bounces@lists.xensource.com
>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Han,
>> Weidong 
>> Sent: Wednesday, August 06, 2008 5:30 AM
>> To: xen-devel@lists.xensource.com
>> Subject: [Xen-devel] [PATCH] [VTD] Update vtd.txt
>> 
>> Add "iommu=1" option in grub, due to VT-d is not enabled by default.
>> 
>> In additoin, describes how to enable MSI/MSI-x for assigned devices.
>> 
>> Signed-off-by: Weidong Han <weidong.han@intel.com>
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
>> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] [VTD] Update vtd.txt
  2008-09-11  2:23       ` Han, Weidong
@ 2008-09-11  4:14         ` Akio Takebe
  2008-09-11  4:20           ` Todd Deshane
                             ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Akio Takebe @ 2008-09-11  4:14 UTC (permalink / raw)
  To: Han, Weidong; +Cc: xen-devel, Ross Philipson, Cui, Dexuan

Hi, all

Someone have the permission?
I could not update it, too.

Best Regards,

Akio Takebe

Han, Weidong wrote:
> I wanted to update VTd wiki. But I didn't have permission to update. 
> 
> Randy (Weidong)
> 
> Akio Takebe wrote:
>> Hi,
>>
>> Could you update the VTd wiki?
>> http://wiki.xensource.com/xenwiki/VTdHowTo?highlight=(VTd)
>>
>> Best Regards,
>>
>> Akio Takebe
>>
>> Cui, Dexuan wrote:
>>> Yes. c/s 18127 made that change:
>>> http://xenbits.xensource.com/xen-unstable.hg?rev/89d05940cc1c 
>>>
>>> -- Dexuan
>>>
>>>
>>> -----Original Message-----
>>> From: xen-devel-bounces@lists.xensource.com
>>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Ross
>>> Philipson Sent: 2008年8月6日 20:27 To: xen-devel@lists.xensource.com 
>>> Subject: RE: [Xen-devel] [PATCH] [VTD] Update vtd.txt
>>>
>>> So the msi=1 param replaces the msi_irq_enable param. This is a
>>> recent 
>>> change right?
>>>
>>> Thanks
>>> Ross
>>>
>>> -----Original Message-----
>>> From: xen-devel-bounces@lists.xensource.com
>>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Han,
>>> Weidong 
>>> Sent: Wednesday, August 06, 2008 5:30 AM
>>> To: xen-devel@lists.xensource.com
>>> Subject: [Xen-devel] [PATCH] [VTD] Update vtd.txt
>>>
>>> Add "iommu=1" option in grub, due to VT-d is not enabled by default.
>>>
>>> In additoin, describes how to enable MSI/MSI-x for assigned devices.
>>>
>>> Signed-off-by: Weidong Han <weidong.han@intel.com>
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] [VTD] Update vtd.txt
  2008-09-11  4:14         ` Akio Takebe
@ 2008-09-11  4:20           ` Todd Deshane
  2008-09-11  5:45           ` Cui, Dexuan
  2008-09-12  1:30           ` Han, Weidong
  2 siblings, 0 replies; 12+ messages in thread
From: Todd Deshane @ 2008-09-11  4:20 UTC (permalink / raw)
  To: Akio Takebe; +Cc: xen-devel, Han, Weidong, Ross Philipson, Cui, Dexuan

2008/9/11 Akio Takebe <takebe_akio@jp.fujitsu.com>:
> Hi, all
>
> Someone have the permission?
> I could not update it, too.
>
Get permission from Stephen Spector
http://lists.xensource.com/archives/html/xen-community/2008-07/msg00010.html

Cheers,
Todd

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: [PATCH] [VTD] Update vtd.txt
  2008-09-11  4:14         ` Akio Takebe
  2008-09-11  4:20           ` Todd Deshane
@ 2008-09-11  5:45           ` Cui, Dexuan
  2008-09-12  1:30           ` Han, Weidong
  2 siblings, 0 replies; 12+ messages in thread
From: Cui, Dexuan @ 2008-09-11  5:45 UTC (permalink / raw)
  To: stephen.spector, Akio Takebe, Han, Weidong; +Cc: xen-devel, Ross Philipson

Hi Stephen Spector,
Can you help to update the Xen wiki http://wiki.xensource.com/xenwiki/VTdHowTo ?
Thanks!

-----------------------------
How to enable MSI/MSI-X for assigned devices?

Before changeset 18127: 89d05940cc1c:
Add an option "msi_irq_enable=1" in grub. It should appear like "kernel xen.gz msi_irq_enable=1 <your other options>".
               
>From changeset 18127: 89d05940cc1c to changeset 18453: 7f1c71c6d4c8:
The paramerter is "msi=1"

>From changeset 18454: 65dc37be0443 on, we always have msi=1. We can't use a Xen grub parameter to set the value.


-----------------------------
How to list the currently assignable devices in a host?
>From changeset: 18047:39c2cab9e765 on, there is a shell utility  "xm pci-list-assignable-devices".
The utility finds all the devices owned by pciback, checks if they have proper FLR method, checks if they have page-alinged MMIO BARs, and checks if the devices have been already assigned, finally it prints out the assignable devices.
Note: the utility assumes the integrated devices (whose bus numbers are 0) have proper FLR method.


-- Dexuan


-----Original Message-----
From: Akio Takebe [mailto:takebe_akio@jp.fujitsu.com] 
Sent: 2008年9月11日 12:15
To: Han, Weidong
Cc: Cui, Dexuan; xen-devel@lists.xensource.com; Ross Philipson
Subject: Re: [Xen-devel] [PATCH] [VTD] Update vtd.txt

Hi, all

Someone have the permission?
I could not update it, too.

Best Regards,

Akio Takebe

Han, Weidong wrote:
> I wanted to update VTd wiki. But I didn't have permission to update. 
> 
> Randy (Weidong)
> 
> Akio Takebe wrote:
>> Hi,
>>
>> Could you update the VTd wiki?
>> http://wiki.xensource.com/xenwiki/VTdHowTo?highlight=(VTd)
>>
>> Best Regards,
>>
>> Akio Takebe
>>
>> Cui, Dexuan wrote:
>>> Yes. c/s 18127 made that change:
>>> http://xenbits.xensource.com/xen-unstable.hg?rev/89d05940cc1c 
>>>
>>> -- Dexuan
>>>
>>>
>>> -----Original Message-----
>>> From: xen-devel-bounces@lists.xensource.com
>>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Ross
>>> Philipson Sent: 2008年8月6日 20:27 To: xen-devel@lists.xensource.com 
>>> Subject: RE: [Xen-devel] [PATCH] [VTD] Update vtd.txt
>>>
>>> So the msi=1 param replaces the msi_irq_enable param. This is a
>>> recent 
>>> change right?
>>>
>>> Thanks
>>> Ross
>>>
>>> -----Original Message-----
>>> From: xen-devel-bounces@lists.xensource.com
>>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Han,
>>> Weidong 
>>> Sent: Wednesday, August 06, 2008 5:30 AM
>>> To: xen-devel@lists.xensource.com
>>> Subject: [Xen-devel] [PATCH] [VTD] Update vtd.txt
>>>
>>> Add "iommu=1" option in grub, due to VT-d is not enabled by default.
>>>
>>> In additoin, describes how to enable MSI/MSI-x for assigned devices.
>>>
>>> Signed-off-by: Weidong Han <weidong.han@intel.com>
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>>>
>>
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* RE: [PATCH] [VTD] Update vtd.txt
  2008-09-11  4:14         ` Akio Takebe
  2008-09-11  4:20           ` Todd Deshane
  2008-09-11  5:45           ` Cui, Dexuan
@ 2008-09-12  1:30           ` Han, Weidong
  2008-09-12  3:43             ` Akio Takebe
  2 siblings, 1 reply; 12+ messages in thread
From: Han, Weidong @ 2008-09-12  1:30 UTC (permalink / raw)
  To: Akio Takebe; +Cc: xen-devel, Stephen Spector, Ross Philipson, Cui, Dexuan

I have updated VT-d wiki. Thanks Stephen's help.

Randy (Weidong)

Akio Takebe wrote:
> Hi, all
> 
> Someone have the permission?
> I could not update it, too.
> 
> Best Regards,
> 
> Akio Takebe
> 
> Han, Weidong wrote:
>> I wanted to update VTd wiki. But I didn't have permission to update.
>> 
>> Randy (Weidong)
>> 
>> Akio Takebe wrote:
>>> Hi,
>>> 
>>> Could you update the VTd wiki?
>>> http://wiki.xensource.com/xenwiki/VTdHowTo?highlight=(VTd)
>>> 
>>> Best Regards,
>>> 
>>> Akio Takebe
>>> 
>>> Cui, Dexuan wrote:
>>>> Yes. c/s 18127 made that change:
>>>> http://xenbits.xensource.com/xen-unstable.hg?rev/89d05940cc1c
>>>> 
>>>> -- Dexuan
>>>> 
>>>> 
>>>> -----Original Message-----
>>>> From: xen-devel-bounces@lists.xensource.com
>>>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Ross
>>>> Philipson Sent: 2008年8月6日 20:27 To: xen-devel@lists.xensource.com
>>>> Subject: RE: [Xen-devel] [PATCH] [VTD] Update vtd.txt
>>>> 
>>>> So the msi=1 param replaces the msi_irq_enable param. This is a
>>>> recent change right?
>>>> 
>>>> Thanks
>>>> Ross
>>>> 
>>>> -----Original Message-----
>>>> From: xen-devel-bounces@lists.xensource.com
>>>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Han,
>>>> Weidong Sent: Wednesday, August 06, 2008 5:30 AM
>>>> To: xen-devel@lists.xensource.com
>>>> Subject: [Xen-devel] [PATCH] [VTD] Update vtd.txt
>>>> 
>>>> Add "iommu=1" option in grub, due to VT-d is not enabled by
>>>> default. 
>>>> 
>>>> In additoin, describes how to enable MSI/MSI-x for assigned
>>>> devices. 
>>>> 
>>>> Signed-off-by: Weidong Han <weidong.han@intel.com>
>>>> 
>>>> _______________________________________________
>>>> Xen-devel mailing list
>>>> Xen-devel@lists.xensource.com
>>>> http://lists.xensource.com/xen-devel
>>>> 
>>>> _______________________________________________
>>>> Xen-devel mailing list
>>>> Xen-devel@lists.xensource.com
>>>> http://lists.xensource.com/xen-devel
>>>> 
>>> 
>>> _______________________________________________
>>> Xen-devel mailing list
>>> Xen-devel@lists.xensource.com
>>> http://lists.xensource.com/xen-devel
>> 
>> 
>> _______________________________________________
>> Xen-devel mailing list
>> Xen-devel@lists.xensource.com
>> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH] [VTD] Update vtd.txt
  2008-09-12  1:30           ` Han, Weidong
@ 2008-09-12  3:43             ` Akio Takebe
  0 siblings, 0 replies; 12+ messages in thread
From: Akio Takebe @ 2008-09-12  3:43 UTC (permalink / raw)
  To: Han, Weidong; +Cc: xen-devel, Stephen Spector, Ross Philipson, Cui, Dexuan

Han, Weidong wrote:
> I have updated VT-d wiki. Thanks Stephen's help.
> 
Thanks, Randy and Stephen.

Best Regards,

Akio Takebe

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2008-09-12  3:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-06  9:29 [PATCH] [VTD] Update vtd.txt Han, Weidong
2008-08-06 12:27 ` Ross Philipson
2008-08-07  3:47   ` Cui, Dexuan
2008-09-11  1:24     ` Akio Takebe
2008-09-11  2:23       ` Han, Weidong
2008-09-11  4:14         ` Akio Takebe
2008-09-11  4:20           ` Todd Deshane
2008-09-11  5:45           ` Cui, Dexuan
2008-09-12  1:30           ` Han, Weidong
2008-09-12  3:43             ` Akio Takebe
  -- strict thread matches above, loose matches on Subject: below --
2008-05-07  8:14 Han, Weidong
2008-05-07  8:24 ` Han, Weidong

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.