[Qemu-devel] qemu crash running FASM/FreeDOS

2014-05-31 Thread Adam Baxter
Hi, qemu crashes when running FASM inside of FreeDOS 1.1, but only when assembling a file with a syntax error! QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-6), Copyright (c) 2003-2008 Fabrice Bellard Host is Debian sid on an Intel 2600k with VT enabled. I have a 768MB disk image which is 25MB

Re: [Qemu-devel] qemu crash running FASM/FreeDOS

2014-05-31 Thread Adam Baxter
Sorry. FASM 1.66 (included as a FreeDOS package) crashes as described, but FASM 1.71.21 works as expected. --Adam

Re: [Qemu-devel] qemu crash running FASM/FreeDOS

2014-05-31 Thread Paolo Bonzini
Il 31/05/2014 09:50, Adam Baxter ha scritto: Sorry. FASM 1.66 (included as a FreeDOS package) crashes as described, but FASM 1.71.21 works as expected. Yeah, I was about to reply that if a userspace program crashes both TCG and KVM, it's more likely to be a bug in that program (or at worst

Re: [Qemu-devel] [PATCH] fix configure: duplicate/incorrect order of -lrt

2014-05-31 Thread Paolo Bonzini
Il 30/05/2014 23:20, Rick Liu ha scritto: # we need pthread for static linking. use previous pthread test result elif compile_prog -lrt $pthread_lib ; then - LIBS=-lrt $LIBS - libs_qga=-lrt $libs_qga The compile_prog argument should also place -lrt last. Paolo

Re: [Qemu-devel] qemu crash running FASM/FreeDOS

2014-05-31 Thread Stefan Weil
Am 31.05.2014 09:57, schrieb Paolo Bonzini: Il 31/05/2014 09:50, Adam Baxter ha scritto: Sorry. FASM 1.66 (included as a FreeDOS package) crashes as described, but FASM 1.71.21 works as expected. Yeah, I was about to reply that if a userspace program crashes both TCG and KVM, it's more

Re: [Qemu-devel] qemu crash running FASM/FreeDOS

2014-05-31 Thread Michael Tokarev
31.05.2014 12:22, Stefan Weil wrote: Am 31.05.2014 09:57, schrieb Paolo Bonzini: Il 31/05/2014 09:50, Adam Baxter ha scritto: Sorry. FASM 1.66 (included as a FreeDOS package) crashes as described, but FASM 1.71.21 works as expected. Yeah, I was about to reply that if a userspace program

[Qemu-devel] [RFC] image-fuzzer: Documentation for the image fuzzer

2014-05-31 Thread Maria Kustova
Initial documentation for the image fuzzer Signed-off-by: Maria Kustova mari...@catit.be --- tests/image-fuzzer/docs/image-fuzzer.txt | 126 +++ 1 file changed, 126 insertions(+) create mode 100644 tests/image-fuzzer/docs/image-fuzzer.txt diff --git

[Qemu-devel] [RFC] image-fuzzer: Trivial test runner

2014-05-31 Thread Maria Kustova
This version of test runner executes only one test. In future it will be extended to execute multiple tests in a run. Signed-off-by: Maria Kustova mari...@catit.be --- tests/image-fuzzer/runner.py | 225 +++ 1 file changed, 225 insertions(+) create mode

[Qemu-devel] [PATCH v1 03/72] qapi: Extract query-version definition in qapi/common.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 11 --- qapi/common.json | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 915bd69..6d0aea2 100644 --- a/qapi-schema.json +++ b/qapi-schema.json

[Qemu-devel] [PATCH v1 10/72] qapi: Extract ImageInfoSpecific definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 14 -- qapi/block-core.json | 14 ++ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 0c517f4..26bf23f 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 11/72] qapi: Extract ImageInfo definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 47 --- qapi/block-core.json | 47 +++ 2 files changed, 47 insertions(+), 47 deletions(-) diff --git a/qapi-schema.json

[Qemu-devel] [PATCH v1 05/72] qapi: Extract query-commands definition into qapi/common.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 11 --- qapi/common.json | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 82d675e..1afe023 100644 --- a/qapi-schema.json +++ b/qapi-schema.json

[Qemu-devel] [PATCH v1 06/72] qapi: create two block related json modules

