Commit e8a3b42ae5 for qemu.org

commit e8a3b42ae54e688360c8ac4e6d9f7c4f28c1411f
Author: Denis V. Lunev <den@openvz.org>
Date:   Fri Aug 14 18:07:36 2026 +0200

    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>

diff --git a/hw/ide/core.c b/hw/ide/core.c
index 3716cf1b5d..8190549ee8 100644
--- a/hw/ide/core.c
+++ b/hw/ide/core.c
@@ -1675,7 +1675,6 @@ static bool cmd_specify(IDEState *s, uint8_t cmd)
     if (s->identify_set) {
         ide_identify_chs(s);
     }
-    ide_bus_set_irq(s->bus);

     return true;
 }