[Qemu-devel] [PATCH] net: Add the missing option declaration of vhostforce

2011-02-25 Thread Jason Wang
Signed-off-by: Jason Wang jasow...@redhat.com --- net.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/net.c b/net.c index 9ba5be2..21d4443 100644 --- a/net.c +++ b/net.c @@ -1025,7 +1025,11 @@ static const struct { .name = vhostfd,

Re: [Qemu-devel] [PATCH] mst_fpga: correct irq level settings

2011-02-25 Thread andrzej zaborowski
On 16 February 2011 14:22, Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: Final corrections for IRQ levels that are set by mst_fpga: * Don't retranslate IRQ if previously IRQ was masked. * After setting or clearing IRQs through register, apply mask  before setting parent IRQ level.

[Qemu-devel] Re: [PATCH] net: Add the missing option declaration of vhostforce

2011-02-25 Thread Michael S. Tsirkin
On Fri, Feb 25, 2011 at 04:11:27PM +0800, Jason Wang wrote: Signed-off-by: Jason Wang jasow...@redhat.com Acked-by: Michael S. Tsirkin m...@redhat.com --- net.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/net.c b/net.c index 9ba5be2..21d4443 100644 ---

Re: [Qemu-devel] [PATCH] Remove a detached device from qemu_device_opts.

2011-02-25 Thread Markus Armbruster
Minoru Usui u...@mxm.nes.nec.co.jp writes: Hi, William, Markus and other people. On Wed, 23 Feb 2011 10:42:02 +0100 William Dauchy wdau...@gmail.com wrote: Hi Minoru, On Tue, Feb 15, 2011 at 3:32 AM, Minoru Usui u...@mxm.nes.nec.co.jp wrote: I can reproduce, too. But strangely, it

Re: [Qemu-devel] [PATCH V6 3/4] qmp, nmi: convert do_inject_nmi() to QObject

2011-02-25 Thread Markus Armbruster
Anthony Liguori aligu...@linux.vnet.ibm.com writes: On 02/24/2011 10:20 AM, Markus Armbruster wrote: Anthony Liguorialigu...@linux.vnet.ibm.com writes: On 02/24/2011 02:33 AM, Markus Armbruster wrote: Anthony Liguorianth...@codemonkey.ws writes: [...] Please describe all

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V10 06/15] xen: Add the Xen platform pci device

