Skip to content
Snippets Groups Projects
Commit 1ca02c3a authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

windows: Remove the format=raw attribute from kvm

Do not use format=raw in the -drive option of KVM when booting the
Windows VM. The format could also be qcow2 if the original input media
is a regular file.
parent bbe3dcb8
No related branches found
No related tags found
No related merge requests found
...@@ -116,8 +116,7 @@ class VM(object): ...@@ -116,8 +116,7 @@ class VM(object):
if 'mem' in self.params: if 'mem' in self.params:
args.extend(['-m', str(self.params['mem'].value)]) args.extend(['-m', str(self.params['mem'].value)])
args.extend(['-drive', args.extend(['-drive', 'file=%s,cache=unsafe,if=%s' %
'file=%s,format=raw,cache=unsafe,if=%s' %
(self.disk, self.interface)]) (self.disk, self.interface)])
args.extend( args.extend(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment