summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index fd2717ec87..1131324ccc 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1005,7 +1005,7 @@ class BaseConfig(object):
1005 vm_drive = '' 1005 vm_drive = ''
1006 if self.fstype in self.vmtypes: 1006 if self.fstype in self.vmtypes:
1007 if self.fstype == 'iso': 1007 if self.fstype == 'iso':
1008 vm_drive = '-cdrom %s' % self.rootfs 1008 vm_drive = '-drive file=%s,if=virtio,media=cdrom' % self.rootfs
1009 elif self.get('QB_DRIVE_TYPE'): 1009 elif self.get('QB_DRIVE_TYPE'):
1010 drive_type = self.get('QB_DRIVE_TYPE') 1010 drive_type = self.get('QB_DRIVE_TYPE')
1011 if drive_type.startswith("/dev/sd"): 1011 if drive_type.startswith("/dev/sd"):