diff options
| author | Radim Krčmář | 2016-10-10 17:28:45 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2016-10-17 19:44:49 +0200 |
| commit | 6333e93c772f78baf26a5c97c1a67ffa7cd76068 (patch) | |
| tree | 5ade4168fb3fceea825910c3007028c786a10a83 /include/exec | |
| parent | intel_iommu: pass whole remapped addresses to apic (diff) | |
| download | qemu-6333e93c772f78baf26a5c97c1a67ffa7cd76068.tar.gz 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 'include/exec')
0 files changed, 0 insertions, 0 deletions
