qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] analyze-migration.py: fix find() type error


From: Eduardo Habkost
Subject: Re: [PATCH 1/2] analyze-migration.py: fix find() type error
Date: Wed, 27 Nov 2019 20:37:13 -0300

On Wed, Nov 27, 2019 at 02:10:37PM +0400, Marc-André Lureau wrote:
> Traceback (most recent call last):
>   File "../scripts/analyze-migration.py", line 611, in <module>
>     dump.read(desc_only = True)
>   File "../scripts/analyze-migration.py", line 513, in read
>     self.load_vmsd_json(file)
>   File "../scripts/analyze-migration.py", line 556, in load_vmsd_json
>     vmsd_json = file.read_migration_debug_json()
>   File "../scripts/analyze-migration.py", line 89, in 
> read_migration_debug_json
>     nulpos = data.rfind("\0")
> TypeError: argument should be integer or bytes-like object, not 'str'
> 
> Signed-off-by: Marc-André Lureau <address@hidden>

Thanks!  I'm queueing this, but I'm hoping we don't have a -rc4
and 4.2.0 gets released next week.

-- 
Eduardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]