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 0/2] ioemu: Allow any unused PCI device to be used fo

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [patch 0/2] ioemu: Allow any unused PCI device to be used for pass-through
From: Simon Horman <horms@xxxxxxxxxxxx>
Date: Fri, 20 Mar 2009 11:38:42 +1100
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Delivery-date: Thu, 19 Mar 2009 17:48:02 -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
User-agent: quilt/0.46-1
Motivation
----------

The current limit of 2 pass-through devices seems to be rather small.
These patches remove that limit and allow any unused PCI device to be used
for pass-through, including hotplug.

It seems that the first few (4) devices will be used for other purposes by
HVM domains. However, it seems to me to be clean to make this code generic
and cope with any device on the bus - saving the need for subsequent
changes if the number of devices HVM domains use by default ever changes.

There are also xend and hvmloader patches required for this change.
These have been submitted and subsequently applied as detailed below.

Relevance to 3.4
-----------------

Please consider applying these patches as they are required for hotplug to
work since the firmware and xend portions where applied to xen-unstable.hg
as:

changeset:   19362:986d0ed147ff
user:        Keir Fraser <keir.fraser@xxxxxxxxxx>
date:        Tue Mar 17 10:48:52 2009 +0000
summary:     hvmloader: Allow any unused PCI device to be used for PCI
hotplug

changeset:   19361:6e3e841f0259
user:        Keir Fraser <keir.fraser@xxxxxxxxxx>
date:        Tue Mar 17 10:42:32 2009 +0000
summary:     xend: Use AUTO_PHP_SLOT_STR=0xff rather than 0x0 for auto pci 
allocation

Changes
-------

These patches were previously posted to xen-devel as
"[rfc 0/2] ioemu: Allow any unused PCI device to be used for pass-through"
Dated "Fri, 13 Mar 2009 18:07:34 +1100"

I have revised the 2nd patch to fix a regression in the way that
pt_init handles vslots. A full description of that change is provided
with the patch.

-- 
Simon Horman
  VA Linux Systems Japan K.K., Sydney, Australia Satellite Office
  H: www.vergenet.net/~horms/             W: www.valinux.co.jp/en


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

<Prev in Thread] Current Thread [Next in Thread>