2011-02-25 Thread Ian Campbell
On Thu, 2011-02-24 at 17:36 +, Paolo Bonzini wrote: +/* Send bytes to syslog */ +static void log_writeb(PCIXenPlatformState *s, char val) +{ + if (val == '\n' || s-log_buffer_off == sizeof(s-log_buffer) - 1) { + /* Flush buffer */ + s-log_buffer[s-log_buffer_off] = 0; +

Re: [Qemu-devel] [PATCH v3 01/16] vnc: qemu can die if the client is disconnected while updating screen

2011-02-25 Thread Corentin Chary
On Wed, Feb 23, 2011 at 11:23 PM, Anthony Liguori aligu...@linux.vnet.ibm.com wrote: On 02/04/2011 02:05 AM, Corentin Chary wrote: agraf reported that qemu_mutex_destroy(vs-output_mutex) while failing in vnc_disconnect_finish(). It's because vnc_worker_thread_loop() tries to unlock the mutex

[Qemu-devel] [PATCH] linux-user: Fix unlock_user() call in return from poll()

2011-02-25 Thread Peter Maydell
Correct the broken attempt to calculate the third argument to unlock_user() in the code path which unlocked the pollfd array on return from poll() and ppoll() emulation. (This only caused a problem if unlock_user() wasn't a no-op, eg if DEBUG_REMAP is defined.) Signed-off-by: Peter Maydell

Re: [Qemu-devel] [PATCH V10 06/15] xen: Add the Xen platform pci device

2011-02-25 Thread Paolo Bonzini
On 02/25/2011 10:58 AM, Ian Campbell wrote: Or it should just go away. Guests can already write to 0xe9 and see the output on the host's xm dmesg ring and serial console. Only true if you have configured the guest log level to include debug messages. If you can recompile QEMU to add

RE: [Qemu-devel] Re: Strategic decision: COW format

2011-02-25 Thread Pavel Dovgaluk
On 02/23/2011 05:50 PM, Anthony Liguori wrote: I still don't see. What would you do with thousands of checkpoints? For reverse debugging, if you store checkpoints at a rate of save, every 10ms, and then degrade to storing every 100ms after 1 second, etc. you'll have quite a large

Re: [Qemu-devel] [PATCH 02/10] pxa2xx_pic: update to use qdev and arm-pic

2011-02-25 Thread andrzej zaborowski
Hi Dmitry, On 20 February 2011 14:50, Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: Use qdev/sysbus framework to handle pxa2xx-pic. Instead of exposing IRQs via array, reference them via qdev_get_gpio_in(). Also pxa2xx_pic duplicated some code from arm-pic. Drop it, replacing with

[Qemu-devel] EXPLORE: Lifesciences in India!

2011-02-25 Thread Tushara S. Nair
Dear Sir, I am Tushara Nair, the Industry Relationship Manager at Atharva Lifesciences Consulting Pvt. Ltd. Atharva Lifesciences Consulting is a lifesciences consulting firm tracking the industry in India and in certain territories internationally. Atharva Lifesciences Consulting Pvt. Ltd is

Re: [Qemu-devel] Re: Strategic decision: COW format

2011-02-25 Thread Stefan Hajnoczi
On Fri, Feb 25, 2011 at 11:20 AM, Pavel Dovgaluk pavel.dovga...@ispras.ru wrote: On 02/23/2011 05:50 PM, Anthony Liguori wrote: I still don't see.  What would you do with thousands of checkpoints? For reverse debugging, if you store checkpoints at a rate of save, every 10ms, and then

Re: [Qemu-devel] [PATCH 02/10] pxa2xx_pic: update to use qdev and arm-pic

2011-02-25 Thread Dmitry Eremin-Solenikov
On 2/25/11, andrzej zaborowski balr...@gmail.com wrote: Hi Dmitry, On 20 February 2011 14:50, Dmitry Eremin-Solenikov dbarysh...@gmail.com wrote: Use qdev/sysbus framework to handle pxa2xx-pic. Instead of exposing IRQs via array, reference them via qdev_get_gpio_in(). Also pxa2xx_pic

Re: [Qemu-devel] [PATCH V10 05/15] xen: Add xenfv machine

2011-02-25 Thread Anthony PERARD
On Thu, Feb 24, 2011 at 17:31, Anthony Liguori anth...@codemonkey.ws wrote: diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 7b74473..0ab8907 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -36,6 +36,10 @@  #include sysbus.h  #include arch_init.h  #include blockdev.h +#include xen.h

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V10 03/15] xen: Support new libxc calls from xen unstable.

2011-02-25 Thread Anthony PERARD
On Thu, Feb 24, 2011 at 17:29, Anthony Liguori anth...@codemonkey.ws wrote: On 02/02/2011 08:49 AM, anthony.per...@citrix.com wrote: From: Anthony PERARDanthony.per...@citrix.com This patch adds a generic layer for xc calls, allowing us to choose between the xenner and xen implementations

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V10 03/15] xen: Support new libxc calls from xen unstable.

2011-02-25 Thread Anthony Liguori
On 02/25/2011 08:06 AM, Anthony PERARD wrote: On Thu, Feb 24, 2011 at 17:29, Anthony Liguorianth...@codemonkey.ws wrote: On 02/02/2011 08:49 AM, anthony.per...@citrix.com wrote: From: Anthony PERARDanthony.per...@citrix.com This patch adds a generic layer for xc calls, allowing us

Re: [Qemu-devel] [PATCH V10 05/15] xen: Add xenfv machine

2011-02-25 Thread Anthony Liguori
On 02/25/2011 07:55 AM, Anthony PERARD wrote: On Thu, Feb 24, 2011 at 17:31, Anthony Liguorianth...@codemonkey.ws wrote: diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 7b74473..0ab8907 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -36,6 +36,10 @@ #include sysbus.h #include

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V10 06/15] xen: Add the Xen platform pci device

