diff options
author | 2016-10-10 17:28:45 +0200 | |
---|---|---|
committer | 2016-10-17 15:44:49 -0200 | |
commit | 6333e93c772f78baf26a5c97c1a67ffa7cd76068 (patch) | |
tree | 5ade4168fb3fceea825910c3007028c786a10a83 /util/qemu-thread-posix.c | |
parent | intel_iommu: pass whole remapped addresses to apic (diff) | |
download | qemu-6333e93c772f78baf26a5c97c1a67ffa7cd76068.tar.xz qemu-6333e93c772f78baf26a5c97c1a67ffa7cd76068.zip |
intel_iommu: redo configuraton check in realize
* there no point in configuring the device if realization is going to
fail, so move the check to the beginning,
* create a separate function for the check,
* use error_setg() instead error_report().
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'util/qemu-thread-posix.c')
0 files changed, 0 insertions, 0 deletions