]> git.proxmox.com Git - qemu.git/commit
pci-assign: Fix error_report of pci-stub message
authorCole Robinson <crobinso@redhat.com>
Fri, 11 Oct 2013 15:52:30 +0000 (11:52 -0400)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 13 Nov 2013 11:48:38 +0000 (15:48 +0400)
commit25a666d2ec0ab6e84489d50495b4c3e250531426
tree0b6d03591578eb08006450069c3d01270f5110e7
parent669aa3f6bdf49663cb5cbceac605c020750263d6
pci-assign: Fix error_report of pci-stub message

Using multiple calls to error_report here means every line is
prefaced with the (potentially long) pci-assign command line
arguments.

Use a single error_printf to preserve the intended formatting.
Since this code path is always preceded by an error_report call,
we don't lose the command line reporting.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/i386/kvm/pci-assign.c