2014-05-31 Thread Benoît Canet
qapi/block-core.json contains block definitions unrelated to emulation. qapi/block.json is a superset of the previous and contains definitions related to emulation. The purpose of these extractions is to be able to hook qapi/block-core.json generated code on qemu-nbd. Signed-off-by: Benoit

[Qemu-devel] [PATCH v1 22/72] qapi: Extract BlockdevOnError definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 23 --- qapi/block-core.json | 23 +++ 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 25c594a..9fe1cbc 100644 ---

[Qemu-devel] [PATCH v1 08/72] qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 15 --- qapi/block-core.json | 15 +++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 50cb25a..2507681 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 01/72] qapi: Extract ErrorClass definition in qapi/common.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 28 ++-- qapi/common.json | 29 + 2 files changed, 31 insertions(+), 26 deletions(-) create mode 100644 qapi/common.json diff --git a/qapi-schema.json b/qapi-schema.json

[Qemu-devel] [PATCH v1 18/72] qapi: Extract query-block definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 11 --- qapi/block-core.json | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index ec1bb00..31102cf 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 14/72] qapi: Extract BlockDeviceIoStatus definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 15 --- qapi/block-core.json | 15 +++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index cdfa222..408602b 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 02/72] qapi: Extract VersionInfo definition in qapi/common.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 26 -- qapi/common.json | 27 +++ 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 366a507..915bd69 100644 ---

[Qemu-devel] [PATCH v1 04/72] qapi: Extract CommandInfo definition in qapi/common.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 11 --- qapi/common.json | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 6d0aea2..82d675e 100644 --- a/qapi-schema.json +++ b/qapi-schema.json

[Qemu-devel] [PATCH v1 30/72] qapi: Extract BlockdevSnapshot definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 23 --- qapi/block-core.json | 23 +++ 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index a317aa2..6cd9fde 100644 ---

[Qemu-devel] [PATCH v1 34/72] qapi: Extract drive-backup definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 18 -- qapi/block-core.json | 18 ++ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 02958cc..79595b1 100644 --- a/qapi-schema.json

[Qemu-devel] [PATCH v1 19/72] qapi: Extract BlockDeviceStats definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 36 qapi/block-core.json | 36 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index

[Qemu-devel] [PATCH v1 32/72] qapi: Extract blockdev-snapshot-sync into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 15 --- qapi/block-core.json | 15 +++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index a03125f..09b864f 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 49/72] qapi: Extract BlockdevDriver definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 15 --- qapi/block-core.json | 15 +++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index b046fd8..8162c9a 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 16/72] qapi: Extract BlockDirtyInfo definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 14 -- qapi/block-core.json | 14 ++ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 7047209..1cb7d2c 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 53/72] qapi: Extract BlockdevOptionsGenericFormat definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 13 - qapi/block-core.json | 13 + 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 547d90a..e96b746 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 41/72] qapi: Extract block-job-pause definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 23 --- qapi/block-core.json | 23 +++ 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 75d76f9..17d92df 100644 ---

[Qemu-devel] [PATCH v1 20/72] qapi: Extract BlockStats definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 22 -- qapi/block-core.json | 22 ++ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index dd2b52a..5d22e55 100644 ---

[Qemu-devel] [PATCH v1 12/72] qapi: Extract ImageCheck definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 50 -- qapi/block-core.json | 50 ++ 2 files changed, 50 insertions(+), 50 deletions(-) diff --git a/qapi-schema.json

[Qemu-devel] [PATCH v1 00/72] Extract qapi commons and block definitions

2014-05-31 Thread Benoît Canet
This hudge chainsawing series sit on top of my quorum maintenance series. It extract commons definition and block definition into separate files. -qapi/common.json contains some definition required by all qapi modules -qapi/block-core.json contains core qapi block definition usable without the

[Qemu-devel] [PATCH v1 15/72] qapi: Extract BlockDeviceMapEntry definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 29 - qapi/block-core.json | 29 + 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 408602b..7047209 100644

[Qemu-devel] [PATCH v1 54/72] qapi: Extract BlockdevOptionsGenericCOWFormat definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 17 - qapi/block-core.json | 17 + 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index e96b746..ad0f1ae 100644 --- a/qapi-schema.json

