qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Guest application exit point.


From: Rafael K. V. Maeda
Subject: [Qemu-devel] Guest application exit point.
Date: Fri, 26 Oct 2018 12:20:41 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

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 work. Any suggestions? At the moment, I am looking for a solution for x86_64 (user emulation mode).

Kind regards,
Rafael



reply via email to

[Prev in Thread] Current Thread [Next in Thread]