WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Xend: allow pci-stub to hide devices for assignment

To: 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Xend: allow pci-stub to hide devices for assignment
From: "Han, Weidong" <weidong.han@xxxxxxxxx>
Date: Fri, 3 Jul 2009 16:48:45 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, "Cui, Dexuan" <dexuan.cui@xxxxxxxxx>
Delivery-date: Fri, 03 Jul 2009 01:50:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acn7uxM13WTRVx1XQi+V4bfJ7ulllA==
Thread-topic: [Xen-devel] [PATCH] Xend: allow pci-stub to hide devices for assignment
pciback is used by VT-d to hide device for assigment. But in pv-ops dom0, 
pciback is not supported yet. Fortunately, pci-stub module is used to hide 
device in Linux for KVM VT-d device assignment and it's included in pv-ops 
dom0. So can use pci-stub to hide devices for assignment.

Device must be hidden before assignment. Control panel has checks if devices 
can be assigned or not, and can list assignable devices via reading devices 
owned by pciback. This patch changes the checks, and also list assignable 
devices which are owned by pci-stub. Use pci-stub to hide devices, and use this 
patch to pass checkes in control panel, device assignemnt with VT-d works on 
Xen with pv-ops dom0.


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

Attachment: pci-stub.patch
Description: pci-stub.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Xend: allow pci-stub to hide devices for assignment, Han, Weidong <=