@samitouri / QOSamiQemu / commits / e8a3b42ae5

hw/ide: drop a redundant interrupt from INITIALIZE DEVICE PARAMETERS

ide_bus_exec_cmd() raises the interrupt for every command handler that reports the command complete, which cmd_specify() does, so the request it raised itself was the first of two. The one from ide_bus_exec_cmd() is the one that belongs there, being raised after BSY is cleared and after ide_cmd_done() has let the bus master post its own completion. Cc: John Snow <jsnow@redhat.com> Cc: Peter Maydell <peter.maydell@linaro.org> Cc: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>

Denis V. Lunev committed Aug 14, 2026 at 18:07 UTC e8a3b42ae54e688360c8ac4e6d9f7c4f28c1411f
1 file changed -1
hw/ide/core.c
-1
@@ -1675,7 +1675,6 @@ static bool cmd_specify(IDEState *s, uint8_t cmd)
1675 if (s->identify_set) {
1676 ide_identify_chs(s);
1677 }
1678 - ide_bus_set_irq(s->bus);
1678
1679 return true;
1680 }