[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 984c36: block/amend: Check whether the node e
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 984c36: block/amend: Check whether the node exists |
Date: |
Tue, 28 Jul 2020 03:30:32 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 984c36781404592a6fbaa31ec6d25d6b8f933489
https://github.com/qemu/qemu/commit/984c36781404592a6fbaa31ec6d25d6b8f933489
Author: Max Reitz <mreitz@redhat.com>
Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths:
M block/amend.c
Log Message:
-----------
block/amend: Check whether the node exists
We should check whether the user-specified node-name actually refers to
a node. The simplest way to do that is to use bdrv_lookup_bs() instead
of bdrv_find_node() (the former wraps the latter, and produces an error
message if necessary).
Reported-by: Coverity (CID 1430268)
Fixes: ced914d0ab9fb2c900f873f6349a0b8eecd1fdbe
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200710095037.10885-1-mreitz@redhat.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Commit: 733dafe4914ef2e6d6a9d546b7fdbb429f3590e7
https://github.com/qemu/qemu/commit/733dafe4914ef2e6d6a9d546b7fdbb429f3590e7
Author: Thomas Huth <thuth@redhat.com>
Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths:
M tests/qemu-iotests/check
Log Message:
-----------
iotests: Select a default machine for the rx and avr targets
If you are building only with either the new rx-softmmu or avr-softmmu
target, "make check-block" fails a couple of tests since there is no
default machine defined in these new targets. We have to select a machine
in the "check" script for these, just like we already do for the arm- and
tricore-softmmu targets.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20200722161908.25383-1-thuth@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Commit: 1855536256eb0a5708b04b85f744de69559ea323
https://github.com/qemu/qemu/commit/1855536256eb0a5708b04b85f744de69559ea323
Author: Max Reitz <mreitz@redhat.com>
Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths:
M tests/qemu-iotests/197
Log Message:
-----------
iotests/197: Fix for compat=0.10
Writing zeroes to a qcow2 v2 images without a backing file results in an
unallocated cluster as of 61b3043965. 197 has a test for COR-ing a
cluster on an image without a backing file, which means that the data
will be zero, so now on a v2 image that cluster will just stay
unallocated, and so the test fails. Just force compat=1.1 for that
particular case to enforce the cluster to get allocated.
Fixes: 61b3043965fe3552ee2684a97e7cc809ca7a71b3
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200727135237.1096841-1-mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Commit: 23ae28783f4674e98f7539d1c05d793166c2fc12
https://github.com/qemu/qemu/commit/23ae28783f4674e98f7539d1c05d793166c2fc12
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2020-07-28 (Tue, 28 Jul 2020)
Changed paths:
M block/amend.c
M tests/qemu-iotests/197
M tests/qemu-iotests/check
Log Message:
-----------
Merge remote-tracking branch 'remotes/maxreitz/tags/pull-block-2020-07-27'
into staging
Block patches for 5.1:
- Coverity fix
- iotests fix for rx and avr
- iotests fix for qcow2 -o compat=0.10
# gpg: Signature made Mon 27 Jul 2020 15:36:23 BST
# gpg: using RSA key 91BEB60A30DB3E8857D11829F407DB0061D5CF40
# gpg: issuer "mreitz@redhat.com"
# gpg: Good signature from "Max Reitz <mreitz@redhat.com>" [full]
# Primary key fingerprint: 91BE B60A 30DB 3E88 57D1 1829 F407 DB00 61D5 CF40
* remotes/maxreitz/tags/pull-block-2020-07-27:
iotests/197: Fix for compat=0.10
iotests: Select a default machine for the rx and avr targets
block/amend: Check whether the node exists
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/93ea484375ab...23ae28783f46
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 984c36: block/amend: Check whether the node exists,
Peter Maydell <=