On Thu, 23 Jan 2014 22:25:36 +
Peter Maydell peter.mayd...@linaro.org wrote:
Hi Antony; have you noticed any issues with QEMU's handling of
MPU faults (data or address faults) on our ARM946 model?
I ask because DIGIC is the only board we have that uses the 946,
and as far as I can tell
On Thu, Jan 23, 2014 at 10:46:31PM +0800, Amos Kong wrote:
This is an implement of qmp full-introspection,
parse and convert the json schema to a dynamical tree,
return it to management through QMP command output.
Correct the URLs
The whole output of query-qmp-schema command:
ping!
On Wed, Jan 15, 2014 at 7:12 PM, Peter Crosthwaite
peter.crosthwa...@xilinx.com wrote:
Hi All,
The clock controller module in the Zynq platform has the ability to halt
and reset arbitrary devices, including the CPU. We use this feature to
implement
SMP Linux - the kernel halts CPU1
On Thu, 01/23 22:46, Amos Kong wrote:
This is a code generator for qapi introspection. It will parse
qapi-schema.json, extend schema definitions and generate a schema
table with metadata, it references to the new structs which we used
to describe dynamic data structs. The metadata will help C
On Thu, Jan 23, 2014 at 03:29:04PM +0100, Kevin Wolf wrote:
Am 23.01.2014 um 04:04 hat Hu Tao geschrieben:
n_start can be actually calculated from offset. The number of
sectors to be allocated(n_end - n_start) can be passed in in
num. By removing n_start and n_end, we can save two
On Fri, Jan 24, 2014 at 05:12:12PM +0800, Fam Zheng wrote:
On Thu, 01/23 22:46, Amos Kong wrote:
This is a code generator for qapi introspection. It will parse
qapi-schema.json, extend schema definitions and generate a schema
table with metadata, it references to the new structs which we
On Thu, Jan 23, 2014 at 06:02:08PM +0100, Benoît Canet wrote:
Le Thursday 23 Jan 2014 à 11:04:05 (+0800), Hu Tao a écrit :
n_start can be actually calculated from offset. The number of
sectors to be allocated(n_end - n_start) can be passed in in
num. By removing n_start and n_end, we can
On 01/24/14 02:52, Qiao Nuohan wrote:
On 01/23/2014 01:04 AM, Laszlo Ersek wrote:
@@ -864,6 +884,16 @@ static int dump_init(DumpState *s, int fd, bool
paging, bool has_filter,
qemu_get_guest_simple_memory_mapping(s-list,s-guest_phys_blocks);
}
+s-nr_cpus =
On Thu, Jan 23, 2014 at 06:13:48PM +0100, Benoît Canet wrote:
Le Thursday 23 Jan 2014 à 11:04:06 (+0800), Hu Tao a écrit :
When cluster size is big enough it can lead offset overflow
Maybe it can lead to an offset overflow in
in qcow2_alloc_clusters_at(). This patch fixes it.
Sure.
Ping?
On Wed, 01/08 18:07, Fam Zheng wrote:
This series adds for point-in-time snapshot NBD exporting based on
blockdev-backup (variant of drive-backup with existing device as target).
We get a thin point-in-time snapshot by COW mechanism of drive-backup, and
export it through built in NBD
On 01/23/2014 08:28 PM, Luiz Capitulino wrote:
On Thu, 23 Jan 2014 17:33:33 +0200
Stratos Psomadakis pso...@grnet.gr wrote:
On 01/23/2014 03:54 PM, Luiz Capitulino wrote:
On Thu, 23 Jan 2014 08:44:02 -0500
Luiz Capitulino lcapitul...@redhat.com wrote:
On Thu, 23 Jan 2014 19:23:51 +0800
Commit 1b90d56e changed the implementation of in/out imm to not assign
the accessed port number to cpu_T[0] as it appeared unnecessary.
However, currently gen_check_io() makes use of cpu_T[0] to implement the
I/O bitmap checks, so it's in fact still used and the change broke the
check, leading to
24.01.2014 00:27, Stefan Hajnoczi wrote:
osdep.c does not use trace_*() so we can just drop the include.
Thanks, applied to the trivial-patches queue.
/mjt
On Thu, 01/23 22:46, Amos Kong wrote:
This patch introduces a new monitor command to query QMP schema
information, the return data is a range of schema structs, which
contains the useful metadata to help management to check supported
features, QMP commands detail, etc.
We use
Am 23.01.2014 um 03:03 hat Fam Zheng geschrieben:
Currently there is no way to query BlockStats of the backing chain. This
adds backing field into BlockStats to make it possible.
The comment of parent is reworded.
Signed-off-by: Fam Zheng f...@redhat.com
Thanks, applied to the block
On 01/23/14 16:17, Ekaterina Tumanova wrote:
On 01/17/2014 11:46 AM, qiaonuohan wrote:
Make monitor command 'dump-guest-memory' be able to dump in
kdump-compressed
format. The command's usage:
dump [-p] protocol [begin] [length] [format]
'format' is used to specified the format of
Am 23.01.2014 um 23:45 hat Jeff Cody geschrieben:
Currently, if an image file is logically larger than its backing file,
committing it via 'qemu-img commit' will fail.
For instance, if we have a base image with a virtual size 10G, and a
snapshot image of size 20G, then committing the
Il 23/01/2014 15:46, Amos Kong ha scritto:
+The whole schema information will be returned in one go, it contains
+all the schema entries. It doesn't support to be filtered by type
+or name. Currently it takes about 4 seconds to return about 1.7M string.
+Management only needs to execute this
Thanks for addressing my earlier comments. Some new ones below:
On 01/17/14 08:46, qiaonuohan wrote:
+/* check whether lzo/snappy is supported */
+#ifndef CONFIG_LZO
+if (has_format format == DUMP_GUEST_MEMORY_FORMAT_KDUMP_LZO) {
+error_setg(errp, kdump-lzo is not available
Hi,
After having heavily used device_add/netdev_add lately with QEMU 1.7, we
encountered the following strange behavior:
1) Get network/PCI configuration for a VM
# echo info network | socat STDIO UNIX-CONNECT:/path/to/monitor/socket
QEMU 1.7.0 monitor - type 'help' for more
trent.t...@gmail.com writes:
Attaching data in excel which could not be sent with the patch at the same
time.
snip
If you can attach the summary of the data as plain text that would be
useful. Not all of us have access to a Windows box with Excell!
--
Alex Bennée
Am 24.01.2014 um 11:10 hat Fam Zheng geschrieben:
Ping?
This doesn't apply on top of the block branch any more. Can you rebase,
please?
Kevin
On Wed, 01/08 18:07, Fam Zheng wrote:
This series adds for point-in-time snapshot NBD exporting based on
blockdev-backup (variant of drive-backup
two comments below
On 01/17/14 08:46, qiaonuohan wrote:
'query-dump-guest-memory-capability' is used to query whether option 'format'
is available for 'dump-guest-memory' and the available format. The output
of the command will be like:
- { execute: query-dump-guest-memory-capability }
- {
I am building the official Qemu 1.7.0 release from source natively under
MinGW for myself. I execute the i386 target. Qemu starts fine, but it
crashes when I try to partition a 2G hard disk in an MS-DOS 6.22 guest.
Details of the build and reproducing the crash are below.
The problem also
On 01/24/2014 04:43 AM, Paolo Bonzini wrote:
Il 23/01/2014 15:46, Amos Kong ha scritto:
+The whole schema information will be returned in one go, it contains
+all the schema entries. It doesn't support to be filtered by type
+or name. Currently it takes about 4 seconds to return about 1.7M
bdrv_commit() could return 0 or 1 on success, depending on whether or
now the last sector was allocated in the overlay and whether the overlay
format had a .bdrv_make_empty callback.
Most callers ignored it, but qemu-img commit would print an error
message while the operation actually succeeded.
Am 23.01.2014 um 21:31 hat Benoît Canet geschrieben:
Signed-off-by: Benoit Canet ben...@irqsave.net
---
block.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
I'm not going to merge this one yet. It breaks qemu-iotests case 071,
which would have to be adapted.
However, first of
Am 23.01.2014 um 21:31 hat Benoît Canet geschrieben:
The following series introduce a new file.node-name property in order to be
able to give a name to each BlockDriverState of the graph.
since v5:
rename to bdrv_assign_node_name [Fam]
add node-name to BlockdevOptionsBase [Kevin]
Am 14.01.2014 um 20:12 hat Jeff Cody geschrieben:
Having both read-only=on and snapshot=on together does not make sense;
currently, the read-only argument is effectively ignored for the
temporary snapshot. To prevent confusion, disallow the usage of both
'snapshot=on' and 'read-only=on'.
On 24.01.2014 14:26, Kevin Wolf wrote:
Am 23.01.2014 um 21:31 hat Benoît Canet geschrieben:
Signed-off-by: Benoit Canet ben...@irqsave.net
---
block.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
I'm not going to merge this one yet. It breaks qemu-iotests case 071,
which
On Fri, Jan 24, 2014 at 02:33:19PM +0100, Kevin Wolf wrote:
Am 14.01.2014 um 20:12 hat Jeff Cody geschrieben:
Having both read-only=on and snapshot=on together does not make sense;
currently, the read-only argument is effectively ignored for the
temporary snapshot. To prevent confusion,
From: Peter Maydell peter.mayd...@linaro.org
libcurl versions 7.16.0 and later have a timer callback interface which
must be implemented in order for libcurl to make forward progress (it
will sometimes rely on being called back on the timeout if there are
no file descriptors registered).
This updates the documentation for commiting snapshot images.
Specifically, this highlights what happens when the base image
is either smaller or larger than the snapshot image being committed.
In the case of the base image being smaller, it is resized to the
larger size of the snapshot image.
Currently, if an image file is logically larger than its backing file,
committing it via 'qemu-img commit' will fail.
For instance, if we have a base image with a virtual size 10G, and a
snapshot image of size 20G, then committing the snapshot offline with
'qemu-img commit' will likely fail.
If the top image to commit is the active layer, and also larger than
the base image, then an I/O error will likely be returned during
block-commit.
For instance, if we have a base image with a virtual size 10G, and a
active layer image of size 20G, then committing the snapshot via
'block-commit'
Changes, v4-v5
Patch 1/3: Update ret in bdrv_commit() (Kevin)
Patch 2/3: None
Patch 3/3: None
Changes, v3-v4
Patch 1/3: Commit message typo (Eric)
Patch 2/3: Removed dead code (Benoît)
Patch 3/3: None
Changes, v2-v3:
Patch 1/3: None
Patch 2/3: Set errp for both bdrv_getlength() failure cases
On Fri, 24 Jan 2014 12:14:12 +0200
Stratos Psomadakis pso...@grnet.gr wrote:
On 01/23/2014 08:28 PM, Luiz Capitulino wrote:
On Thu, 23 Jan 2014 17:33:33 +0200
Stratos Psomadakis pso...@grnet.gr wrote:
On 01/23/2014 03:54 PM, Luiz Capitulino wrote:
On Thu, 23 Jan 2014 08:44:02 -0500
On Thu, Jan 23, 2014 at 10:30:16PM +, Peter Maydell wrote:
On 23 January 2014 22:16, Wei Liu wei.l...@citrix.com wrote:
As promised I hacked a prototype based on Paolo's disable TCG series.
However I coded some stubs for TCG anyway. So this series in principle
should work with / without
Il 23/01/2014 23:30, Peter Maydell ha scritto:
As promised I hacked a prototype based on Paolo's disable TCG series.
However I coded some stubs for TCG anyway. So this series in principle
should work with / without Paolo's series.
I'm afraid I still think this is a terrible idea. Xen isn't a
On 24 January 2014 14:30, Paolo Bonzini pbonz...@redhat.com wrote:
Il 23/01/2014 23:30, Peter Maydell ha scritto:
I'm afraid I still think this is a terrible idea. Xen isn't a CPU, and
the binary is smaller isn't IMHO sufficient justification for breaking
QEMU's basic structure of target-*
Il 24/01/2014 15:23, Wei Liu ha scritto:
On Thu, Jan 23, 2014 at 10:30:16PM +, Peter Maydell wrote:
On 23 January 2014 22:16, Wei Liu wei.l...@citrix.com wrote:
As promised I hacked a prototype based on Paolo's disable TCG series.
However I coded some stubs for TCG anyway. So this series
Public bug reported:
Converting images with ftp or http as source could be done a lot faster.
The way it works now (qemu 1.7.50) is significantly slower than the
optimal way.
FTP - how it works now
1. Connect and login to ftp-server. Ask for size of file.
2. Get a chunk of data using rest+retr
Il 24/01/2014 15:35, Peter Maydell ha scritto:
(1) decide that the Xen ring buffers are little-endian even on big-endian
CPUs
(2) communicate the endianness of the Xen ring buffers via Xenstore, just
like we do for sizeof(long), and let the guest use either endianness on any
architecture.
Hi all,
On 12:14 Fri 24 Jan , Stratos Psomadakis wrote:
On 01/23/2014 08:28 PM, Luiz Capitulino wrote:
Not yet, I may have some time tomorrow. How reproducible is it for
you?
We can trigger it (by following the steps described in the first mail)
consistently.
Another question:
Am 24.01.2014 um 14:37 hat Max Reitz geschrieben:
On 24.01.2014 14:26, Kevin Wolf wrote:
Am 23.01.2014 um 21:31 hat Benoît Canet geschrieben:
Signed-off-by: Benoit Canet ben...@irqsave.net
---
block.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
I'm not going to merge this
On Fri, Jan 24, 2014 at 03:38:01PM +0100, Paolo Bonzini wrote:
Il 24/01/2014 15:23, Wei Liu ha scritto:
On Thu, Jan 23, 2014 at 10:30:16PM +, Peter Maydell wrote:
On 23 January 2014 22:16, Wei Liu wei.l...@citrix.com wrote:
As promised I hacked a prototype based on Paolo's disable TCG
Le Thursday 23 Jan 2014 à 21:31:33 (+0100), Benoît Canet a écrit :
From: Benoît Canet ben...@irqsave.net
Signed-off-by: Benoit Canet ben...@irqsave.net
---
block.c | 36
qapi-schema.json | 2 ++
2 files changed, 38 insertions(+)
diff --git
On 24.01.2014 15:48, Kevin Wolf wrote:
Am 24.01.2014 um 14:37 hat Max Reitz geschrieben:
On 24.01.2014 14:26, Kevin Wolf wrote:
Am 23.01.2014 um 21:31 hat Benoît Canet geschrieben:
Signed-off-by: Benoit Canet ben...@irqsave.net
---
block.c | 6 +++---
1 file changed, 3 insertions(+), 3
On Fri, 24 Jan 2014, Paolo Bonzini wrote:
Il 24/01/2014 15:35, Peter Maydell ha scritto:
(1) decide that the Xen ring buffers are little-endian even on
big-endian
CPUs
(2) communicate the endianness of the Xen ring buffers via Xenstore,
just
like we do for sizeof(long),
Am 24.01.2014 um 14:56 hat Paolo Bonzini geschrieben:
From: Peter Maydell peter.mayd...@linaro.org
libcurl versions 7.16.0 and later have a timer callback interface which
must be implemented in order for libcurl to make forward progress (it
will sometimes rely on being called back on the
On 23.01.2014 04:04, Hu Tao wrote:
Signed-off-by: Hu Tao hu...@cn.fujitsu.com
---
tests/qemu-iotests/079 | 63 ++
tests/qemu-iotests/079.out | 32 +++
tests/qemu-iotests/group | 1 +
3 files changed, 96 insertions(+)
Am 24.01.2014 um 15:51 hat Benoît Canet geschrieben:
Le Thursday 23 Jan 2014 à 21:31:33 (+0100), Benoît Canet a écrit :
From: Benoît Canet ben...@irqsave.net
Signed-off-by: Benoit Canet ben...@irqsave.net
---
block.c | 36
Am 24.01.2014 um 15:02 hat Jeff Cody geschrieben:
Changes, v4-v5
Patch 1/3: Update ret in bdrv_commit() (Kevin)
Patch 2/3: None
Patch 3/3: None
[...]
If a snapshot is larger than a backing file, then the offline bdrv_commit and
the live active layer commit will fail with an i/o error
Le Friday 24 Jan 2014 à 18:01:20 (+0800), Hu Tao a écrit :
On Thu, Jan 23, 2014 at 06:13:48PM +0100, Benoît Canet wrote:
Le Thursday 23 Jan 2014 à 11:04:06 (+0800), Hu Tao a écrit :
When cluster size is big enough it can lead offset overflow
Maybe it can lead to an offset overflow in
On Fri, 2014-01-24 at 14:56 +, Stefano Stabellini wrote:
Besides I don't know how to state this more clearly but there are no big
endian Xen guests. There have never been any big endian Xen guests.
There are no big endian Xen guests on the roadmap.
That is perhaps a bit strong, but what is
Le Friday 24 Jan 2014 à 17:32:40 (+0800), Hu Tao a écrit :
On Thu, Jan 23, 2014 at 06:02:08PM +0100, Benoît Canet wrote:
Le Thursday 23 Jan 2014 à 11:04:05 (+0800), Hu Tao a écrit :
n_start can be actually calculated from offset. The number of
sectors to be allocated(n_end - n_start) can
Le Friday 24 Jan 2014 à 14:08:21 (+0100), Kevin Wolf a écrit :
bdrv_commit() could return 0 or 1 on success, depending on whether or
now the last sector was allocated in the overlay and whether the overlay
format had a .bdrv_make_empty callback.
Most callers ignored it, but qemu-img commit
On Fri, Jan 24, 2014 at 02:08:21PM +0100, Kevin Wolf wrote:
bdrv_commit() could return 0 or 1 on success, depending on whether or
now the last sector was allocated in the overlay and whether the overlay
format had a .bdrv_make_empty callback.
Most callers ignored it, but qemu-img commit
Am 24.01.2014 um 16:56 hat Jeff Cody geschrieben:
On Fri, Jan 24, 2014 at 02:08:21PM +0100, Kevin Wolf wrote:
bdrv_commit() could return 0 or 1 on success, depending on whether or
now the last sector was allocated in the overlay and whether the overlay
format had a .bdrv_make_empty
Le Friday 17 Jan 2014 à 15:15:11 (+0100), Kevin Wolf a écrit :
If a request calls wait_serialising_requests() and actually has to wait
in this function (i.e. a coroutine yield), other requests can run and
previously read data (like the head or tail buffer) could become
outdated. In this case,
From: Vadim Rozenfeld vroze...@redhat.com
http://msdn.microsoft.com/en-us/library/windows/hardware/ff541625%28v=vs.85%29.aspx
This code is generic for activating reference time counter or virtual reference
time stamp counter
Signed-off-by: Vadim Rozenfeld vroze...@redhat.com
Reviewed-by:
From: Vadim Rozenfeld vroze...@redhat.com
Signed-off-by: Vadim Rozenfeld vroze...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-i386/cpu.h | 1 +
target-i386/kvm.c | 16 +---
target-i386/machine.c | 22 ++
3 files changed, 36
From: Vadim Rozenfeld vroze...@redhat.com
Signed-off-by: Vadim Rozenfeld vroze...@redhat.com
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-i386/cpu.h | 2 ++
target-i386/kvm.c | 18 +++---
target-i386/machine.c | 23 +++
3 files changed, 40
Am 24.01.2014 um 17:09 hat Benoît Canet geschrieben:
Le Friday 17 Jan 2014 à 15:15:11 (+0100), Kevin Wolf a écrit :
If a request calls wait_serialising_requests() and actually has to wait
in this function (i.e. a coroutine yield), other requests can run and
previously read data (like the
On Fri, Jan 24, 2014 at 05:00:45PM +0100, Kevin Wolf wrote:
Am 24.01.2014 um 16:56 hat Jeff Cody geschrieben:
On Fri, Jan 24, 2014 at 02:08:21PM +0100, Kevin Wolf wrote:
bdrv_commit() could return 0 or 1 on success, depending on whether or
now the last sector was allocated in the overlay
Version 2 of the patch series to add mips32r5-generic model with UFR feature.
It includes extra patch to add support for Config4.
Petar Jovanovic (4):
target-mips: add CPU definition for MIPS32R5
target-mips: add support for CP0_Config4
target-mips: add support for CP0_Config5
From: Petar Jovanovic petar.jovano...@imgtec.com
Description of UFR feature:
Required in MIPS32r5 if floating point is implemented and user-mode FR
switching is supported. The UFR register allows user-mode to clear StatusFR
by executing a CTC1 to UFR with GPR[0] as input, and read StatusFR by
Le Friday 17 Jan 2014 à 15:15:15 (+0100), Kevin Wolf a écrit :
From: Paolo Bonzini pbonz...@redhat.com
The iSCSI backend already gets the block size from the READ CAPACITY
command it sends. Save it so that the generic block layer gets it
too.
Signed-off-by: Paolo Bonzini
From: Petar Jovanovic petar.jovano...@imgtec.com
Add mips32r5-generic among CPU definitions for MIPS.
Define ISA_MIPS32R3 and ISA_MIPS32R5.
Signed-off-by: Petar Jovanovic petar.jovano...@imgtec.com
---
target-mips/mips-defs.h |8
target-mips/translate_init.c | 25
From: Petar Jovanovic petar.jovano...@imgtec.com
Add CP0_Config4, define rw_bitmask.
Signed-off-by: Petar Jovanovic petar.jovano...@imgtec.com
---
target-mips/cpu.h|3 +++
target-mips/helper.h |1 +
target-mips/op_helper.c |6 ++
target-mips/translate.c
From: Petar Jovanovic petar.jovano...@imgtec.com
Add CP0_Config5, define rw_bitmask and enable modifications.
Signed-off-by: Petar Jovanovic petar.jovano...@imgtec.com
---
target-mips/cpu.h| 10 ++
target-mips/helper.h |1 +
target-mips/op_helper.c |6
On Tue, Jan 21, 2014 at 08:38:51PM +0200, Michael S. Tsirkin wrote:
On Tue, Jan 21, 2014 at 01:11:01PM -0500, Gabriel L. Somlo wrote:
Apple hardware invariably adds IRQNoFlags() {0, 8} to HPET._CRS,
and, at least on piix+smp, an OS X guest will panic unless IRQNoFlags
is present. On the
On 01/24/2014 04:15 AM, Alex Bennée wrote:
If you can attach the summary of the data as plain text that would be
useful. Not all of us have access to a Windows box with Excell!
To be fair, it can be opened with openoffice.
r~
kvm_arch_init_vcpu's initialization of the KVM leaves at 0x4100
is broken, because KVM_CPUID_FEATURES is left at 0x4001. Move
it to 0x4101 if Hyper-V is enabled.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
target-i386/kvm.c | 47
The first patch fixes the KVM leaves at 0x4100. Before, there
is no leaf at 0x4101 (and the data of the highest Intel leaf
is returned, e.g. 0xd on a Sandy Bridge). After this patch there is
one.
The second patch is extracted from Vadim's migration patches, which
are patches 3-5.
The MS docs specify HV_X64_MSR_HYPERCALL as a mandatory interface,
thus we must provide the MSRs even if the user only specified
features that, like relaxed timing, in principle don't require them.
And the MSRs are only there if the hypervisor has KVM_CAP_HYPERV.
Signed-off-by: Paolo Bonzini
On Fri, Jan 24, 2014 at 08:38:19AM +0100, Paolo Bonzini wrote:
Il 23/01/2014 23:16, Wei Liu ha scritto:
-echo CONFIG_XEN_PCI_PASSTHROUGH=y $config_target_mak
+if test $target_name != xenpv; then
+echo CONFIG_XEN_I386=y $config_target_mak
+if test
This supersedes my pull request from two weeks ago.
The following changes since commit 732c66ce641c69702a7e7fdb73b68f0c1b583ab5:
Revert error: Don't use error_report() for assertion msgs. (2014-01-17
09:50:11 +1000)
are available in the git repository at:
git://repo.or.cz/qemu/kevin.git
From: Fam Zheng f...@redhat.com
This modifies _cleanup_test_img to remove all the extent files listed by
qemu-img info's format specific information.
Signed-off-by: Fam Zheng f...@redhat.com
Signed-off-by: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
From: Bharata B Rao bhar...@linux.vnet.ibm.com
GlusterFS supports creation of zero-filled file on GlusterFS volume
by means of an API called glfs_zerofill(). Use this API from QEMU to
create an image that is filled with zeroes by using the preallocation
option of qemu-img.
qemu-img create
From: Fam Zheng f...@redhat.com
Introduce _unsupported_imgopts that causes _notrun for specific image
options.
Signed-off-by: Fam Zheng f...@redhat.com
Signed-off-by: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
tests/qemu-iotests/common.rc | 11 +++
From: Bharata B Rao bhar...@linux.vnet.ibm.com
Convert the read, write, flush and discard implementations from aio-based
ones to coroutine based ones.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Kevin Wolf
From: Bharata B Rao bhar...@linux.vnet.ibm.com
Support .bdrv_co_write_zeroes() from gluster driver by using GlusterFS API
glfs_zerofill() that off-loads the writing of zeroes to GlusterFS server.
Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com
Signed-off-by: Stefan Hajnoczi
From: Fam Zheng f...@redhat.com
Some cases are not applicable for vmdk subformats those don't support
certain features, e.g. backing file, and some others can't run on
mult-file image, e.g. monolithicFlat. This adds declaration in test
cases to skip them automatically, so that iotests on vmdk can
From: Peter Lieven p...@kamp.de
if an async libiscsi call fails directly it can only be due
to an out of memory condition. All other errors are returned
through the callback.
Signed-off-by: Peter Lieven p...@kamp.de
Reviewed-by: Ronnie Sahlberg ronniesahlb...@gmail.com
Signed-off-by: Stefan
From: Fam Zheng f...@redhat.com
Local variable n as int64_t avoids overflow with large sector number
calculation. See test case change for failure case.
Signed-off-by: Fam Zheng f...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block/vmdk.c | 4 +--
From: Liu Yuan namei.u...@gmail.com
We should pass base_inode-vdi_id to base_vdi_id of SheepdogVdiReq so that sheep
can create a clone instead a fresh volume.
This fixes following command:
qemu-create -b sheepdog:base sheepdog:clone
so users can boot sheepdog:clone as a normal volume.
Cc:
From: Stefan Hajnoczi stefa...@redhat.com
Commit 9117b47717ad208b12786ce88eacb013f9b3dd1c (qcow2: Change default
for new images to compat=1.1) changed the default qcow2 image format
version but forgot to update qemu-doc.texi and qemu-img.texi.
Signed-off-by: Stefan Hajnoczi stefa...@redhat.com
From: Kewei Yu kewe...@gmail.com
When we disable vnc from ./configure, QEMU can't use the vnc option.
So qtest can't use the vnc -none , otherwise make check fails.
If QEMU uses -display none, -vnc none is excrescent, So we just need to
drop it.
Signed-off-by: Kewei Yu kewe...@gmail.com
From: Stefan Hajnoczi stefa...@redhat.com
Use readline.c for command-line history. There was support for GNU
Readline and BSD Editline but it was never compiled in. Since QEMU has
its own readline.c, just use that when qemu-io runs with stdin attached
to a terminal.
Signed-off-by: Stefan
From: Stefan Hajnoczi stefa...@redhat.com
Make the readline.c functionality reusable. Instead of calling
monitor_printf() and monitor_flush() directly, invoke function pointers
provided by the user.
This way readline.c does not know about Monitor and other users will be
able to make use of
From: Stefan Hajnoczi stefa...@redhat.com
Using stdin with readline.c requires disabling echo and line buffering.
Add a portable wrapper to set the terminal attributes under Linux and
Windows.
Signed-off-by: Stefan Hajnoczi stefa...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
From: Stefan Hajnoczi stefa...@redhat.com
Now that the monitor and readline are decoupled, readline.h no longer
belongs in include/monitor/. Put the header into include/qemu/.
Move the source file into util/ so it can be linked as part of
libqemuutil.a.
Signed-off-by: Stefan Hajnoczi
From: Max Reitz mre...@redhat.com
Move the check whether there actually is a config file into the
read_config() function.
Signed-off-by: Max Reitz mre...@redhat.com
Reviewed-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Eric Blake ebl...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
From: Max Reitz mre...@redhat.com
With that now being possible, bdrv_open() should try to extract a block
device reference from the options and pass it to bdrv_file_open().
Signed-off-by: Max Reitz mre...@redhat.com
Reviewed-by: Kevin Wolf kw...@redhat.com
Signed-off-by: Kevin Wolf
From: Max Reitz mre...@redhat.com
Allow specifying a reference to an existing block device (by name) for
bdrv_file_open() instead of a filename and/or options.
Signed-off-by: Max Reitz mre...@redhat.com
Reviewed-by: Kevin Wolf kw...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
From: Max Reitz mre...@redhat.com
blkdebug and blkverify will, in order to retain compatibility, not
support the field file implicitly through bdrv_open(). In order to be
able to use those drivers without giving a filename anyway, it is
necessary to be able to have block devices without files
From: Max Reitz mre...@redhat.com
Specifying the image filename through the file option is a legacy
option and should not be supported by blockdev-add (in that case, giving
a string for file references an existing block device).
Signed-off-by: Max Reitz mre...@redhat.com
Reviewed-by: Kevin Wolf
From: Max Reitz mre...@redhat.com
Use an Error variable in the read_config() function.
Signed-off-by: Max Reitz mre...@redhat.com
Reviewed-by: Kevin Wolf kw...@redhat.com
Reviewed-by: Eric Blake ebl...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
block/blkdebug.c | 10 ++
1
From: Max Reitz mre...@redhat.com
Add a test case for qdict_array_split() in tests/check-qdict.c.
Signed-off-by: Max Reitz mre...@redhat.com
Reviewed-by: Eric Blake ebl...@redhat.com
Signed-off-by: Kevin Wolf kw...@redhat.com
---
tests/check-qdict.c | 80
1 - 100 of 197 matches
Mail list logo