Re: [Qemu-devel] Make thread pool implementation modular

2013-11-02 Thread Stefan Weil
Am 02.11.2013 00:34, schrieb Matthias Brugger: This patch series makes the thread pool implementation modular. This allows each drive to use a special implementation. The patch series prepares qemu to be able to include thread pools different the one actually implemented. It will allow to

Re: [Qemu-devel] [RFC PATCH] spapr: add ibmveth to the supported network adapters list

2013-11-02 Thread Paolo Bonzini
Il 01/11/2013 11:52, Alexey Kardashevskiy ha scritto: On 10/28/2013 05:03 AM, Alexander Graf wrote: On 10.10.2013, at 20:09, Alexey Kardashevskiy a...@ozlabs.ru wrote: The problem is that -net nic,model=? does not print ibmveth in the list while it is actually supported. Most of the QEMU

Re: [Qemu-devel] [RFC PATCH] spapr: add ibmveth to the supported network adapters list

2013-11-02 Thread Markus Armbruster
Alexander Graf ag...@suse.de writes: Am 01.11.2013 um 03:52 schrieb Alexey Kardashevskiy a...@ozlabs.ru: [...] Or -net interface is deprecated and we do not want even touch it? I don't think we should deprecate it. It's easier to use than anything else. Ahci adoption heavily suffered from

Re: [Qemu-devel] [RFC PATCH] spapr: add ibmveth to the supported network adapters list

2013-11-02 Thread Markus Armbruster
Paolo Bonzini pbonz...@redhat.com writes: Il 01/11/2013 11:52, Alexey Kardashevskiy ha scritto: On 10/28/2013 05:03 AM, Alexander Graf wrote: On 10.10.2013, at 20:09, Alexey Kardashevskiy a...@ozlabs.ru wrote: The problem is that -net nic,model=? does not print ibmveth in the list while it

[Qemu-devel] using qemu binary translation to run I386 code under x86_64

2013-11-02 Thread Lex
Hi all, I am new to the list and to qemu development in general, so my question might be discussed already (though I failed to find an answer in archives, thus writing here). I want to use qemu to execute x86 32-bit binary code inside of x86_64 process under OS X. In future, I would like to

Re: [Qemu-devel] [RFC PATCH] spapr: add ibmveth to the supported network adapters list

2013-11-02 Thread Alexey Kardashevskiy
On 11/02/2013 09:56 PM, Paolo Bonzini wrote: Il 01/11/2013 11:52, Alexey Kardashevskiy ha scritto: On 10/28/2013 05:03 AM, Alexander Graf wrote: On 10.10.2013, at 20:09, Alexey Kardashevskiy a...@ozlabs.ru wrote: The problem is that -net nic,model=? does not print ibmveth in the list while

Re: [Qemu-devel] [PATCH V4 1/6] snapshot: add parameter *errp in snapshot create

2013-11-02 Thread Max Reitz
On 14.10.2013 23:52, Wenchao Xia wrote: 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| 27 +++ block/qcow2.h

Re: [Qemu-devel] [PATCH V4 2/6] qcow2: add error message in qcow2_write_snapshots()

2013-11-02 Thread Max Reitz
On 14.10.2013 23:52, Wenchao Xia wrote: 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 | 48 ++-- 1 files changed, 42

Re: [Qemu-devel] [PATCH V4 3/6] qcow2: do not free clusters when fail in header update in qcow2_write_snapshots

2013-11-02 Thread Max Reitz
On 14.10.2013 23:52, Wenchao Xia wrote: Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com --- block/qcow2-snapshot.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/block/qcow2-snapshot.c b/block/qcow2-snapshot.c index 4bd494b..c933b7f 100644 ---

Re: [Qemu-devel] [PATCH V4 4/6] qcow2: cancel the modification on fail in qcow2_snapshot_create()

2013-11-02 Thread Max Reitz
On 14.10.2013 23:52, Wenchao Xia wrote: Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com --- Reviewed-by: Max Reitz mre...@redhat.com

Re: [Qemu-devel] [PATCH V4 5/6] blkdebug: add debug events for snapshot

2013-11-02 Thread Max Reitz
On 14.10.2013 23:52, Wenchao Xia wrote: Some code in qcow2-snapshot.c directly access bs-file, so in those s/access/accesses/ points error can't be injected by other events. Since the code in Perhaps places instead of points? (And s/error/errors/) qcow2-snapshot.c is qcow2's internal detail

Re: [Qemu-devel] [PATCH V4 6/6] qemu-iotests: add test for qcow2 snapshot

2013-11-02 Thread Max Reitz
On 14.10.2013 23:52, Wenchao Xia wrote: 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

[Qemu-devel] [PATCH] qemu-iotests: Filter out actual image size in 067

