On 16/12/2016 22:00, Chris Metcalf wrote:
Sorry, I think I wasn't clear. Normally when you are running taskRunning in a guest is pretty much the same as running in userspace.
isolated and you enter the kernel, you will get a fatal signal. The
exception is if you call prctl itself (or exit), the kernel tolerates
it without a signal, since obviously that's how you need to cleanly
tell the kernel you are done with task isolation.
Would it be possible to exclude the KVM_RUN ioctl as well? QEMU would
still have to run prctl when a CPU goes to sleep, and KVM_RUN would have
to enable/disable isolated mode when a VM executes HLT (which should
never happen anyway in NFV scenarios).