* [Qemu-devel] [PATCH] make linux soft-suspend works in qemu
@ 2004-12-01 2:56 hugang
0 siblings, 0 replies; only message in thread
From: hugang @ 2004-12-01 2:56 UTC (permalink / raw)
To: qemu-devel
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
diff -u -r1.31 ide.c
--- ide.c 17 Nov 2004 22:35:32 -0000 1.31
+++ ide.c 1 Dec 2004 02:55:08 -0000
@@ -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;
--
--
Hu Gang / Steve
Linux Registered User 204016
GPG Public Key: http://soulinfo.com/~hugang/hugang.asc
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-01 3:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-01 2:56 [Qemu-devel] [PATCH] make linux soft-suspend works in qemu hugang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).