Re: [Qemu-devel] Guest application exit point.

2018-10-26 Thread Alex Bennée
Rafael K. V. Maeda writes: > Hi, > > I am implementing a plugin that allocates several resources. I need to > cleanup some of these resources when QEMU finishes executing the guest > application. Where is the best exit point to place my cleanup > functions? > > I have tried registering a functi

[Qemu-devel] Guest application exit point.

2018-10-25 Thread Rafael K. V. Maeda
Hi, I am implementing a plugin that allocates several resources. I need to cleanup some of these resources when QEMU finishes executing the guest application. Where is the best exit point to place my cleanup functions? I have tried registering a function call "atexit" but it does not seem to