2013-11-02 Thread Max Reitz
The actual size of the image file may differ depending on the Linux kernel currently running on the host. Filtering out this value makes this test pass in such cases. Signed-off-by: Max Reitz mre...@redhat.com --- tests/qemu-iotests/067 | 2 +- tests/qemu-iotests/067.out | 10 +- 2

Re: [Qemu-devel] [PATCH V4 3/6] qcow2: do not free clusters when fail in header update in qcow2_write_snapshots

2013-11-02 Thread Max Reitz
On 02.11.2013 14:04, Max Reitz wrote: On 14.10.2013 23:52, Wenchao Xia wrote: Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com --- block/qcow2-snapshot.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/block/qcow2-snapshot.c b/block/qcow2-snapshot.c

Re: [Qemu-devel] [PATCH] qemu-iotests: Filter out actual image size in 067

2013-11-02 Thread Benoît Canet
Le Saturday 02 Nov 2013 à 14:52:11 (+0100), Max Reitz a écrit : The actual size of the image file may differ depending on the Linux kernel currently running on the host. Filtering out this value makes this test pass in such cases. Signed-off-by: Max Reitz mre...@redhat.com ---

[Qemu-devel] [PATCH for-1.7 1/3] sun4m: Add FCode ROM for TCX framebuffer

2013-11-02 Thread Mark Cave-Ayland
Upstream OpenBIOS now implements SBus probing in order to determine the contents of a physical bus slot, which is required to allow OpenBIOS to identify the framebuffer without help from the fw_cfg interface. SBus probing works by detecting the presence of an FCode program (effectively tokenised

[Qemu-devel] [PATCH for-1.7 3/3] sun4m: Add Sun CG3 framebuffer initialisation function

2013-11-02 Thread Mark Cave-Ayland
In order to allow the user to choose the framebuffer for sparc-softmmu, add -vga tcx and -vga cg3 options to the QEMU command line. If no option is specified, the default TCX framebuffer is used. Signed-off-by: Mark Cave-Ayland mark.cave-ayl...@ilande.co.uk CC: Blue Swirl blauwir...@gmail.com CC:

[Qemu-devel] [PATCH for-1.7 0/3] sun4m: Add TCX FCode ROM and support for CG3 framebuffer

2013-11-02 Thread Mark Cave-Ayland
(This is a repost of the complete patchset rebased and with for-1.7 in the subject as requested by Anthony) This patchset does two things: firstly it adds an FCode ROM for the existing TCX framebuffer, and secondly provides QEMU with an implementation of the Sun CG3 8-bit framebuffer. It is

[Qemu-devel] [PATCH for-1.7 2/3] sun4m: Add Sun CG3 framebuffer and corresponding OpenBIOS FCode ROM

2013-11-02 Thread Mark Cave-Ayland
The CG3 framebuffer is a simple 8-bit framebuffer for use with operating systems such as early Solaris that do not have drivers for TCX. Signed-off-by: Mark Cave-Ayland mark.cave-ayl...@ilande.co.uk CC: Blue Swirl blauwir...@gmail.com CC: Bob Breuer breu...@mc.net CC: Artyom Tarasenko

[Qemu-devel] [Bug 1247478] [NEW] usb passthrough mass storage write data corruption

2013-11-02 Thread Sascha Krissler
Public bug reported: the windows 7 professional guest writes to usb high speed mass storage devices connected via host-libusb in bulk packages of either size 20480 or 4096 (as far as the actual file data is concerned and except for the last packet for odd-sized files). The pattern is: 3 times

Re: [Qemu-devel] [RFC PATCH] spapr: add ibmveth to the supported network adapters list

2013-11-02 Thread Alexander Graf
Am 02.11.2013 um 12:51 schrieb Markus Armbruster arm...@redhat.com: Alexander Graf ag...@suse.de writes: Am 01.11.2013 um 03:52 schrieb Alexey Kardashevskiy a...@ozlabs.ru: [...] Or -net interface is deprecated and we do not want even touch it? I don't think we should deprecate it.

Re: [Qemu-devel] savevm/loadvm

2013-11-02 Thread Alexey Kardashevskiy
On 11/02/2013 01:16 AM, Max Reitz wrote: Hi, Sorry I'm just now replying to this. I ran into the same issue (and another one) and it should be fixed by the upstream commits eedff66f21e542650d895801549ce05ac108278b and 6e13610aa454beba52944e8df6d93158d68ab911. Those have been merged to

[Qemu-devel] [migration] questions about removing the old block-migration code

2013-11-02 Thread Zhanghaoyu (A)
Hi, Juan I read below words on the report of KVM Live Migration: Weather forecast (May 29, 2013), We were going to remove the old block-migration code Then people fixed it Good: it works now Bad: We have to maintain both It uses the same port than migration You need to migrate all/none of block