* [Qemu-devel] QEMU/PCI shutdown event
[not found] <20070504203016.2791gmx1@mx033.gmx.net>
@ 2007-05-28 11:05 ` Clemens Kolbitsch
2007-05-28 11:46 ` Dor Laor
0 siblings, 1 reply; 3+ messages in thread
From: Clemens Kolbitsch @ 2007-05-28 11:05 UTC (permalink / raw)
To: qemu-devel
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!!
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [Qemu-devel] QEMU/PCI shutdown event
2007-05-28 11:05 ` Clemens Kolbitsch
@ 2007-05-28 11:46 ` Dor Laor
0 siblings, 0 replies; 3+ messages in thread
From: Dor Laor @ 2007-05-28 11:46 UTC (permalink / raw)
To: qemu-devel
>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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [Qemu-devel] QEMU/PCI shutdown event
[not found] <20070530160333.16819gmx1@mx091.gmx.net>
@ 2007-05-30 18:48 ` Clemens Kolbitsch
0 siblings, 0 replies; 3+ messages in thread
From: Clemens Kolbitsch @ 2007-05-30 18:48 UTC (permalink / raw)
To: qemu-devel
>>> 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.
>>
>>
> dear qemu-developers,
> i think it would be very helpful, if such a possibility exists.. maybe
> you could consider implementing this in a future release :-)
>
> just a suggestion ;-)
>
> greets!
>
sorry for this aweful post!! seems i forgot to delete half the message :-(
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-05-30 18:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20070530160333.16819gmx1@mx091.gmx.net>
2007-05-30 18:48 ` [Qemu-devel] QEMU/PCI shutdown event Clemens Kolbitsch
[not found] <20070504203016.2791gmx1@mx033.gmx.net>
2007-05-28 11:05 ` Clemens Kolbitsch
2007-05-28 11:46 ` Dor Laor
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).