qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] block: Error out on image creation with conflicting size opt


From: Eric Blake
Subject: Re: [PATCH] block: Error out on image creation with conflicting size options
Date: Tue, 26 Nov 2019 09:54:40 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

On 11/26/19 9:48 AM, Kevin Wolf wrote:
If both the create options (qemu-img create -o ...) and the size
parameter were given, the size parameter was silently ignored. Instead,
make specifying two sizes an error.

Signed-off-by: Kevin Wolf <address@hidden>
---
  block.c                    | 10 ++++++++--
  tests/qemu-iotests/049     |  5 +++++
  tests/qemu-iotests/049.out |  5 +++++
  3 files changed, 18 insertions(+), 2 deletions(-)

Longtime bug, so not essential for 4.2-rc3. But small enough that you could sneak it in if you have other patches to queue and don't want to wait for 5.0.

Reviewed-by: Eric Blake <address@hidden>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




reply via email to

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