[Qemu-devel] acpi and shutting down.

2006-08-20 Thread Martin Garton
Hi, Just an idea, but now that acpi is supported, how difficult would it be to catch the TERM signal and generate a power button event? Just curious. -- Martin. ___ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/list

Re: [Qemu-devel] Trapping ctrl-c

2006-07-07 Thread Martin Garton
On Fri, 2006-07-07 at 11:00 -0400, WaxDragon wrote: > It's a nice idea, but awfully *nix specific. ;0) True, but it could be supplemented by the same idea when a user presses the close button on the gui window. That could work on all versions. -- Martin. _

[Qemu-devel] Trapping ctrl-c

2006-07-07 Thread Martin Garton
Hi, Now that ACPI is supported, does anyone agree that it would make sense to trap SIGINT (any perhaps SIGTERM) and use it to generate an acpi power button event? That way, operating systems that support it could shut down cleanly. This would be particularly useful when you have multiple qemu in