mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-26 05:12:22 +00:00
This change is important to do a proper resource cleanup. We decided to do this repetitive approach as VirtioCommon can't implement Drop without major changes to the corresponding code. Also, devices such as Net can't easily use the epoll_threads-abstraction from VirtioCommon as it has multiple threads with different semantics. Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> (cherry picked from commit ad6c0ee52be40413aaa3032bc6758542ae06c2cd)