2011-02-25 Thread Anthony PERARD
On Fri, Feb 25, 2011 at 10:54, Paolo Bonzini pbonz...@redhat.com wrote: On 02/25/2011 10:58 AM, Ian Campbell wrote:  Or it should just go away.  Guests can already write to 0xe9 and see  the output on the host's xm dmesg ring and serial console. Only true if you have configured the guest

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V10 05/15] xen: Add xenfv machine

2011-02-25 Thread Anthony PERARD
On Fri, Feb 25, 2011 at 14:09, Anthony Liguori anth...@codemonkey.ws wrote: On 02/25/2011 07:55 AM, Anthony PERARD wrote: On Thu, Feb 24, 2011 at 17:31, Anthony Liguorianth...@codemonkey.ws  wrote: diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 7b74473..0ab8907 100644 --- a/hw/pc_piix.c

[Qemu-devel] [PATCH] target-arm: Don't decode old cp15 WFI instructions on v7 cores

2011-02-25 Thread Peter Maydell
In v7 of the ARM architecture, WFI (wait for interrupt) is a first-class instruction, but in previous versions this functionality was provided via a cp15 coprocessor register. Add correct feature checks to the decoding of the cp15 WFI instructions so that they behave correctly for newer cores. In

Re: [Qemu-devel] [PATCH 2/2] microblaze: Allow targeting little-endian mb

2011-02-25 Thread Blue Swirl
On Mon, Feb 21, 2011 at 3:44 PM, Edgar E. Iglesias edgar.igles...@petalogix.com wrote: Signed-off-by: Edgar E. Iglesias edgar.igles...@petalogix.com ---  configure                                   |    7 +--  default-configs/microblazeel-linux-user.mak |    1 +  

Re: [Qemu-devel] when to check external interrupt request ? or what is the timing to check and arise external interrupt ?

2011-02-25 Thread Blue Swirl
On Tue, Feb 22, 2011 at 6:47 AM, wang sheng wans...@gmail.com wrote: I'm porting qemu to an new architecture. I come across some difficulty that I can't define the timing that enable qemu's main-thread to be interrupt and check external interrupt . I understand the way that mips used to check

Re: [Qemu-devel] [PATCH 3/3] target-arm: Use TCG temporary leak debugging facilities

2011-02-25 Thread Blue Swirl
On Wed, Feb 23, 2011 at 5:19 PM, Peter Maydell peter.mayd...@linaro.org wrote: Use the new TCG temporary leak debugging facilities to check that each ARM instruction does not leak temporaries. Signed-off-by: Peter Maydell peter.mayd...@linaro.org ---  target-arm/translate.c |    7 +++  

Re: [Qemu-devel] checkpatch.pl false positive: wants braces on #if

2011-02-25 Thread Blue Swirl
On Wed, Feb 23, 2011 at 6:07 PM, Peter Maydell peter.mayd...@linaro.org wrote: If you run checkpatch.pl on this patch: http://patchwork.ozlabs.org/patch/84189/ it complains: WARNING: braces {} are necessary even for single statement blocks #29: FILE: tcg/tcg.c:454: +#if

Re: [Qemu-devel] [PATCH 3/3] target-arm: Use TCG temporary leak debugging facilities

2011-02-25 Thread Peter Maydell
On 25 February 2011 15:32, Blue Swirl blauwir...@gmail.com wrote: On Wed, Feb 23, 2011 at 5:19 PM, Peter Maydell peter.mayd...@linaro.org wrote: + +        if (tcg_check_temp_count()) { +            fprintf(stderr, TCG temporary leak before %08x\n, dc-pc); +        } Perhaps this check

Re: [Xen-devel] Re: [Qemu-devel] [PATCH V10 03/15] xen: Support new libxc calls from xen unstable.

2011-02-25 Thread Anthony PERARD
On Fri, Feb 25, 2011 at 14:11, Anthony Liguori anth...@codemonkey.ws wrote: I think I gave this feedback before but I'd really like to see static inlines here. It's very likely that you'll either want to have tracing or some commands can have a NULL function pointer in which case having a

