Hook in QEMU test