Skip to contentSkip to conversation

QEMU/PCI shutdown event

Qemu-devel Clemens Kolbitsch 1 participant 1 message May 30, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
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_reset handler.
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 :-(