[Qemu-devel] [PATCH v1 07/72] qapi: Extract SnapshotInfo definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 26 -- qapi/block-core.json | 25 + 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 1ed5926..50cb25a 100644 ---

[Qemu-devel] [PATCH v1 56/72] qapi: Extract BlkdebugEvent definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 19 --- qapi/block-core.json | 19 +++ 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 63a0de3..d1437a6 100644 ---

[Qemu-devel] [PATCH v1 52/72] qapi: Extract BlockdevOptionsVVFAT definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 17 - qapi/block-core.json | 17 + 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 9957054..547d90a 100644 --- a/qapi-schema.json

[Qemu-devel] [PATCH v1 57/72] qapi: Extract BlkdebugInjectErrorOptions definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 32 qapi/block-core.json | 32 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index d1437a6..d2a25c4

[Qemu-devel] [PATCH v1 66/72] qapi: Extract BlockdevSnapshotInternal definition into qapi/block.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 16 qapi/block.json | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 7f928e4..eee4508 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 67/72] qapi: Extract blockdev-snapshot-internal-sync definition into qapi/block.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 20 qapi/block.json | 20 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index eee4508..8a6e192 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 65/72] qapi: Extract BiosAtaTranslation definition into qapi/block.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 34 -- qapi/block.json | 34 ++ 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index c888d23..7f928e4 100644

[Qemu-devel] [PATCH v1 36/72] qapi: Extract drive-mirror definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 51 --- qapi/block-core.json | 51 +++ 2 files changed, 51 insertions(+), 51 deletions(-) diff --git a/qapi-schema.json

[Qemu-devel] [PATCH v1 29/72] qapi: Extract NewImageMode definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 17 - qapi/block-core.json | 17 + 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 88b12d4..a317aa2 100644 --- a/qapi-schema.json

[Qemu-devel] [PATCH v1 70/72] qapi: Extract nbd-server-start definition into qapi/block.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 17 - qapi/block.json | 17 + 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index b67c883..614b126 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 39/72] qapi: Extract block-job-set-speed definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 22 -- qapi/block-core.json | 22 ++ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 3c71c16..307fc54 100644 ---

[Qemu-devel] [PATCH v1 38/72] qapi: Extract block-stream definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 38 -- qapi/block-core.json | 38 ++ 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index

[Qemu-devel] [PATCH v1 46/72] qapi: Extract BlockdevDetectZeroesOptions definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 16 qapi/block-core.json | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 6c29cb8..04e2e5d 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 33/72] qapi: Extract block-commit definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 43 --- qapi/block-core.json | 43 +++ 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json

[Qemu-devel] [PATCH v1 45/72] qapi: Extract BlockdevDiscardOptions definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 14 -- qapi/block-core.json | 13 + 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 5ae556c..6c29cb8 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 37/72] qapi: Extract block_set_io_throttle definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 46 -- qapi/block-core.json | 46 ++ 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/qapi-schema.json

[Qemu-devel] [PATCH v1 48/72] qapi: Extract BlockdevCacheOptions definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 18 -- qapi/block-core.json | 18 ++ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 3eb5a13..b046fd8 100644 --- a/qapi-schema.json

[Qemu-devel] [PATCH v1 40/72] qapi: Extrat block-job-cancel definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 30 -- qapi/block-core.json | 30 ++ 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 307fc54..75d76f9 100644

[Qemu-devel] [PATCH v1 58/72] qapi: Extract BlkdebugSetStateOptions definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 20 qapi/block-core.json | 20 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index d2a25c4..ff85d1c 100644 ---

[Qemu-devel] [PATCH v1 42/72] qapi: Extract block-job-resume definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 20 qapi/block-core.json | 20 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 17d92df..3d4254c 100644 ---

[Qemu-devel] [PATCH v1 64/72] qapi: Extract blockdev-add definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 11 --- qapi/block-core.json | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 0e38f83..c888d23 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 09/72] qapi: Extract ImageInfoSpecificQCow2 definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 21 - qapi/block-core.json | 21 + 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 2507681..0c517f4 100644 ---

