fuchsia: add invtsc to qemu command line

This puts the command line in sync with the fuchsia-internal way of
running emulators, which may help alleviate flakes in Chromium infra.

Bug: chromium:1092054
Change-Id: I0e52107e24f1b5b09d35348a47d2485e227a416c
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2240144
Commit-Queue: Scott Graham <scottmg@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
This commit is contained in:
John Wittrock 2020-06-10 16:29:22 -04:00 committed by Commit Bot
parent 7a70b0f151
commit 38f6034998

View File

@ -97,7 +97,7 @@ def _Start(pid_file):
'-serial', 'stdio', '-serial', 'stdio',
'-monitor', 'none', '-monitor', 'none',
'-machine', 'q35', '-machine', 'q35',
'-cpu', 'host,migratable=no', '-cpu', 'host,migratable=no,+invtsc',
'-enable-kvm', '-enable-kvm',
'-netdev', 'type=tap,ifname=qemu,script=no,downscript=no,id=net0', '-netdev', 'type=tap,ifname=qemu,script=no,downscript=no,id=net0',
'-device', 'e1000,netdev=net0,mac=52:54:00:' + mac_tail, '-device', 'e1000,netdev=net0,mac=52:54:00:' + mac_tail,