qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Trapping ctrl-c
@ 2006-07-07 14:26 Martin Garton
  2006-07-07 15:00 ` WaxDragon
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Garton @ 2006-07-07 14:26 UTC (permalink / raw)
  To: qemu devel

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 instances
running with the vnc option and would mean the user does not have to use
vnc multiple times to shut down but instead could just do "killall qemu"

-- 
Martin.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Trapping ctrl-c
  2006-07-07 14:26 [Qemu-devel] Trapping ctrl-c Martin Garton
@ 2006-07-07 15:00 ` WaxDragon
  2006-07-07 15:10   ` Martin Garton
  0 siblings, 1 reply; 3+ messages in thread
From: WaxDragon @ 2006-07-07 15:00 UTC (permalink / raw)
  To: qemu-devel

It's a nice idea, but awfully *nix specific. ;0)

On 7/7/06, Martin Garton <martin@stupids.org> wrote:
> 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 instances
> running with the vnc option and would mean the user does not have to use
> vnc multiple times to shut down but instead could just do "killall qemu"
>
> --
> Martin.
>
>
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>


-- 
<GedMurphy> why does the size matter?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] Trapping ctrl-c
  2006-07-07 15:00 ` WaxDragon
@ 2006-07-07 15:10   ` Martin Garton
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Garton @ 2006-07-07 15:10 UTC (permalink / raw)
  To: qemu-devel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-07 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-07 14:26 [Qemu-devel] Trapping ctrl-c Martin Garton
2006-07-07 15:00 ` WaxDragon
2006-07-07 15:10   ` Martin Garton

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).