From: hugang@soulinfo.com
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] make linux soft-suspend works in qemu
Date: Wed, 1 Dec 2004 10:56:04 +0800 [thread overview]
Message-ID: <20041201025604.GA13241@hugang.soulinfo.com> (raw)
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
reply other threads:[~2004-12-01 3:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041201025604.GA13241@hugang.soulinfo.com \
--to=hugang@soulinfo.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).