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.

** Merge proposal linked:
   
https://code.launchpad.net/~ddstreet/ubuntu/+source/qemu/+git/qemu/+merge/397904

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1913421

Title:
  Load of pre-upgrade qemu modules needs to avoid noexec

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1913421/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to