m1n1.hv: fix argument names in HV.trace_range()

event_mmio() uses 'start' kwarg since 'zone' conflicts with
add_tracer()'s argument of the same name.

Fixes
TypeError: HV.add_tracer() got multiple values for argument 'zone'

Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Janne Grunau 2022-05-22 09:32:36 +02:00 committed by Asahi Lina
parent ad659daa6d
commit d5ceafe41d

View file

@ -274,7 +274,7 @@ class HV(Reloadable):
self.add_tracer(zone, "PrintTracer", mode,
self.print_tracer.event_mmio if read else None,
self.print_tracer.event_mmio if write else None,
zone=zone,
start=zone,
name=name)
else:
self.del_tracer(zone, "PrintTracer")