Re: [Qemu-devel] Memory Map

2011-02-25 Thread Blue Swirl
On Thu, Feb 24, 2011 at 11:08 AM, Salvatore Lionetti salvatorelione...@yahoo.it wrote: Hi, This is what my board do cpu_register_physical_memory(0, 128*1024*1024, ...) cpu_register_physical_memory(0xFF80, 8*1024*1024, ...) and this layout does not change over the entire live (virtual)

[Qemu-devel] Re: qemu compiling error on ppc64: kvm.c:81: error: 'struct kvm_sregs' has no member named 'pvr'

2011-02-25 Thread Dushyant Bansal
On Wednesday 16 February 2011 02:39 PM, Avi Kivity wrote: On 02/15/2011 05:59 PM, Dushyant Bansal wrote: 2. How to configure makefiles to get output of printk statements inside kvm/arch/powerpc/kvm/trace.h Better don't make them printks - just use the tracing framework. I'd write up a small

Re: [Qemu-devel] Missing op on SPARC

2011-02-25 Thread Blue Swirl
On Thu, Feb 24, 2011 at 11:12 AM, 陳韋任 che...@iis.sinica.edu.tw wrote: Hi, all  I have a Linux/SPARC machine and want to run QEMU on it. Here is the system information. -- $ uname -a Linux sparc 2.6.37-rc5-git #1 SMP Tue Dec 21

Re: [Qemu-devel] [PATCH] Split machine creation from the main loop

2011-02-25 Thread Blue Swirl
On Wed, Feb 23, 2011 at 11:38 PM, Anthony Liguori aligu...@us.ibm.com wrote: The goal is to enable the monitor to run independently of whether the machine has been created such that the monitor can be used to specify all of the parameters for machine initialization. Signed-off-by: Anthony

Re: [Qemu-devel] Re: KVM call agenda for Jan 25

2011-02-25 Thread Dushyant Bansal
On Saturday 29 January 2011 04:20 PM, Dushyant Bansal wrote: Or this: which is faster, qemu-img convert -fformat -Oformat src-image dst-image or cpsrc-image dst-image? What about for raw images, shouldn't that be the same speed as cp(1)? Poke around the source code, profile it, understand

Re: [Qemu-devel] [PATCH v3 00/16] vnc: adapative tight, zrle, zywrle, and bitmap module

2011-02-25 Thread Blue Swirl
On Fri, Feb 25, 2011 at 12:43 AM, Corentin Chary corentin.ch...@gmail.com wrote: Is there a special reason why you use __always_inline instead of inline in bitops.h? Because it's not only a hint, I really want this function to be inlined. This breaks compilation for mingw :-( mingw also

Re: [Qemu-devel] [PATCH] Fixing network over sockets implementation for win32

2011-02-25 Thread Blue Swirl
Thanks, applied. On Mon, Feb 21, 2011 at 1:46 PM, Pavel Dovgaluk pavel.dovga...@ispras.ru wrote:  MSDN includes the following in WSAEALREADY error description for connect() function: To preserve backward compatibility, this error is reported as WSAEINVAL to Winsock applications that link to

Re: [Qemu-devel] [PATCH] Fixing tap adapter for win32

2011-02-25 Thread Blue Swirl
Thanks, applied. On Mon, Feb 21, 2011 at 1:47 PM, Pavel Dovgaluk pavel.dovga...@ispras.ru wrote:   This fix allows connection of internal VLAN to the external TAP interface. If tap_win32_write function always returns 0, the TAP network interface in QEMU is disabled. Signed-off-by: Pavel

Re: [Qemu-devel] [PATCH] slirp: Remove some type casts caused by bad declaration of x.tp_buf

2011-02-25 Thread Blue Swirl
Thanks, applied. On Wed, Feb 23, 2011 at 8:40 PM, Stefan Weil w...@mail.berlios.de wrote: x.tp_buf was declared as a uint8_t array, but always used as a char array (which needed a lot of type casts). The patch includes these changes: * Fix declaration of x.tp_buf and remove all type casts.