[Qemu-devel] [PATCH v1 47/72] qapi: Extract BlockdevAioOptions definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 13 - qapi/block-core.json | 13 + 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 04e2e5d..3eb5a13 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 62/72] qapi: Extract BlockdevOptions definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 46 -- qapi/block-core.json | 46 ++ 2 files changed, 46 insertions(+), 46 deletions(-) diff --git a/qapi-schema.json

[Qemu-devel] [PATCH v1 50/72] qapi: Extract BlockdevOptionsBase definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 37 - qapi/block-core.json | 37 + 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index

[Qemu-devel] [PATCH v1 68/72] qapi: Extract blockdev-snapshot-delete-internal-sync definition into qapi/block.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 27 --- qapi/block.json | 27 +++ 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 8a6e192..eebb632 100644 ---

[Qemu-devel] [PATCH v1 51/72] qapi: Extract BlockdevOptionsFile definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 13 - qapi/block-core.json | 13 + 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 59a7623..9957054 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 69/72] qapi: Extract eject definition into qapi/block.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 19 --- qapi/block.json | 19 +++ 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index eebb632..b67c883 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 55/72] qapi: Extract BlockdevOptionsQcow2 definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 28 qapi/block-core.json | 28 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index ad0f1ae..63a0de3 100644 ---

[Qemu-devel] [PATCH v1 60/72] qapi: Extract BlockdevOptionsBlkverify definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 15 --- qapi/block-core.json | 15 +++ 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 5f371c8..2f5e0e2 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 59/72] qapi: Extract BlockdevOptionsBlkdebug definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 24 qapi/block-core.json | 24 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index ff85d1c..5f371c8 100644 ---

[Qemu-devel] [PATCH v1 13/72] qapi: Extract BlockDeviceInfo definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 72 qapi/block-core.json | 72 2 files changed, 72 insertions(+), 72 deletions(-) diff --git a/qapi-schema.json

[Qemu-devel] [PATCH v1 61/72] qapi: Extract BlockdevOptionsQuorum definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 22 -- qapi/block-core.json | 22 ++ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 2f5e0e2..9e7138e 100644 ---

[Qemu-devel] [PATCH v1 63/72] qapi: Extract BlockdevRef definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 17 - qapi/block-core.json | 17 + 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 53e546b..0e38f83 100644 --- a/qapi-schema.json

[Qemu-devel] [PATCH v1 71/72] qapi: Extract nbd-server-add definition into qapi/block.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 16 qapi/block.json | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 614b126..2ad42e4 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 72/72] qapi: Extract nbd-server-stop definition into qapi/block.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 10 -- qapi/block.json | 10 ++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 2ad42e4..14b498b 100644 --- a/qapi-schema.json +++ b/qapi-schema.json

[Qemu-devel] [PATCH v1 25/72] qapi: Extract BlockJobInfo definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 30 -- qapi/block-core.json | 30 ++ 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 1740ff5..ec08c0e 100644

[Qemu-devel] Another question regarding hcd-ohci

2014-05-31 Thread BALATON Zoltan
Hello, I got further with the USB driver for OpenBIOS but there's a part I don't understand. When configuring the keyboard it tries to get the HID descriptor to find out the keyboard layout from the country code (even though it only supports us layout so I can just skip all this for now).

[Qemu-devel] [PATCH v1 24/72] qapi: Extract BlockJobType definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 18 -- qapi/block-core.json | 18 ++ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index a3321bc..1740ff5 100644 --- a/qapi-schema.json

[Qemu-devel] [PATCH v1 27/72] qapi: Extract block_passwd definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 37 - qapi/block-core.json | 37 + 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index

[Qemu-devel] [PATCH v1 26/72] qapi: Extract query-block-jobs definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 11 --- qapi/block-core.json | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index ec08c0e..3aee262 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 43/72] qapi: Extract block-job-complete definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 26 -- qapi/block-core.json | 26 ++ 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 3d4254c..2c625aa 100644 ---

[Qemu-devel] [PATCH v1 35/72] qapi: Extract query-named-block-nodes definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 11 --- qapi/block-core.json | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 79595b1..a671db7 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 17/72] qapi: Extract BlockInfo definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 36 qapi/block-core.json | 36 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index

