summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/runqemu4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 85f323a712..f2168c18a3 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1241,7 +1241,9 @@ class BaseConfig(object):
1241 vm_drive = '-drive if=virtio,file=%s,format=%s' % (self.rootfs, rootfs_format) 1241 vm_drive = '-drive if=virtio,file=%s,format=%s' % (self.rootfs, rootfs_format)
1242 1242
1243 # All branches above set vm_drive. 1243 # All branches above set vm_drive.
1244 self.rootfs_options = '%s -no-reboot' % vm_drive 1244 self.rootfs_options = vm_drive
1245 if not self.fstype in self.vmtypes:
1246 self.rootfs_options += ' -no-reboot'
1245 self.kernel_cmdline = 'root=%s rw' % (self.get('QB_KERNEL_ROOT')) 1247 self.kernel_cmdline = 'root=%s rw' % (self.get('QB_KERNEL_ROOT'))
1246 1248
1247 if self.fstype == 'nfs': 1249 if self.fstype == 'nfs':