Re: [Qemu-devel] [PATCH] bitops: fix test_and_change_bit()

2011-02-25 Thread Blue Swirl
Thanks, applied. On Fri, Feb 25, 2011 at 12:47 AM, Corentin Chary corenti...@iksaif.net wrote: ./bitops.h:192: warning: ‘old’ is used uninitialized in this function Signed-off-by: Corentin Chary corenti...@iksaif.net ---  bitops.h |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-)

Re: [Qemu-devel] [PATCH v3 00/16] vnc: adapative tight, zrle, zywrle, and bitmap module

2011-02-25 Thread Blue Swirl
On Fri, Feb 25, 2011 at 12:43 AM, Corentin Chary corentin.ch...@gmail.com wrote: Is there a special reason why you use __always_inline instead of inline in bitops.h? Because it's not only a hint, I really want this function to be inlined. I applied a patch which changes this to just inline.

Re: [Qemu-devel] null mac address

2011-02-25 Thread Blue Swirl
On Fri, Feb 25, 2011 at 4:55 AM, Wen Congyang we...@cn.fujitsu.com wrote: At 02/24/2011 10:40 PM, William Dauchy Write: Hi, I got some troubles hot plugging network pci devices. An attach works as expected but the mac address is still set to 00:00:00:00:00:00 on the guest machine. I have to

Re: [Qemu-devel] [FYI] memory leak in 0.14.0rc1 ?

2011-02-25 Thread Torsten Förtsch
On Tuesday, February 15, 2011 21:16:49 Stefan Hajnoczi wrote: 2011/2/15 Torsten Förtsch torsten.foert...@gmx.net: On Tuesday, February 15, 2011 15:43:32 Stefan Hajnoczi wrote: I have installed winxp and run the machine as /usr/bin/qemu-kvm -name xp.home -m 768 Are you able to

Re: [Qemu-devel] [PATCH 2/3] target-arm: Implement cp15 VA-PA translation

