Commit 9959a4fc authored by David Dorwin's avatar David Dorwin Committed by Commit Bot

[fuchsia] Reference --allow-no-kvm in host-target mismatch error

Change-Id: Ia8cde7c733b8a96ad5bdf3a8f0ef4af92575080d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2466936
Auto-Submit: David Dorwin <ddorwin@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: default avatarKevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#817327}
parent 39a45b5e
......@@ -72,8 +72,9 @@ class QemuTarget(emu_target.EmuTarget):
'in for the change to take effect.'
raise FuchsiaTargetException(kvm_error)
else:
raise FuchsiaTargetException('KVM unavailable when CPU architecture of'\
' host is different from that of target.')
raise FuchsiaTargetException('KVM unavailable when CPU architecture '\
'of host is different from that of'\
' target. See --allow-no-kvm.')
else:
return False
......@@ -146,7 +147,7 @@ class QemuTarget(emu_target.EmuTarget):
else:
kvm_command.append('host,migratable=no,+invtsc')
else:
logging.warning('Unable to launch %s with KVM acceleration.'
logging.warning('Unable to launch %s with KVM acceleration. '
'The guest VM will be slow.' % (self.EMULATOR_NAME))
if self._target_cpu == 'arm64':
kvm_command = ['-cpu', 'cortex-a53']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment