qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] QEMU 0.7.0 - IDE patch for Solaris-X86


From: Michael McConnell
Subject: [Qemu-devel] QEMU 0.7.0 - IDE patch for Solaris-X86
Date: Thu, 28 Apr 2005 13:10:07 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040820 Debian/1.7.2-4

This is a forward-port of the patch for 0.6.1 (that I found on the web, may have been this list, a while back) needed to get Solaris-X86 to run with the IDE interface in PCI mode.

--- qemu-0.7.0/hw/ide.c.orig    2005-04-27 21:52:05.000000000 +0100
+++ qemu-0.7.0/hw/ide.c 2005-04-28 08:32:59.000000000 +0100
@@ -500,6 +500,8 @@
 static inline void ide_set_irq(IDEState *s)
 {
     if (!(s->cmd & IDE_CMD_DISABLE_IRQ)) {
+       BMDMAState *bm = s->bmdma;
+       if(bm) bm->status |= BM_STATUS_INT;
 #ifdef TARGET_PPC
         if (s->openpic)
             openpic_set_irq(s->openpic, s->irq, 1);


--
-- Michael "Soruk" McConnell
   Eridani Star System

   MailStripper - "The easy spam filter"
   http://mailstripper.eridani.co.uk/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]