mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 14:41:25 +00:00
migrate.py: migrate count starts with 1
As this is not some index but a counter. The first print happens after first migration was done, meaning 1 instead of 0 Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Kevin Pouget <kpouget@redhat.com>
This commit is contained in:
parent
b124ebe53e
commit
f75236bf42
@ -241,8 +241,8 @@ class Migrator(object):
|
||||
qmp_filename=new_qmp_filename,
|
||||
with_agent=self.vdagent,
|
||||
incoming_port=self.migration_port)
|
||||
print(self.migration_count)
|
||||
self.migration_count += 1
|
||||
print(self.migration_count)
|
||||
|
||||
def main():
|
||||
args = get_args()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user