mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
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>
This commit is contained in:
parent
868a1a5226
commit
8e729e3b52
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user