the functions are used to write header of kdump-compressed format to vmcore.
Header of kdump-compressed format includes:
1. common header: DiskDumpHeader32 / DiskDumpHeader64
2. sub header: KdumpSubHeader32 / KdumpSubHeader64
3. extra information: only elf notes here
Signed-off-by: Qiao Nuohan
kdump-compressed format supports three compression format, zlib/lzo/snappy.
Currently, only zlib is available. This patch is used to support lzo/snappy.
'--enable-lzo/--enable-snappy' is needed to be specified with configure to make
lzo/snappy available for qemu
Signed-off-by: Qiao Nuohan
Function is used to write vmcore. If flag_flatten is specified, flatten format
will be used. In flatten format, data is written block by block in vmcore.
struct MakedumpfileDataHeader is used to indicate the offset and size of a data
block.
struct MakedumpfileDataHeader {
int64_t offset;
'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 }
- { return: {
format-option: optional,
Hi, all
The last version is here:
http://lists.nongnu.org/archive/html/qemu-devel/2013-07/msg01376.html
Command 'dump-guest-memory' was introduced to dump guest's memory. But the
vmcore's format is only elf32 or elf64. The message is here:
flatten format may be used when writing kdump-compressed format. The format is
also used by makedumpfile, you can refer to the following URL to get more
detailed information about flatten format of kdump-compressed format:
http://sourceforge.net/projects/makedumpfile/
The two functions here are
the function can be used by write_elf32_notes/write_elf64_notes to write notes
to a buffer. If fd_write_vmcore is used, write_elf32_notes/write_elf64_notes
will write elf notes to vmcore directly. Instead, if buf_write_note is used,
elf notes will be written to opaque-note_buf at first.
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 vmcore and can be:
1. 'elf': ELF format, without compression
2. 'kdump-zlib': kdump-compressed
DataCache is used to store data temporarily, then the data will be written to
vmcore. These functions will be called later when writing data of page to
vmcore.
Signed-off-by: Qiao Nuohan qiaonuo...@cn.fujitsu.com
---
dump.c| 52 +
functions are used to write page to vmcore. vmcore is written page by page.
page desc is used to store the information of a page, including a page's size,
offset, compression format, etc.
Signed-off-by: Qiao Nuohan qiaonuo...@cn.fujitsu.com
---
dump.c| 258
write_elf32_notes/wirte_elf64_notes use fd_write_vmcore to write elf notes to
vmcore. Adding parameter WriteCoreDumpFunction f makes it available to choose
the method of writing elf notes
Signed-off-by: Qiao Nuohan qiaonuo...@cn.fujitsu.com
---
dump.c | 16
1 files changed, 8
functions are used to write 1st and 2nd dump_bitmap of kdump-compressed format,
which is used to indicate whether the corresponded page is existed in vmcore.
1st and 2nd dump_bitmap are same, because dump level is specified to 1 here.
Signed-off-by: Qiao Nuohan qiaonuo...@cn.fujitsu.com
---
On 2013-12-06 10:35, Gerd Hoffmann wrote:
This also switches from lgplvgabios to seavgabios.
Signed-off-by: Gerd Hoffmann kra...@redhat.com
---
pc-bios/vgabios-cirrus.bin | Bin 35840 - 36864 bytes
pc-bios/vgabios-qxl.bin| Bin 40448 - 37376 bytes
pc-bios/vgabios-stdvga.bin | Bin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Il 05/01/2014 10:35, Jan Kiszka ha scritto:
On 2013-12-06 10:35, Gerd Hoffmann wrote:
This also switches from lgplvgabios to seavgabios.
Signed-off-by: Gerd Hoffmann kra...@redhat.com ---
pc-bios/vgabios-cirrus.bin | Bin 35840 - 36864 bytes
On 2014-01-05 12:26, Paolo Bonzini wrote:
Il 05/01/2014 10:35, Jan Kiszka ha scritto:
On 2013-12-06 10:35, Gerd Hoffmann wrote:
This also switches from lgplvgabios to seavgabios.
Signed-off-by: Gerd Hoffmann kra...@redhat.com ---
pc-bios/vgabios-cirrus.bin | Bin 35840 - 36864 bytes
No need to re-append an expr list, it's ok to return schema.exprs
Signed-off-by: Amos Kong ak...@redhat.com
---
scripts/qapi.py | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/scripts/qapi.py b/scripts/qapi.py
index 750e9fb..4263bbd 100644
--- a/scripts/qapi.py
+++
This is an implement of qmp full-introspection,
parse and convert the json string to a dynamical tree,
return it to management through QMP command output.
The whole output of query-qmp-schema command:
https://raw.github.com/kongove/misc/master/txt/qmp-introspection.output.txt
Welcome your
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.
It parses all json definition in qapi-schema.json, and generate a
QMP schema is defined in a json file, it will be parsed by
qapi scripts and generate C files.
We want to return the schema information to management,
this patch converts the json file to a string table in a
C head file, then we can use the json content in QEMU code.
eg: (qmp-schema.h)
const
Support for pci-serial-2x and pci-serial-4x added to inf file.
Standard Windows driver mf.sys used to split single function
device into per-port nodes.
Signed-off-by: Miki Mishael mmish...@redhat.com
Signed-off-by: Dmitry Fleytman dfley...@redhat.com
---
docs/qemupciserial.inf | 227
Add support for isa-serial method for qemu-ga on Windows,
Added -p command line parameter for serial port name
specification, e.g. -p COM15.
Signed-off-by: Miki Mishael mmish...@redhat.com
Signed-off-by: Dmitry Fleytman dfley...@redhat.com
---
qga/channel-win32.c | 27 +--
all these tests do anything of the following and thus fail with any
protocol other than file:
- the tests use rm, cp or mv shell commands which only work on file
- the tests use qcow2.py
- the images construct new filenames (e.g. backing file names) and
the logic is broken for anything else
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/013 |9 -
tests/qemu-iotests/013.out |2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/013 b/tests/qemu-iotests/013
index ea3cab9..0dbc934 100755
--- a/tests/qemu-iotests/013
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/016 |2 +-
tests/qemu-iotests/025 |2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/qemu-iotests/016 b/tests/qemu-iotests/016
index b87a32b..7ea9e94 100755
--- a/tests/qemu-iotests/016
+++
In order to proceed with the integration of the NFS protocol driver into
qemu I was asked by Stefan to add integration for NFS into the qemu-iotests.
Unfortunately, this became more complex than I had expected because most
of the tests for non RAW formats only work with the file protocol because
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/014|4 ++--
tests/qemu-iotests/014.out|2 +-
tests/qemu-iotests/023| 11 +--
tests/qemu-iotests/023.out| 16
tests/qemu-iotests/common.pattern |7
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/common| 22 +++---
tests/qemu-iotests/common.rc |3 +++
2 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/tests/qemu-iotests/common b/tests/qemu-iotests/common
index 8b4e22c..e19673b 100644
---
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/038 |9 -
tests/qemu-iotests/038.out |2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/038 b/tests/qemu-iotests/038
index cfaf00a..2b8318f 100755
--- a/tests/qemu-iotests/038
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/034 |7 +++
tests/qemu-iotests/034.out |2 +-
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/tests/qemu-iotests/034 b/tests/qemu-iotests/034
index e911d6f..0f95379 100755
--- a/tests/qemu-iotests/034
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/020 | 24 +++-
tests/qemu-iotests/020.out |2 +-
2 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/tests/qemu-iotests/020 b/tests/qemu-iotests/020
index a42f32f..55358ac 100755
---
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/037 |9 +++--
tests/qemu-iotests/037.out |2 +-
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/tests/qemu-iotests/037 b/tests/qemu-iotests/037
index cbe2647..d7c9cee 100755
--- a/tests/qemu-iotests/037
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/018 | 22 +-
tests/qemu-iotests/018.out |4 ++--
2 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/tests/qemu-iotests/018 b/tests/qemu-iotests/018
index aa9d3cb..fecf281 100755
---
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/043 | 24 ++--
tests/qemu-iotests/043.out | 12 ++--
2 files changed, 16 insertions(+), 20 deletions(-)
diff --git a/tests/qemu-iotests/043 b/tests/qemu-iotests/043
index b316b97..4c9e930 100755
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/067.out |8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/qemu-iotests/067.out b/tests/qemu-iotests/067.out
index 8d271cc..79ed90f 100644
--- a/tests/qemu-iotests/067.out
+++
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/028 |9 -
tests/qemu-iotests/028.out |2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/028 b/tests/qemu-iotests/028
index a99e4fa..4c7644d 100755
--- a/tests/qemu-iotests/028
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/024 | 12 +---
tests/qemu-iotests/024.out |4 ++--
2 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/tests/qemu-iotests/024 b/tests/qemu-iotests/024
index 9bf99e1..1db42df 100755
---
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/026 | 20 +---
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/tests/qemu-iotests/026 b/tests/qemu-iotests/026
index df2884b..fe268e4 100755
--- a/tests/qemu-iotests/026
+++ b/tests/qemu-iotests/026
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/046 |9 +++--
tests/qemu-iotests/046.out |2 +-
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/tests/qemu-iotests/046 b/tests/qemu-iotests/046
index 2d44bbb..2a69a11 100755
--- a/tests/qemu-iotests/046
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/019 | 30 ++
tests/qemu-iotests/019.out |4 ++--
2 files changed, 16 insertions(+), 18 deletions(-)
diff --git a/tests/qemu-iotests/019 b/tests/qemu-iotests/019
index d75d125..5638611 100755
---
reopening is currently not supported.
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/020 |5 +
1 file changed, 5 insertions(+)
diff --git a/tests/qemu-iotests/020 b/tests/qemu-iotests/020
index 55358ac..2144463 100755
--- a/tests/qemu-iotests/020
+++
Signed-off-by: Peter Lieven p...@kamp.de
---
ui/vnc.c | 61 ++---
ui/vnc.h |6 +-
2 files changed, 43 insertions(+), 24 deletions(-)
diff --git a/ui/vnc.c b/ui/vnc.c
index 5601cc3..1ca6021 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@
this series includes several optimizations for the ui/vnc guest to server and
server to client
update cycles. comments/reviews appreciated.
v2-v3: - fixed checkpatch warnings [Stefan]
- fixed an old coding style violation [Stefan]
v1-v2: - new patches 2,4,5
- patch3: added
vnc_update_client currently scans the dirty bitmap of each client
bitwise which is a very costly operation if only few bits are dirty.
vnc_refresh_server_surface does almost the same.
this patch optimizes both by utilizing the heavily optimized
function find_next_bit to find the offset of the next
this allows for setting VNC_DIRTY_PIXELS_PER_BIT to different
values than 16 if desired.
Signed-off-by: Peter Lieven p...@kamp.de
---
ui/vnc.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/vnc.c b/ui/vnc.c
index 1ca6021..1d2aa1a 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@
Signed-off-by: Peter Lieven p...@kamp.de
---
ui/vnc.c |6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/ui/vnc.c b/ui/vnc.c
index 980df34..805c47a 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -430,7 +430,6 @@ static int vnc_refresh_server_surface(VncDisplay *vd);
static
Signed-off-by: Peter Lieven p...@kamp.de
---
ui/vnc.c |9 +
1 file changed, 9 insertions(+)
diff --git a/ui/vnc.c b/ui/vnc.c
index 805c47a..cdb1f4f 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -3171,7 +3171,9 @@ void vnc_display_open(DisplayState *ds, const char
*display, Error **errp)
The following artifical test (just the bitmap operation part) running
vnc_update_client 65536 times on a 2560x2048 surface illustrates the
performance difference:
All bits clean - vnc_update_client_new: 0.07 secs
vnc_update_client_new2: 0.07 secs
It seems everything works ok without hugepages (without -mem-prealloc
and -mem-path qemu parameters and with transparent_hugepage, hugepagesz,
hugepages, default_hugepagesz removed form kernel command line).
Setting transparent_hugepage=never hugepagesz=2M hugepages=3000
default_hugepagesz=2M at
Hi,
please use prefix AwA10 for names instead of Aw,
also PATCH 1/2.
Thanks for your effort on this!
Beniamino Galvani wrote:
Signed-off-by: Beniamino Galvanib.galv...@gmail.com
---
hw/arm/allwinner-a10.c | 20
include/hw/arm/allwinner-a10.h |4
2
When nap, clear no persistent register as ISA spec says.
Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com
---
target-ppc/excp_helper.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/target-ppc/excp_helper.c b/target-ppc/excp_helper.c
index a9712bc..5dbb166 100644
---
Add the emulation of insn nap for hypervisor
Signed-off-by: Liu Ping Fan pingf...@linux.vnet.ibm.com
---
target-ppc/excp_helper.c | 4
target-ppc/helper.h | 1 +
target-ppc/translate.c | 6 ++
3 files changed, 11 insertions(+)
diff --git a/target-ppc/excp_helper.c
Paolo Bonzini wrote:
Il 02/01/2014 11:51, Peter Crosthwaite ha scritto:
No, please use realize and avoid init. This way you can use an Error*
to report the error.
Also, the actual load_image_targphys call probably should be done in a
reset handler, not at realize time.
Ok I
On Fri, Jan 03, 2014 at 12:28:31PM +0100, Peter Lieven wrote:
On 03.01.2014 11:37, Stefan Hajnoczi wrote:
Looks good. In order to merge this new block driver qemu-iotests
support for nfs is required. That way the block driver can be exercised
and checked for regressions (I guess you
On 2014年01月05日 02:39, Peter Lieven wrote:
~/git/qemu/tests/qemu-iotests$ ./check -qcow2 51
QEMU -- ./qemu
QEMU_IMG -- ./qemu-img
QEMU_IO -- ./qemu-io
QEMU_NBD -- /usr/local/bin/qemu-nbd
IMGFMT-- qcow2 (compat=1.1)
IMGPROTO -- file
PLATFORM --
Since 75884af (virtio-blk: Convert to QOM realize), the duplication of
error message is gone. Fix the test reference output to match this.
Reported-by: Peter Lieven p...@kamp.de
Signed-off-by: Fam Zheng f...@redhat.com
---
tests/qemu-iotests/051.out | 1 -
1 file changed, 1 deletion(-)
diff
From: André Hentschel n...@dawncrow.de
Cc: Riku Voipio riku.voi...@iki.fi
Signed-off-by: André Hentschel n...@dawncrow.de
---
See
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/net.h
for the values.
Not entirely sure how to implement recvmmsg and
于 2014/1/3 23:32, Peter Crosthwaite 写道:
On Fri, Jan 3, 2014 at 1:08 PM, Wenchao Xia xiaw...@linux.vnet.ibm.com wrote:
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
---
include/qapi/error.h |6 ++
util/error.c | 21 +
2 files changed, 27
于 2013/12/20 13:23, Wenchao Xia 写道:
After this patch, hidden enum type BlockdevOptionsKind will not
be generated, and other API can use enum BlockdevDriver.
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
Reviewed-by: Eric Blake ebl...@redhat.com
---
qapi-schema.json | 14
On Sat, Dec 21, 2013 at 02:51:23PM +0530, Bharata B Rao wrote:
Hi,
This series is about converting all the bdrv_aio* implementations in gluster
driver to coroutine based implementations. Read, write, flush and discard
routines are converted.
This also adds support for
On Sun, Dec 22, 2013 at 07:15:18PM +, Gripon Sébastien wrote:
I have the need to communicate efficiently between Windows 7 host and linux
guest. I tried first to use an IP socket communication using TAP driver on
Windows. Unfortunately, we reach a maximum of 4 Mbits/s where I would need
Ping.
Faithfully yours
Kewei Yu
2014/1/2 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.
Signed-off-by: Kewei Yu kewe...@gmail.com
---
v2: Consolidate VNC macro's #ifdef'ery to
On Mon, Dec 30, 2013 at 01:33:34AM +0100, Loic Dachary wrote:
diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc
index 28ba0d9..af66bbd 100644
--- a/tests/qemu-iotests/common.rc
+++ b/tests/qemu-iotests/common.rc
@@ -189,7 +189,11 @@ _cleanup_test_img()
;;
On Mon, Dec 30, 2013 at 07:58:29PM +0800, Teng-Feng Yang wrote:
I have been studying QCOW2 file format for a couple of days, and I am
a little bit confused about whether QCOW2 supports UNMAP or not.
Discard is an area that has seen a lot of development activity over the
past year or two. That
Hi Kewei,
On Mon, Jan 6, 2014 at 12:22 PM, Kewei Yu kewe...@gmail.com wrote:
Ping.
Paolo's latest query on the other thread is still an open question.
Does simply substituting -display none for -vnc none resolve the
problem? If not why not?
Regards,
Peter
Faithfully yours
Kewei Yu
Am 06.01.2014 04:13, schrieb Peter Crosthwaite:
Hi Kewei,
On Mon, Jan 6, 2014 at 12:22 PM, Kewei Yu kewe...@gmail.com wrote:
Ping.
Paolo's latest query on the other thread is still an open question.
Does simply substituting -display none for -vnc none resolve the
problem? If not why
On Thu, Jan 02, 2014 at 08:25:10PM +1000, Peter Crosthwaite wrote:
Hi Beniamino,
On Thu, Jan 2, 2014 at 7:18 PM, Beniamino Galvani b.galv...@gmail.com wrote:
This patch adds support for the Fast Ethernet MAC found on Allwinner
SoCs, together with a basic emulation of Realtek RTL8201CP PHY.
OK, I'm viewing the code about the two parameters.
Thanks for your reply.
Faithfully yours
Kewei Yu
2014/1/6 Peter Crosthwaite peter.crosthwa...@xilinx.com
Hi Kewei,
On Mon, Jan 6, 2014 at 12:22 PM, Kewei Yu kewe...@gmail.com wrote:
Ping.
Paolo's latest query on the other thread is
Hi André,
This looks ok, except that scripts/checkpatch.pl says:
WARNING: braces {} are necessary for all arms of this statement
#36: FILE: linux-user/syscall.c:2254:
+if (get_user_ual(sockfd, vptr)
[...]
total: 0 errors, 1 warnings, 30 lines checked
Fix that
Header restore step is added, and old code section fail is
renamed to dealloc_sn_table to tip better, now fail section
does not rollback anything on disk. When one step in rollback
fails, following steps will be skipped, to make sure no dangling
pointer is left.
A new parameter *errp_rollback is
The function still returns int since qcow2_snapshot_delete() will
return the number.
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
---
block/qcow2-snapshot.c | 43 +--
1 files changed, 37 insertions(+), 6 deletions(-)
diff --git
A new variable *err_rollback is added to detect sub function's
rollback failure. If one step in rollback procedure fails, following
steps will be skipped, and the error message will be appended
to errp.
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
---
block/qcow2-snapshot.c | 37
Some code in qcow2-snapshot.c directly accesses bs-file, so in those
places errors can't be injected by other events. Since the code in
qcow2-snapshot.c is similar to the other qcow2 internal code (in regards
to e.g. the L1 table), add some debug events.
Signed-off-by: Wenchao Xia
This test will focus on the low level procedure of qcow2 snapshot
operations, now it covers only the create operation. Overlap error
paths are not checked since no good way to trigger those errors.
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
---
tests/qemu-iotests/075 | 216
Li Guang wrote:
Paolo Bonzini wrote:
Il 02/01/2014 11:51, Peter Crosthwaite ha scritto:
No, please use realize and avoid init. This way you can use an
Error*
to report the error.
Also, the actual load_image_targphys call probably should be done
in a
reset handler, not at realize time.
On Mon, Jan 6, 2014 at 1:55 PM, Li Guang lig.f...@cn.fujitsu.com wrote:
Li Guang wrote:
Paolo Bonzini wrote:
Il 02/01/2014 11:51, Peter Crosthwaite ha scritto:
No, please use realize and avoid init. This way you can use an
Error*
to report the error.
Also, the actual
The return value can help caller check whether error happens,
and it does not need to have *errp since the return value already tips
what happend.
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
---
block/qcow2-refcount.c |8 +---
block/qcow2.h |6 +++---
2 files
On Mon, Jan 6, 2014 at 1:27 PM, Stefan Hajnoczi stefa...@redhat.com wrote:
On Thu, Jan 02, 2014 at 08:25:10PM +1000, Peter Crosthwaite wrote:
Hi Beniamino,
On Thu, Jan 2, 2014 at 7:18 PM, Beniamino Galvani b.galv...@gmail.com
wrote:
This patch adds support for the Fast Ethernet MAC found
V2:
1: all fail case will goto fail section.
2: add the goto code.
v3:
Address Stefan's comments:
2: don't goto fail after allocation failure.
3: use sn-l1size correctly in qcow2_free_cluster().
4-7: add test case to verify the error paths.
Other:
1: new patch fix a existing bug,
Some old code in error_set() is factored out, so this function can
call it.
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
---
include/qapi/error.h |6 ++
util/error.c | 44 +++-
2 files changed, 45 insertions(+), 5 deletions(-)
On Fri, Jan 03, 2014 at 08:13:12PM +0800, Liu Yuan wrote:
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
Peter Crosthwaite wrote:
On Mon, Jan 6, 2014 at 1:55 PM, Li Guanglig.f...@cn.fujitsu.com wrote:
Li Guang wrote:
Paolo Bonzini wrote:
Il 02/01/2014 11:51, Peter Crosthwaite ha scritto:
No, please use realize and avoid init. This way you can use an
Error*
to
The return value is only used for error report before this patch,
so change the function protype to return void.
Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com
---
block/qcow2-snapshot.c| 30 +-
block/qcow2.h |4 +++-
block/rbd.c
On Sat, Jan 04, 2014 at 07:39:08PM +0100, Peter Lieven wrote:
~/git/qemu/tests/qemu-iotests$ ./check -qcow2 51
QEMU -- ./qemu
QEMU_IMG -- ./qemu-img
QEMU_IO -- ./qemu-io
QEMU_NBD -- /usr/local/bin/qemu-nbd
IMGFMT-- qcow2 (compat=1.1)
IMGPROTO -- file
2014/1/3 Paolo Bonzini pbonz...@redhat.com
Il 02/01/2014 15:45, Andreas Färber ha scritto:
v2: Consolidate VNC macro's #ifdef'ery to one central point
(tests/libqtest.c).
What happens if qtest instead uses -display none?
It does use that, since the commit I pointed to in v1. :)
On Mon, Jan 6, 2014 at 2:22 PM, Li Guang lig.f...@cn.fujitsu.com wrote:
Peter Crosthwaite wrote:
On Mon, Jan 6, 2014 at 1:55 PM, Li Guanglig.f...@cn.fujitsu.com wrote:
Li Guang wrote:
Paolo Bonzini wrote:
Il 02/01/2014 11:51, Peter Crosthwaite ha scritto:
No, please use realize and
On 12/25/2013 01:42 AM, Alexey Kardashevskiy wrote:
On 12/17/2013 05:37 PM, Alexey Kardashevskiy wrote:
On 12/04/2013 04:34 PM, Alexey Kardashevskiy wrote:
On 11/16/2013 03:58 AM, Alexey Kardashevskiy wrote:
On 16.11.2013 0:15, Alexander Graf wrote:
Am 15.11.2013 um 00:12 schrieb Alexey
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
---
qemu-doc.texi | 8
Peter Crosthwaite wrote:
On Mon, Jan 6, 2014 at 2:22 PM, Li Guanglig.f...@cn.fujitsu.com wrote:
Peter Crosthwaite wrote:
On Mon, Jan 6, 2014 at 1:55 PM, Li Guanglig.f...@cn.fujitsu.com wrote:
Li Guang wrote:
Paolo Bonzini wrote:
Il 02/01/2014
On Fri, Jan 03, 2014 at 11:08:44AM +0800, Wenchao Xia wrote:
V2:
1: all fail case will goto fail section.
2: add the goto code.
v3:
Address Stefan's comments:
2: don't goto fail after allocation failure.
3: use sn-l1size correctly in qcow2_free_cluster().
4-7: add test case
Li Guang wrote:
Peter Crosthwaite wrote:
On Mon, Jan 6, 2014 at 2:22 PM, Li Guanglig.f...@cn.fujitsu.com
wrote:
Peter Crosthwaite wrote:
On Mon, Jan 6, 2014 at 1:55 PM, Li Guanglig.f...@cn.fujitsu.com
wrote:
Li Guang wrote:
Paolo Bonzini wrote:
Il 02/01/2014 11:51, Peter Crosthwaite
On Mon, Jan 6, 2014 at 3:24 PM, Li Guang lig.f...@cn.fujitsu.com wrote:
Li Guang wrote:
Peter Crosthwaite wrote:
On Mon, Jan 6, 2014 at 2:22 PM, Li Guanglig.f...@cn.fujitsu.com wrote:
Peter Crosthwaite wrote:
On Mon, Jan 6, 2014 at 1:55 PM, Li Guanglig.f...@cn.fujitsu.com
wrote:
Li
On 2014年01月06日 01:21, Peter Lieven wrote:
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/013 |9 -
tests/qemu-iotests/013.out |2 +-
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/tests/qemu-iotests/013 b/tests/qemu-iotests/013
index
Due to missing @one_reg_id assignment in _spr_register(),
the kvm_get_one_reg/kvm_set_one_reg API has never really been working.
This enabled the API and removes use of the API for LPCR as
kvm_arch_get_registers/kvm_arch_put_registers run a loop for all 1024 SPR
and LPCR is one of them.
The existing default value (-1) of the AMR register forbids data access
to all 32 classes. Since the guest linux does not change this register,
we end up with the guest hanging right after switching from the real to
protected mode.
This sets the default AMR value to zero what enables data access
This fixes set-one-register mechanism in KVM and a bug with AMR occured after
fixing it.
Alexey Kardashevskiy (2):
target-ppc: fix Authority Mask Register init value
PPC: KVM: fix set one register
target-ppc/translate_init.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
--
Peter Crosthwaite wrote:
On Mon, Jan 6, 2014 at 3:24 PM, Li Guanglig.f...@cn.fujitsu.com wrote:
Li Guang wrote:
Peter Crosthwaite wrote:
On Mon, Jan 6, 2014 at 2:22 PM, Li Guanglig.f...@cn.fujitsu.com wrote:
Peter Crosthwaite wrote:
On Mon, Jan 6,
On 2014年01月06日 01:21, Peter Lieven wrote:
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/014|4 ++--
tests/qemu-iotests/014.out|2 +-
tests/qemu-iotests/023| 11 +--
tests/qemu-iotests/023.out| 16
On 2014年01月06日 01:21, Peter Lieven wrote:
Signed-off-by: Peter Lieven p...@kamp.de
---
tests/qemu-iotests/018 | 22 +-
tests/qemu-iotests/018.out |4 ++--
2 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/tests/qemu-iotests/018
On 2014年01月06日 01:22, Peter Lieven wrote:
reopening is currently not supported.
Signed-off-by: Peter Lieven p...@kamp.de
For curiosity, is anything specific to nfs stopping the support of
reopen? I think commit will work with host NFS mounted images.
Fam
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
---
v2: Consolidate VNC macro's
1 - 100 of 119 matches
Mail list logo