On Fri, Jan 19, 2018 at 7:35 PM, Paolo Bonzini wrote:
> On 28/07/2017 14:54, Kevin Wolf wrote:
>> Am 09.07.2017 um 19:06 hat Peter Maydell geschrieben:
>>> The function vmdk_read_cid() can fail if the read on the underlying
>>> block device fails, or if there's a format error
On 01/19/2018 07:57 AM, Vladimir Sementsov-Ogievskiy wrote:
> Signed-off-by: Vladimir Sementsov-Ogievskiy
> ---
> tests/qemu-iotests/201 | 156
> +
> tests/qemu-iotests/201.out | 5 ++
> tests/qemu-iotests/group | 1
On 01/23/2018 05:28 AM, Anton Nefedov wrote:
>>> +
>>> +##
>>> +# @BlockDriverStats:
>>> +#
>>> +# Statistics of a block driver (driver-specific)
>>> +#
>>> +# Since: 2.12
>>> +##
>>> +{ 'union': 'BlockDriverStats',
>>> + 'data': {
>>> + 'file': 'BlockDriverStatsFile'
>>> + } }
>>
>>
From: Max Reitz
vmdk cannot work with anything but vmdk backing files, so make the
backing file be the same format as the overlay.
Reported-by: John Snow
Signed-off-by: Max Reitz
Message-id: 20171123020832.8165-11-mre...@redhat.com
From: Max Reitz
051 has both compat=1.1 and compat=0.10 tests (once it uses
lazy_refcounts, once it tests that setting them does not work).
For the compat=0.10 tests, it already explicitly creates a suitable
image. So let's just ignore the user-specified compat level for the
From: Max Reitz
The only thing that is missing is a _filter_img_info after the
"$QEMU_IO -c info" invocations.
Signed-off-by: Max Reitz
Message-id: 20171123020832.8165-15-mre...@redhat.com
Reviewed-by: John Snow
Signed-off-by: Max Reitz
From: Max Reitz
Signed-off-by: Max Reitz
Message-id: 20171123020832.8165-9-mre...@redhat.com
Reviewed-by: John Snow
Signed-off-by: Max Reitz
---
tests/qemu-iotests/103 | 2 ++
1 file changed, 2 insertions(+)
diff
From: Max Reitz
read without -r eats backslashes.
Signed-off-by: Max Reitz
Message-id: 20171123020832.8165-6-mre...@redhat.com
Reviewed-by: Fam Zheng
Signed-off-by: Max Reitz
---
tests/qemu-iotests/common.rc | 2 +-
1
From: Max Reitz
Tests 080, 130, 137, and 176 simply do not work with compat=0.10 for the
reasons stated there.
Signed-off-by: Max Reitz
Message-Id: <20171123020832.8165-10-mre...@redhat.com>
[eblake: fix 177 in a separate commit]
Signed-off-by: Eric Blake
From: Max Reitz
184 does not need an image, so don't use one.
Signed-off-by: Max Reitz
Message-id: 20171123020832.8165-16-mre...@redhat.com
Reviewed-by: John Snow
Signed-off-by: Max Reitz
---
tests/qemu-iotests/184
From: Max Reitz
Persistent dirty bitmaps require a properly functioning
autoclear_features field, or we cannot track when an unsupporting
program might overwrite them. Therefore, we cannot support them for
compat=0.10 images.
Signed-off-by: Max Reitz
From: Max Reitz
In order for 191 to work with an explicit refcount_bits or compat=0.10,
we should strip format-specific information from the output--and we can
do so by using _filter_img_info.
Signed-off-by: Max Reitz
Message-id:
From: Hikaru Nishida
Pin-based interrupt of NVMe controller did not work properly
because using an obsolated function pci_irq_pulse().
To fix this, change to use pci_irq_assert() / pci_irq_deassert()
instead of pci_irq_pulse().
Signed-off-by: Hikaru Nishida
From: Max Reitz
Signed-off-by: Max Reitz
Message-id: 20171129192411.6637-1-mre...@redhat.com
Reviewed-by: John Snow
Signed-off-by: Max Reitz
---
tests/qemu-iotests/059 | 4 +++-
1 file changed, 3 insertions(+), 1
From: Max Reitz
There is a bit of image-specific information which depends on the qcow2
compat level. Filter it so that 198 works with compat=0.10 (and any
refcount_bits value).
Note that we cannot simply drop the --format-specific switch because we
do need the "encrypt"
From: Eric Blake
When originally written, test 177 explicitly took care to run
with compat=0.10. Then I botched my own test in commit
81c219ac and f0a9c18f, by adding additional actions that require
v3 images. Split out the new code into a new v3-only test, 204,
and revert
From: Max Reitz
_filter_img_info should remove format-specific information, too. We
already have such a filter in _img_info, and it is very useful for
query-block-named-block-nodes (etc.), too.
However, in 198 we need that information (but we still want the rest of
the
From: Max Reitz
As of commit 9877860e7bd1e26ee70ab9bb5ebc34c92bf23bf5, vmdk fails
differently when opening the sample image.
Signed-off-by: Max Reitz
Message-id: 20171123020832.8165-13-mre...@redhat.com
Reviewed-by: John Snow
From: Max Reitz
We can easily repair unaligned preallocated zero clusters by discarding
them, so why not do it?
Signed-off-by: Max Reitz
Message-id: 20171110203759.14018-2-mre...@redhat.com
Reviewed-by: Eric Blake
Signed-off-by: Max
From: Fam Zheng
We could hit lock failure if there is a signal that makes fcntl return
-1 and errno set to EINTR. In this case we should retry.
Cc: qemu-sta...@nongnu.org
Signed-off-by: Fam Zheng
Reviewed-by: Eric Blake
Signed-off-by: Kevin
From: Max Reitz
This test does funny things like TEST_IMG="TEST_IMG.base" _make_test_img
that usually only work with the file protocol. More specifically, they
do not work with the most interesting non-file protocols, so we might as
well skip this for anything but file.
The following changes since commit ee86981bda9ecd40c8daf81b7307b1d2aff68174:
migration: Revert postcopy-blocktime commit set (2018-01-23 10:08:05 +)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git tags/for-upstream
for you to fetch changes up to
From: Daniel Henrique Barboza
This patch implements a test case for the scenario that was failing
prior to the patch "migration/ram.c: do not set 'postcopy_running' in
POSTCOPY_INCOMING_END", commit acab30b85d.
This new test file 201 was derived from the test file
From: Max Reitz
Signed-off-by: Max Reitz
Message-id: 20171123020832.8165-2-mre...@redhat.com
Reviewed-by: Eric Blake
Reviewed-by: Fam Zheng
Signed-off-by: Max Reitz
---
block/vmdk.c | 2 +-
1 file
From: Max Reitz
067 works very well with compat=0.10 once you remove format-specific
information from the QMP output.
Signed-off-by: Max Reitz
Message-id: 20171123020832.8165-14-mre...@redhat.com
Reviewed-by: John Snow
Signed-off-by: Max
From: Max Reitz
Now that iotest 093 test proves that the throttling configuration
survives a blockdev-remove-medium/blockdev-insert-medium pair, the
original reason for declaring these commands experimental is gone
(see commit 6e0abc251dd4f8eba1f53656dfede12e5840e83b).
From: Max Reitz
102 truncates a qcow2 file (the raw file) on purpose while a VM is
running. However, image locking will usually prevent exactly this.
The fact that most people have not noticed until now (I suppose you may
have seen sporadic failures, but not taken them too
From: Max Reitz
Currently, the tray and medium commands in the AHCI test use the
deprecated @device parameter. This patch switches all invocations over
to use @id.
Signed-off-by: Max Reitz
Message-id: 20171110224302.14424-3-mre...@redhat.com
Reviewed-by:
From: Max Reitz
This is certainly not complete, but it includes at least write_aio and
read_aio.
Signed-off-by: Max Reitz
Message-id: 20171123020832.8165-5-mre...@redhat.com
Reviewed-by: Fam Zheng
Signed-off-by: Max Reitz
From: Max Reitz
This is not necessarily complete, but it should include the most
important places.
Signed-off-by: Max Reitz
Message-id: 20171123020832.8165-4-mre...@redhat.com
Reviewed-by: Eric Blake
Signed-off-by: Max Reitz
From: Max Reitz
In some cases, these commands still use the deprecated @device
parameter. Fix that so we can later drop that parameter from their
interface.
Signed-off-by: Max Reitz
Message-id: 20171110224302.14424-2-mre...@redhat.com
Reviewed-by: Alberto
From: Max Reitz
This is an incompatible change, which is fine as the commands are
experimental.
Signed-off-by: Max Reitz
Message-id: 20171110224302.14424-4-mre...@redhat.com
Reviewed-by: Alberto Garcia
Signed-off-by: Max Reitz
Commit 881cfd17 added a new test binary, include it in .gitignore.
Reported-by: Eric Blake
Signed-off-by: Kevin Wolf
Reviewed-by: Eric Blake
---
tests/.gitignore | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/.gitignore
On 22/1/2018 11:55 PM, Eric Blake wrote:
On 01/19/2018 06:50 AM, Anton Nefedov wrote:
A block driver can provide a callback to report driver-specific
statistics.
file-posix driver now reports discard statistics
Signed-off-by: Anton Nefedov
Reviewed-by: Vladimir
On 22/1/2018 11:48 PM, Eric Blake wrote:
On 01/19/2018 06:50 AM, Anton Nefedov wrote:
Signed-off-by: Anton Nefedov
---
hw/ide/core.c | 13 +
1 file changed, 13 insertions(+)
@@ -460,10 +468,15 @@ static void ide_issue_trim_cb(void *opaque, int
On 22/1/2018 11:47 PM, Eric Blake wrote:
On 01/19/2018 06:50 AM, Anton Nefedov wrote:
Signed-off-by: Anton Nefedov
Reviewed-by: Vladimir Sementsov-Ogievskiy
Reviewed-by: Alberto Garcia
---
qapi/block-core.json
36 matches
Mail list logo