How do I get qemu to shut down when Windows 2000/XP powers off? Or, how do I get hiberation support with Windows 2000/XP? I use qemu 0.7.0 or 0.6.
You need to use the updated qemu BIOS available here. Alternatively, you get get the Bochs BIOS source code and patch it yourself with this patch. Also, if you are using a version before 0.7.0, you will need to apply this patch to qemu source code and recompile or else user mode networking (-user-net option) will break.