Split out invocation of QEMU to separate class