projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
868a1a5
)
intel-hda: Fix reset of MSI function
author
Jan Kiszka
<jan.kiszka@siemens.com>
Fri, 11 May 2012 14:42:35 +0000
(11:42 -0300)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 7 Jun 2012 14:18:59 +0000
(17:18 +0300)
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>
hw/intel-hda.c
patch
|
blob
|
history
diff --git
a/hw/intel-hda.c
b/hw/intel-hda.c
index bb11af286a81135d3c0384f5072411fa6dacd5b5..e38861e5de1f11f2c3f003d0ebaea0cb94fc3528 100644
(file)
--- 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);