diff options
| author | Kevin Wolf | 2013-08-05 10:53:04 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2013-08-06 10:41:56 +0200 |
| commit | fc11eb26cee7e3621645dd40cd9de944201f590b (patch) | |
| tree | 6068a1a2717cc97e63d07c9ea22be60c97cbae61 /include/exec/user | |
| parent | semaphore: fix a hangup problem under load on NetBSD hosts. (diff) | |
| download | qemu-fc11eb26cee7e3621645dd40cd9de944201f590b.tar.gz qemu-fc11eb26cee7e3621645dd40cd9de944201f590b.tar.xz qemu-fc11eb26cee7e3621645dd40cd9de944201f590b.zip | |
qemu-img: Error out for excess arguments
Don't silently ignore excess arguments at the end of the command line,
but error out instead. This can catch typos like 'resize test.img + 1G',
which doesn't increase the image size by 1G as intended, but truncates
the image to 1G. Even for less dangerous commands, the old behaviour is
confusing.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
