QEMU/PCI shutdown event
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 19 lines
Quoted 10 lines
Quoted 10 lines
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...)Quoted 9 lines
Quoted 4 lines
thanks!!
You can use
qemu_register_resethandler.
Note that it get's called when the guests exits but not if you just quit the monitor.
Quoted 7 lines
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 :-(