Re: [Xen-devel] [RFC PATCH 4/5] xen/pciback: Move the FLR code to a function.

2013-12-16 Thread Jan Beulich
>>> On 13.12.13 at 17:09, Konrad Rzeszutek Wilk wrote: > +void pcistub_reset_pci_dev(struct pci_dev *dev) > +{ > + /* This is OK - we are running from workqueue context > + * and want to inhibit the user from fiddling with 'reset' > + */ > + > + dev_dbg(&dev->dev, "resetting (FLR

[RFC PATCH 4/5] xen/pciback: Move the FLR code to a function.

2013-12-13 Thread Konrad Rzeszutek Wilk
Moving the bulk of the code its own function to aid in making the 'xen/pciback: PCI reset slot or bus' easier. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/xen/xen-pciback/pci_stub.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/xen/xen-pciback/pci_stub.c b