summaryrefslogtreecommitdiffstats
path: root/include/hw/i386
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2017-10-19 04:15:05 +0200
committerMichael S. Tsirkin2017-11-16 16:46:53 +0100
commitd06bce95ff8c6e2f290db150695f826c3d57324f (patch)
tree4f361d5c2a12a8c5a6f30e5fcd38d96cc00a9647 /include/hw/i386
parentfix: unrealize virtio device if we fail to hotplug it (diff)
downloadqemu-d06bce95ff8c6e2f290db150695f826c3d57324f.tar.gz
qemu-d06bce95ff8c6e2f290db150695f826c3d57324f.tar.xz
qemu-d06bce95ff8c6e2f290db150695f826c3d57324f.zip
pci: Initialize pci_dev->name before use
This moves pci_dev->name initialization earlier so pci_dev->bus_master_as could get a name instead of an empty string. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/i386')
0 files changed, 0 insertions, 0 deletions