Re: [Qemu-devel] Virtio device "exit" function

2015-10-16 Thread Stefan Hajnoczi
On Wed, Sep 23, 2015 at 04:32:00PM +, Chris Johnson wrote: > I am working on adding a virtio device to support a PCIe card (PCIe > pass-through wasn't an option). I need to do some cleanup when a VM that is > using this device is shutdown. It doesn't seem like the device_unrealize > function ru

[Qemu-devel] Virtio device "exit" function

2015-09-23 Thread Chris Johnson
Hello, I am working on adding a virtio device to support a PCIe card (PCIe pass-through wasn't an option). I need to do some cleanup when a VM that is using this device is shutdown. It doesn't seem like the device_unrealize function runs on shutdown unlike the device_realize function that run