[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: |
Eduardo Habkost |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/1] Fix assert in PCI address property when used by vfio-pci |
Date: |
Tue, 15 Nov 2016 16:01:52 -0200 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
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.
--
Eduardo