[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/1] Fix assert in PCI address property when
From: |
Alex Williamson |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/1] Fix assert in PCI address property when used by vfio-pci |
Date: |
Tue, 15 Nov 2016 11:23:23 -0700 |
On Tue, 15 Nov 2016 16:01:52 -0200
Eduardo Habkost <address@hidden> wrote:
> On Thu, Nov 10, 2016 at 12:42:07PM +0000, Daniel Oram wrote:
> > Allow the PCIHostDeviceAddress structure to work as the host property
> > in vfio-pci when it has it's default value of all fields set to ~0. In
> > this form the property indicates a non-existant device but given the
> > field bit sizes gets asserted as excess (and invalid) precision
> > overflows the string buffer. The BDF of an invalid device
> > "FFFF:FF:FF.F" is returned instead.
> >
> > Signed-off-by: Daniel Oram <address@hidden>
> > Reviewed-by: Alex Williamson <address@hidden>
>
> Applied to machine-next after removing trailing-spaces detected
> by checkpatch.pl. Thanks.
Thanks for grabbing this, Eduardo.
Alex