Comment 17 for bug 1913421

Revision history for this message
Dan Streetman (ddstreet) wrote :

Another completely different alternative approach might be for us to see if upstream qemu is willing to simply open all the module files when qemu starts, and leave the fd open until exit.

That way even if the module files are removed, any still-running qemu process(es) would still have an open fd to them and (at least on UNIX systems) should be able to load them, since the kernel won't actually fully remove them until all open descriptors are closed.

I haven't tested that and I'm not sure if there are possible issues with mmaping removed files, but in theory it should work.