handle new vm config object, moved vm creation and config check into qemu.createVm