Currently invoking 'qemu timers' command results into: "gdb.error: There
is no member named last". Let's remove the legacy 'last' field from
QEMUClock, as it was removed in v4.2.0 by the commit
3c2d4c8aa6a
("timer: last, remove last bits of last").
Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id:
20251204105019.455060-3-andrey.drobyshev@virtuozzo.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
def process_timerlist(self, tlist, ttype):
gdb.write("Processing %s timers\n" % (ttype))
- gdb.write(" clock %s is enabled:%s, last:%s\n" % (
+ gdb.write(" clock %s is enabled:%s\n" % (
tlist['clock']['type'],
- tlist['clock']['enabled'],
- tlist['clock']['last']))
+ tlist['clock']['enabled']))
if int(tlist['active_timers']) > 0:
self.dump_timers(tlist['active_timers'])