diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2012-05-11 11:42:35 -0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2012-06-07 17:18:59 +0300 |
commit | 8e729e3b521d9fcd87fc2e40b6322e684f58bb2e (patch) | |
tree | 692c797d17b98ac38d76f592cb29245e33d353cc /hw/intel-hda.c | |
parent | 868a1a52267daddf933ee18480ae036da029b561 (diff) |
intel-hda: Fix reset of MSI function
Call msi_reset on device reset as still required by the core.
CC: Gerd Hoffmann <kraxel@redhat.com>
CC: qemu-stable@nongnu.org
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')
-rw-r--r-- | hw/intel-hda.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/intel-hda.c b/hw/intel-hda.c index bb11af286a..e38861e5de 100644 --- a/hw/intel-hda.c +++ b/hw/intel-hda.c @@ -1107,6 +1107,9 @@ static void intel_hda_reset(DeviceState *dev) DeviceState *qdev; HDACodecDevice *cdev; + if (d->msi) { + msi_reset(&d->pci); + } intel_hda_regs_reset(d); d->wall_base_ns = qemu_get_clock_ns(vm_clock); |