Skip to contentSkip to conversation

make linux soft-suspend works in qemu

PATCH New [email protected] 1 participant 1 message Dec 1, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make linux soft-suspend works in qemu

Hi Fabrice Bellard :
This patch can make qemu i386 system emulater support ide sleep command, with this linux soft-suspend works.

Index: ide.c
===================================================================
RCS file: /cvsroot/qemu/qemu/hw/ide.c,v
retrieving revision 1.31

ide.c +2 -1
diff -u -r1.31 ide.c
@@ -1569,7 +1575,8 @@
                 goto abort_cmd;
             }
             break;
-	case WIN_STANDBYNOW1:
+		case WIN_STANDBYNOW1:
+		case WIN_IDLEIMMEDIATE:
 	    s->status = READY_STAT;
             ide_set_irq(s);
             break;
Signature · 4 lines
--
Hu Gang / Steve
Linux Registered User 204016
GPG Public Key: http://soulinfo.com/~hugang/hugang.asc