qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Clemens Kolbitsch <clemens.kol@gmx.at>
To: qemu-devel@nongnu.org
Subject: Re: RE: [Qemu-devel] QEMU/PCI shutdown event
Date: Mon, 28 May 2007 18:37:02 +0200	[thread overview]
Message-ID: <465B052E.2070303@gmx.at> (raw)
In-Reply-To: <20070528160302.540gmx1@mx058.gmx.net>


>> hi everyone!
>> i'm programming a pci-device that includes some threads &
>> socket-connections (that allow remote debugging of my device).
>>
>> however, i want to cleanly shutdown all threads and sockets when qemu
>> exits... is there an easy way of getting informed of a qemu shutdown?
>>
>> (something similar to pci_device_init...)
>>
>> thanks!!
>>
>>     
>
> You can use qemu_register_reset handler.
> Note that it get's called when the guests exits but not if you just quit
> the monitor.
>   
hm... since i'm really tearing down qemu quite often (sigint) that's not 
really a solutions for me, but thanks!! If nothing else works, i'll give 
it a try :-)

any other ideas?

       reply	other threads:[~2007-05-28 16:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20070528160302.540gmx1@mx058.gmx.net>
2007-05-28 16:37 ` Clemens Kolbitsch [this message]
2007-05-29  8:42 ` [Qemu-devel] Adding multiple files to qemu Makefile ... a pain Clemens Kolbitsch
2007-05-29 12:50 ` [Qemu-devel] Accepting socket connections in qemu (not the client... the emulator) Clemens Kolbitsch
2007-05-29 13:35   ` [Qemu-devel] " Clemens Kolbitsch
2007-05-29 13:46     ` Johannes Schindelin
2007-05-29 13:56       ` Clemens Kolbitsch
2007-05-29 13:59         ` Johannes Schindelin
2007-05-30 10:50 ` [Qemu-devel] Re: Qemu-devel Digest, Vol 50, Issue 70 Clemens Kolbitsch

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=465B052E.2070303@gmx.at \
    --to=clemens.kol@gmx.at \
    --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).