[Qemu-devel] [PATCH v1 31/72] qapi: Extract DriveBackup definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 42 -- qapi/block-core.json | 42 ++ 2 files changed, 42 insertions(+), 42 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index

[Qemu-devel] [PATCH v1 44/72] qapi: Extract drive-mirror-replace definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 33 - qapi/block-core.json | 33 + 2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 2c625aa..5ae556c

[Qemu-devel] [PATCH v1 28/72] qapi: Extract block_resize definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 22 -- qapi/block-core.json | 22 ++ 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 95e30a0..88b12d4 100644 ---

[Qemu-devel] [PATCH v1 21/72] qapi: Extract query-blockstats definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 11 --- qapi/block-core.json | 11 +++ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 5d22e55..25c594a 100644 --- a/qapi-schema.json +++

[Qemu-devel] [PATCH v1 23/72] qapi: Extract MirrorSyncMode definition into qapi/block-core.json

2014-05-31 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 17 - qapi/block-core.json | 17 + 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 9fe1cbc..a3321bc 100644 --- a/qapi-schema.json

Re: [Qemu-devel] [PATCH 0/3] input: add support for kbd delays

2014-05-31 Thread Dave Mielke
[quoted lines by Gerd Hoffmann on 2014/05/28 at 14:26 +0200] Hi: Little series of three input patches. First patch adds support for submitting keyboard delays, which will make the input layer setup a timer, buffer the following keyboard events, send them to the guest once the delay is over.

[Qemu-devel] [Bug 1292037] Re: Solaris 10 x86 guest crashes qemu with -icount 1 option

2014-05-31 Thread prajeeth
** Description changed: Commit: f53f3d0a00b6df39ce8dfca942608e5b6a9a4f71 on qemu.git Solaris image: Solaris 10 x86 (32 bit) command: ./i386-softmmu/qemu-system-i386 -hda image-file -m 2G -icount 1 -monitor stdio Crashes saying: qemu: Fatal: Raised interrupt while not in I/O

[Qemu-devel] [PATCH] thread-pool: fix deadlock when callbacks depends on each other

2014-05-31 Thread Marcin Gibuła
When two coroutines submit I/O and first coroutine depends on second to complete (by calling bdrv_drain_all), deadlock may occur. This is because both requests may have completed before thread pool notifier got called. Then, when notifier gets executed and first coroutine calls aio_pool() to

[Qemu-devel] [RFC 0/5] nbd: Adapt for dataplane

2014-05-31 Thread Max Reitz
For the NBD server to work with dataplane, it needs to correctly access the exported BDS. It makes the most sense to run both in the same AioContext, therefore this series implements methods for tracking a BDS's AioContext and makes NBD make use of this for keeping the clients connected to that

[Qemu-devel] [RFC 2/5] aio: Add io_read_poll() callback

2014-05-31 Thread Max Reitz
Similar to how qemu_set_fd_handler2() allows defining a function which checks whether the recipient is ready to read, add aio_set_fd_handler2() with a parameter for defining such a callback. Signed-off-by: Max Reitz mre...@redhat.com --- aio-posix.c | 26 --

[Qemu-devel] [RFC 5/5] nbd: Follow the BDS' AIO context

2014-05-31 Thread Max Reitz
Keep the NBD server always in the same AIO context as the exported BDS by calling bdrv_follow_aio() and implementing the required callbacks. Signed-off-by: Max Reitz mre...@redhat.com --- nbd.c | 36 1 file changed, 32 insertions(+), 4 deletions(-) diff

[Qemu-devel] [RFC 3/5] nbd: Use aio_set_fd_handler2()

2014-05-31 Thread Max Reitz
Instead of using the main loop function qemu_set_fd_handler2(), use the AIO function in the context of the exported BDS. Signed-off-by: Max Reitz mre...@redhat.com --- nbd.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/nbd.c b/nbd.c index

[Qemu-devel] [RFC 4/5] block: Add AIO followers

2014-05-31 Thread Max Reitz
If a long-running operation on a BDS wants to always remain in the same AIO context, it somehow needs to keep track of the BDS changing its context. This adds a function for registering callbacks on a BDS which are called whenever the BDS is attached or detached from an AIO context.

