diff options
author | Jan Kiszka | 2012-05-11 16:42:39 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2012-06-07 16:19:00 +0200 |
commit | 7c9958b04333a79a1fdb11583aca48a6df2edeb9 (patch) | |
tree | ecae498219e60b1993a32e18ab2bed5d03aac780 /hw/intel-hda.c | |
parent | msi: Invoke msi/msix_reset from PCI core (diff) | |
download | qemu-7c9958b04333a79a1fdb11583aca48a6df2edeb9.tar.gz qemu-7c9958b04333a79a1fdb11583aca48a6df2edeb9.tar.xz qemu-7c9958b04333a79a1fdb11583aca48a6df2edeb9.zip |
msi: Guard msi/msix_write_config with msi_present
Terminate msi/msix_write_config early if support is not enabled. This
allows to remove checks at the caller site if MSI is optional.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/intel-hda.c')
0 files changed, 0 insertions, 0 deletions