Commit 8073a95e authored by Jialin Li's avatar Jialin Li
Browse files

experiments: add qemu sync mode parameter

parent 165bdb15
...@@ -129,6 +129,7 @@ class QemuHost(HostSim): ...@@ -129,6 +129,7 @@ class QemuHost(HostSim):
cmd += f'-device cosim-pci,chardev=cosimcd' cmd += f'-device cosim-pci,chardev=cosimcd'
if self.sync: if self.sync:
cmd += ',sync=on' cmd += ',sync=on'
cmd += f',sync-mode={self.sync_mode}'
cmd += f',pci-latency={self.pci_latency}' cmd += f',pci-latency={self.pci_latency}'
cmd += f',sync-period={self.sync_period}' cmd += f',sync-period={self.sync_period}'
else: else:
......
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