Re: [PATCH 3.10 037/319] xen/pciback: Save xen_pci_op commands before processing it

From: Willy Tarreau
Date: Mon Feb 06 2017 - 17:34:29 EST


On Mon, Feb 06, 2017 at 09:33:45AM -0500, Konrad Rzeszutek Wilk wrote:
> On Sun, Feb 05, 2017 at 08:20:24PM +0100, Willy Tarreau wrote:
> > From: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> >
> > commit 8135cf8b092723dbfcc611fe6fdcb3a36c9951c5 upstream.
>
> You also need:
>
> commit d159457b84395927b5a52adb72f748dd089ad5e5
> Author: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
> Date: Thu Feb 11 16:10:24 2016 -0500
>
> xen/pciback: Save the number of MSI-X entries to be copied later.
>
> Commit 8135cf8b092723dbfcc611fe6fdcb3a36c9951c5 (xen/pciback: Save
> xen_pci_op commands before processing it) broke enabling MSI-X because
> it would never copy the resulting vectors into the response. The
> number of vectors requested was being overwritten by the return value
> (typically zero for success).

Now added as well, thanks Konrad!

Willy