[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Qemu-devel] QEMU/PCI shutdown event
From: |
Dor Laor |
Subject: |
RE: [Qemu-devel] QEMU/PCI shutdown event |
Date: |
Mon, 28 May 2007 04:46:41 -0700 |
>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.