Under linux, you could use "modprobe" to add kvm modules in a script
calling qemu and then use modprobe to remove them when exiting qemu.
if you are are running multiple qemu's i suspect modprobe won't remove a
currently used module, but take care here.
maybe also install some watchdog to monitor qemu usage and remove (in
case qemu crashed or was hard killed).
hth,
-e.
Ren Kimura wrote:
Hi.
I have a question about activation of kvm.
Is there any way to enable/disable kvm at qemu runtime?
It should be useful for sandbox tools like DECAF or TEMU,
because some malware use VT-x information to detect these.
Best regards.
Ren Kimura