leave it upto qmp to enable-kvm or not

This commit is contained in:
ahmadbilalkhalid 2019-08-31 14:08:14 +05:00
parent 0abac4b4ae
commit dc5505ad2e

View file

@ -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: