From dc5505ad2e8c449ca6a491188b2b1af48222a74b Mon Sep 17 00:00:00 2001 From: Ahmed Bilal Khalid Date: Sat, 31 Aug 2019 14:08:14 +0500 Subject: [PATCH] leave it upto qmp to enable-kvm or not --- virtualmachine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtualmachine.py b/virtualmachine.py index 54ae415..befcc16 100755 --- a/virtualmachine.py +++ b/virtualmachine.py @@ -42,7 +42,7 @@ def get_start_command_args(vm_entry, vnc_sock_filename: str, migration=False, mi vm_uuid = vm_entry.uuid threads_per_core = 1 command = (f"-drive file=rbd:uservms/{vm_uuid},format=raw,if=virtio,cache=none" - f" -device virtio-rng-pci -enable-kvm -vnc unix:{vnc_sock_filename}" + f" -device virtio-rng-pci -vnc unix:{vnc_sock_filename}" f" -m {vm_memory} -smp cores={vm_cpus},threads={threads_per_core}" f" -name {vm_uuid}") if migration: