[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [Qemu-devel] [PATCH] iotests: Skip 211 on insufficient
Re: [Qemu-block] [Qemu-devel] [PATCH] iotests: Skip 211 on insufficient memory
Mon, 18 Feb 2019 15:06:48 -0600
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
On 2/18/19 12:06 PM, Max Reitz wrote:
> VDI keeps the whole bitmap in memory, and the maximum size (which is
> tested here) is 2 GB. This may not be available on all machines, and it
> rarely is available when running a 32 bit build.
> Fix this by making VM.run_job() return the error string if an error
> occurred, and checking whether that contains "Could not allocate bmap"
> in 211. If so, the test is skipped.
> Signed-off-by: Max Reitz <address@hidden>
> tests/qemu-iotests/211 | 4 +++-
> tests/qemu-iotests/iotests.py | 5 ++++-
> 2 files changed, 7 insertions(+), 2 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org