Re: [PATCH v5 9/9] xen/pciback: Implement PCI reset slot or bus with 'do_flr' SysFS attribute

From: Konrad Rzeszutek Wilk
Date: Thu Dec 04 2014 - 07:06:51 EST



On Dec 4, 2014 6:30 AM, David Vrabel <david.vrabel@xxxxxxxxxx> wrote:
>
> On 03/12/14 21:40, Konrad Rzeszutek Wilk wrote:
> >
> > Instead of doing all this complex dance, we depend on the toolstack
> > doing the right thing. As such implement the 'do_flr' SysFS attribute
> > which 'xl' uses when a device is detached or attached from/to a guest.
> > It bypasses the need to worry about the PCI lock.
>
> No. Get pciback to add its own "reset" sysfs file (as I have repeatedly
> proposed).
>

Which does not work as the kobj will complain (as there is already an 'reset' associated with the PCI device).

Unless you mean an different name (reset2).

> David