Re: [Qemu-devel] [PATCH v5 0/3] Quorum maintaince operations

2014-05-31 Thread Benoît Canet
The Friday 30 May 2014 à 19:53:12 (+0200), Max Reitz wrote : On 30.05.2014 13:18, Benoît Canet wrote: These are the last bits required to make quorum usable in production. v5: rebase on latest Stefan's block branch [Kevin] v4: update patchset to stefan's block branch

Re: [Qemu-devel] [PATCH v5 0/3] Quorum maintaince operations

2014-05-31 Thread Max Reitz
On 31.05.2014 20:45, Benoît Canet wrote: The Friday 30 May 2014 à 19:53:12 (+0200), Max Reitz wrote : On 30.05.2014 13:18, Benoît Canet wrote: These are the last bits required to make quorum usable in production. v5: rebase on latest Stefan's block branch [Kevin] v4: update

[Qemu-devel] [RFC 1/5] nbd: Correct name comparison for export_set_name()

2014-05-31 Thread Max Reitz
exp-name == name is certainly true if both strings are equal and will work for both of them being NULL (which is important to check here); however, the strings may also be equal without having the same address, in which case there is no need to replace the export's name either. Therefore, add a

Re: [Qemu-devel] [PATCH v5 0/3] Quorum maintaince operations

2014-05-31 Thread Benoît Canet
The Saturday 31 May 2014 à 20:47:47 (+0200), Max Reitz wrote : On 31.05.2014 20:45, Benoît Canet wrote: The Friday 30 May 2014 à 19:53:12 (+0200), Max Reitz wrote : On 30.05.2014 13:18, Benoît Canet wrote: These are the last bits required to make quorum usable in production. v5: rebase

[Qemu-devel] [PATCH] qemu-img: Report error even with --oformat=json

2014-05-31 Thread Max Reitz
img_check() should report that the format of the given image does not support checks even if JSON output is desired. JSON data is output to stdout, as opposed to error messages, which are (in the case of qemu-img) printed to stderr. Therefore, it is easy to distinguish between the two. Also,

Re: [Qemu-devel] [RFC 0/5] nbd: Adapt for dataplane

2014-05-31 Thread Max Reitz
On 31.05.2014 20:43, Max Reitz wrote: [snip] However, if bs_aio_detach() is called from a different thread than the old AioContext is running in, we may still have coroutines running for which we should wait before returning from bs_aio_detach(). After re-reading Stefan's RFC and the AIO

[Qemu-devel] [PATCH 1/3] nbd: Handle fixed new-style clients.

2014-05-31 Thread Hani Benhabiles
Signed-off-by: Hani Benhabiles h...@linux.com --- include/block/nbd.h | 6 ++ nbd.c | 12 +++- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/include/block/nbd.h b/include/block/nbd.h index 79502a0..95d52ab 100644 --- a/include/block/nbd.h +++

[Qemu-devel] [PATCH 3/3] nbd: Shutdown socket before closing.

2014-05-31 Thread Hani Benhabiles
This forces finishing data sending to client before closing the socket like in exports listing or replying with NBD_REP_ERR_UNSUP cases. Signed-off-by: Hani Benhabiles h...@linux.com --- blockdev-nbd.c | 1 + qemu-nbd.c | 1 + 2 files changed, 2 insertions(+) diff --git a/blockdev-nbd.c

[Qemu-devel] [PATCH 0/3] nbd: Add exports listing option

2014-05-31 Thread Hani Benhabiles
Compared to v1: * 2/3: Handle options in a loop. Handle NBD_OPT_ABORT and send NBD_REP_ERR_UNSUP accordingly. * 3/3: New patch. Hani Benhabiles (3): nbd: Handle fixed new-style clients. nbd: Add exports listing support. nbd: Shutdown socket before closing. blockdev-nbd.c | 1

[Qemu-devel] [PATCH 2/3] nbd: Add exports listing support.

2014-05-31 Thread Hani Benhabiles
This is added by handling the NBD_OPT_LIST and NBD_OPT_ABORT options. NBD_REP_ERR_UNSUP is also sent for unknown NBD option values. Signed-off-by: Hani Benhabiles h...@linux.com --- include/block/nbd.h | 5 ++ nbd.c | 197 +--- 2

  1   2   >