[libvirt] [PATCH 2/3] qemu: prevent invalid reads in qemuAssignDevicePCISlots

Eric Blake eblake at redhat.com
Fri Apr 26 22:14:52 UTC 2013


On 04/26/2013 10:31 AM, Ján Tomko wrote:
> Don't reserve slot 2 for video if the machine has no PCI buses.
> Error out when the user specifies a video device without
> a PCI address when there are no PCI buses.
> 
> (This wouldn't work on a machine with no PCI bus anyway since
> we do add PCI addresses for video devices to the command line)
> ---
>  src/qemu/qemu_command.c | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130426/de8f08aa/attachment-0001.sig>


More information about the libvir-list mailing list