remove cache=none from QEMU args as it is not supported on tmpfs/rootfs
This commit is contained in:
parent
6f51ddbb36
commit
b7f3ba1a34
2 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ def handle_exception(e):
|
|||
|
||||
|
||||
class CreateVM(Resource):
|
||||
'''API Request to Handle Creation of VM'''
|
||||
"""API Request to Handle Creation of VM"""
|
||||
|
||||
@staticmethod
|
||||
def post():
|
||||
|
|
|
@ -42,7 +42,7 @@ class VM:
|
|||
|
||||
def get_qemu_args(self):
|
||||
command = (
|
||||
"-drive file={file},format=raw,if=virtio,cache=none"
|
||||
"-drive file={file},format=raw,if=virtio"
|
||||
" -device virtio-rng-pci"
|
||||
" -m {memory} -smp cores={cores},threads={threads}"
|
||||
" -name {owner}_{name}"
|
||||
|
|
Loading…
Reference in a new issue