2011-02-25 Thread Peter Maydell
On 21 February 2011 23:19, Adam Lackorzynski a...@os.inf.tu-dresden.de wrote: Implement VA-PA translations by cp15-c7 that went through unchanged previously. Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de Reviewed-by: Peter Maydell peter.mayd...@linaro.org (Sorry for the delay, I

Re: [Qemu-devel] [FYI] memory leak in 0.14.0rc1 ?

2011-02-25 Thread Bruce Rogers
On 2/25/2011 at 11:21 AM, Torsten Förtschtorsten.foert...@gmx.net wrote: On Tuesday, February 15, 2011 21:16:49 Stefan Hajnoczi wrote: 2011/2/15 Torsten Förtsch torsten.foert...@gmx.net: On Tuesday, February 15, 2011 15:43:32 Stefan Hajnoczi wrote: I have installed winxp and run the

[Qemu-devel] Re: [PATCH 0/4] Improve -icount, fix it with iothread

2011-02-25 Thread Paolo Bonzini
On 02/23/2011 12:39 PM, Jan Kiszka wrote: You should try to trace the event flow in qemu, either via strace, via the built-in tracer (which likely requires a bit more tracepoints), or via a system-level tracer (ftrace / kernelshark). The apparent problem is that 25% of cycles is spent in mutex

[Qemu-devel] Re: virtio-serial semantics for binary data and guest agents

2011-02-25 Thread Michael Roth
On 02/24/2011 06:48 AM, Amit Shah wrote: On (Wed) 23 Feb 2011 [08:31:52], Michael Roth wrote: On 02/22/2011 10:59 PM, Amit Shah wrote: On (Tue) 22 Feb 2011 [16:40:55], Michael Roth wrote: If something in the guest is attempting to read/write from the virtio-serial device, and nothing is

[Qemu-devel] x86_64 debugging while in 32-bit mode

2011-02-25 Thread vagran
Hi, I have a problem with debugging 64-bit emulation using Qemu GDB stub. The problem is that Qemu always sends x86_64 registers set disregarding current actual mode of an emulated CPU. It results in error message in GDB - Remote 'g' packet reply is too long: Yes, I understand that in case

Re: [Qemu-devel] [PATCH] Use sigwait instead of sigwaitinfo.

2011-02-25 Thread Blue Swirl
Thanks, applied. On Fri, Feb 18, 2011 at 3:17 PM, Tristan Gingold ging...@adacore.com wrote: Fix compilation failure on Darwin. Signed-off-by: Tristan Gingold ging...@adacore.com ---  compatfd.c |   36 ++--  1 files changed, 18 insertions(+), 18 deletions(-)

[Qemu-devel] Re: [PATCH] target-arm: Don't decode old cp15 WFI instructions on v7 cores

2011-02-25 Thread Adam Lackorzynski
On Fri Feb 25, 2011 at 15:04:12 +, Peter Maydell wrote: In v7 of the ARM architecture, WFI (wait for interrupt) is a first-class instruction, but in previous versions this functionality was provided via a cp15 coprocessor register. Add correct feature checks to the decoding of the cp15

[Qemu-devel] [PATCH] vnc: fix a memory leak in threaded vnc server

2011-02-25 Thread Corentin Chary
VncJobQueue's buffer is intended to be used for as the output buffer for all operations in this queue, but unfortunatly. vnc_async_encoding_start() is in charge of setting this buffer as the current output buffer, but vnc_async_encoding_end() was not writting the changes back to VncJobQueue,

Re: [Qemu-devel] [PATCH] Outdated comment in HACKING

2011-02-25 Thread Anthony Liguori
This patch won't apply with git-am because your mailer is doing weird things. Please use git-send-email to send the patch. Regards, Anthony Liguori On 02/24/2011 06:27 PM, Joey Trebbien wrote: All printf-style functions in the source (except for a few in tests/) already have a format

[Qemu-devel] [RESENT][PATCH] HACKING: Update status of format checking

2011-02-25 Thread Stefan Weil
This patch was already sent on 2011-01-24: Hopefully all functions with printf like arguments now use format checking. This was tested with default build configuration on linux and windows hosts (including some cross compilations), so chances are good that there remain few (if any) functions

Re: [Qemu-devel] [PATCH V6 3/4] qmp, nmi: convert do_inject_nmi() to QObject

2011-02-25 Thread Anthony Liguori
On 02/25/2011 03:54 AM, Markus Armbruster wrote: Anthony Liguorialigu...@linux.vnet.ibm.com writes: On 02/24/2011 10:20 AM, Markus Armbruster wrote: Anthony Liguorialigu...@linux.vnet.ibm.com writes: On 02/24/2011 02:33 AM, Markus Armbruster wrote: Anthony

Re: [Qemu-devel] [PATCH] Outdated comment in HACKING

2011-02-25 Thread Stefan Weil
Am 25.02.2011 23:08, schrieb Anthony Liguori: This patch won't apply with git-am because your mailer is doing weird things. Please use git-send-email to send the patch. Regards, Anthony Liguori On 02/24/2011 06:27 PM, Joey Trebbien wrote: All printf-style functions in the source (except for

[Qemu-devel] [PATCH 10/26] FVD: add impl of interface bdrv_file_open()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_file_open() interface. It supports openning an FVD image. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-journal.c |6 +

[Qemu-devel] [PATCH 20/26] FVD: add impl of interface bdrv_get_info()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_get_info() interface. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-misc.c | 98

[Qemu-devel] [PATCH 24/26] FVD: add impl of interface bdrv_has_zero_init()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_has_zero_init() interface. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-misc.c |9 - 1 files changed, 8 insertions(+),

[Qemu-devel] [PATCH 08/26] FVD: add debugging utilities

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds some debugging utilities to FVD. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/blksim.c |7 +- block/fvd-debug.c | 369

[Qemu-devel] [PATCH 16/26] FVD: add impl for buffered journal updates

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch enhances FVD's journal with the capability of buffering multiple metadata updates and sending them to the journal in a single write. Signed-off-by: Chunqiang Tang ct...@us.ibm.com ---

[Qemu-devel] [PATCH 17/26] FVD: add impl of bdrv_flush() and bdrv_aio_flush()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_flush() and bdrv_aio_flush() interfaces. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-flush.c | 176

[Qemu-devel] [PATCH 23/26] FVD: add impl of interface bdrv_is_allocated()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_is_allocated() interface. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-misc.c | 67

[Qemu-devel] [PATCH 03/26] FVD: add fully automated test-qcow2.sh

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. test-qcow2.sh drives 'qemu-io --auto' to perform fully automated testing for QCOW2. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- test-qcow2.sh | 89

[Qemu-devel] [PATCH 26/26] FVD: add fully automated test-fvd.sh

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. test-fvd.sh drives 'qemu-io --auto' to perform fully automated testing for FVD. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- test-fvd.sh | 161

[Qemu-devel] [PATCH 21/26] FVD: add impl of interface bdrv_close()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_close() interface. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-misc.c | 78

[Qemu-devel] [PATCH 22/26] FVD: add impl of interface bdrv_update()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_update() interface. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-update.c | 274

[Qemu-devel] [PATCH 15/26] FVD: add basic journal functionality

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds the basic journal functionality to FVD. The journal provides several benefits. First, updating both the bitmap and the lookup table requires only a single write to journal. Second, K

[Qemu-devel] [PATCH 14/26] FVD: add impl of loading data from compact image

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds the implementation of load data from a compact image. This capability is to support fvd_aio_readv() when FVD is configured to use its one-level lookup table to do storage allocation.

[Qemu-devel] [PATCH 13/26] FVD: add impl of storing data in compact image

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds the implementation of storing data in a compact image. This capability is needed for both copy-on-write (see fvd_aio_writev()) and copy-on-read (see fvd_aio_readv()). Signed-off-by:

[Qemu-devel] FVD latest patches with your review comments addressed

2011-02-25 Thread Chunqiang Tang
Hi Andreas, Anthony, Stefan H., and Stefan W., I just posed the latest series of FVD patches to the mailing list, which addressed the review comments you previously made on FVD . Thank you for the feedback. Off the mailing list, Stefan Weil provided guidance on porting FVD to win32 and also

[Qemu-devel] [PATCH 07/26] FVD: extend FVD header fvd.h to be more complete

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch makes FVD's header file fvd.h more complete, by adding type definition for BDRVFvdState, FvdAIOCB, etc. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd.h | 337

[Qemu-devel] [PATCH 25/26] FVD: add impl of interface bdrv_probe()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_probe() interface. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-misc.c |9 - 1 files changed, 8 insertions(+), 1

[Qemu-devel] [PATCH 05/26] FVD: add the 'qemu-img update' command

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds the 'update' command to qemu-img. It is a general interface that allows various image format specific manipulations. For example, 'qemu-img rebase' and 'qemu-img resize' can be

[Qemu-devel] [PATCH 18/26] FVD: add support for base image prefetching

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds adaptive prefetching of base image to FVD. FVD supports both copy-on-write and copy-on-read of base image. Adaptive prefetching is similar to copy-on-read except that it is

Re: [Qemu-devel] [RESENT][PATCH] HACKING: Update status of format checking

2011-02-25 Thread Anthony Liguori
On 02/25/2011 04:20 PM, Stefan Weil wrote: This patch was already sent on 2011-01-24: Hopefully all functions with printf like arguments now use format checking. This was tested with default build configuration on linux and windows hosts (including some cross compilations), so chances are

[Qemu-devel] [PATCH 11/26] FVD: add impl of interface bdrv_aio_writev()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_aio_writev() interface. It supports copy-on-write in FVD. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-bitmap.c | 150

[Qemu-devel] [PATCH 01/26] FVD: add simulated block driver 'blksim'

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds the 'blksim' block device driver, which is a tool to facilitate testing and debugging. blksim operates on a RAW image, but it uses neither AIO nor posix threads to perform actual

[Qemu-devel] [PATCH 04/26] FVD: add fully automated test-vdi.sh

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. test-vdi.sh drives 'qemu-io --auto' to perform fully automated testing for VDI. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- test-vdi.sh | 83

Re: [Qemu-devel] [patch 2/3] Add support for live block copy

2011-02-25 Thread Marcelo Tosatti
On Wed, Feb 23, 2011 at 01:06:46PM -0600, Anthony Liguori wrote: On 02/22/2011 11:00 AM, Marcelo Tosatti wrote: Index: qemu/qerror.h === --- qemu.orig/qerror.h +++ qemu/qerror.h @@ -171,4 +171,13 @@ QError

[Qemu-devel] [PATCH 09/26] FVD: add impl of interface bdrv_create()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_create() interface. It supports FVD image creation. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-create.c | 702

[Qemu-devel] [PATCH 19/26] FVD: add support for aio_cancel

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds the support for aio_cancel into FVD. FVD faithfully cleans up all resources upon aio_cancel. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-journal-buf.c | 16

Re: [Qemu-devel] [PATCH] vnc: fix a memory leak in threaded vnc server

2011-02-25 Thread Anthony Liguori
On 02/25/2011 03:54 PM, Corentin Chary wrote: VncJobQueue's buffer is intended to be used for as the output buffer for all operations in this queue, but unfortunatly. vnc_async_encoding_start() is in charge of setting this buffer as the current output buffer, but vnc_async_encoding_end() was

[Qemu-devel] [PATCH 02/26] FVD: extend qemu-io to do fully automated testing

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch extends qemu-io in two ways. First, it adds the 'sim' command to work with the simulated block device driver 'blksim', which allows a developer to fully control the order of disk I/Os,

[Qemu-devel] [PATCH 06/26] FVD: skeleton of Fast Virtual Disk

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds the skeleton of the block device driver for Fast Virtual Disk (FVD). Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- Makefile.objs |2 +- block/fvd-create.c | 21

[Qemu-devel] [PATCH 12/26] FVD: add impl of interface bdrv_aio_readv()

2011-02-25 Thread Chunqiang Tang
This patch is part of the Fast Virtual Disk (FVD) proposal. See http://wiki.qemu.org/Features/FVD. This patch adds FVD's implementation of the bdrv_aio_readv() interface. It supports read and copy-on-read in FVD. Signed-off-by: Chunqiang Tang ct...@us.ibm.com --- block/fvd-bitmap.c | 88

[Qemu-devel] [PATCH v3] rtl8139: add vlan support

2011-02-25 Thread Benjamin Poirier
I've posted v2 of these patches back in november http://article.gmane.org/gmane.comp.emulators.qemu/84252 Changes since v2: insertion: * moved insertion later in the process, to handle tso * use qemu_sendv_packet() to insert the tag for us * added dot1q_buf parameter to

[Qemu-devel] [PATCH v3 1/2] rtl8139: add vlan tag insertion

2011-02-25 Thread Benjamin Poirier
Add support to the emulated hardware to insert vlan tags in packets going from the guest to the network. Signed-off-by: Benjamin Poirier benjamin.poir...@gmail.com Cc: Igor V. Kovalenko igor.v.kovale...@gmail.com Cc: Jason Wang jasow...@redhat.com Cc: Michael S. Tsirkin m...@redhat.com ---

[Qemu-devel] [PATCH v3 2/2] rtl8139: add vlan tag extraction

2011-02-25 Thread Benjamin Poirier
Add support to the emulated hardware to extract vlan tags in packets going from the network to the guest. Signed-off-by: Benjamin Poirier benjamin.poir...@gmail.com Cc: Igor V. Kovalenko igor.v.kovale...@gmail.com Cc: Jason Wang jasow...@redhat.com Cc: Michael S. Tsirkin m...@redhat.com --

[Qemu-devel] Congratulation

2011-02-25 Thread Nokia Rewards
Nokia celebrates 40yrs.Your Mobile Number has won 600,000 pounds in the Nokia Awards. To claim your prize, send your Claim code: TN1, to nokiacare...@ymail.com   

[Qemu-devel] Congratulation

2011-02-25 Thread Nokia Rewards
Nokia celebrates 40yrs.Your Mobile Number has won 600,000 pounds in the Nokia Awards. To claim your prize, send your Claim code: TN1, to nokiacare...@ymail.com