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

Re: [Xen-devel] [PATCH 2 of 3] Check whether a PCI device is assignable

To: "Gianni Tedesco (3P)" <gianni.tedesco@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 2 of 3] Check whether a PCI device is assignable before assigning it do a domU
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Thu, 29 Jul 2010 17:00:44 +0100
Cc: Ian, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Thu, 29 Jul 2010 09:06:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1280418594.1723.2259.camel@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <patchbomb.1280346048@xxxxxxxxxxxxxxxxxxxxxx> <099e4eb3803a528eb5d1.1280346050@xxxxxxxxxxxxxxxxxxxxxx> <1280418594.1723.2259.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Thu, 29 Jul 2010, Gianni Tedesco (3P) wrote:
> Implement both of Stefanos suggestions this time:
> 
> On Wed, 2010-07-28 at 20:40 +0100, Gianni Tedesco wrote:
> > tools/libxl/libxl.h          |    3 +-
> >  tools/libxl/libxl_internal.h |    3 +
> >  tools/libxl/libxl_pci.c      |  186 
> > +++++++++++++++++++++++++++++++++++++++---
> >  tools/libxl/xl.h             |    1 +
> >  tools/libxl/xl_cmdimpl.c     |   36 +++++++-
> >  tools/libxl/xl_cmdtable.c    |    5 +
> >  6 files changed, 214 insertions(+), 20 deletions(-)
> > 
> > 
> > Implement a new libxl function libxl_device_pci_list_assignable. This is
> > used to implement the xl list-assignable-pci-devices command and part of
> > the implementation is used to make sure that PCI devices are not multiply
> > assigned to one or more domU's before doing the passthrough assignment.
> > 
> > The function libxl_device_pci_list changes to libxl_device_pci_list_assigned
> > due to a parameter change for consistency with pci_list_assignable.
> > 
> > Signed-off-by: Gianni Tedesco <gianni.tedesco@xxxxxxxxxx>
> 

Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

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