[Qemu-devel] [PATCH 40/74] mips_malta: Use cpu_mips_init() to obtain MIPSCPU

2012-06-04 Thread Andreas Färber
Needed for main_cpu_reset(). Signed-off-by: Andreas Färber afaer...@suse.de --- hw/mips_malta.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hw/mips_malta.c b/hw/mips_malta.c index 4752bb2..d81e8d5 100644 --- a/hw/mips_malta.c +++ b/hw/mips_malta.c @@ -788,6

[Qemu-devel] [PATCH 68/74] sun4u: Let cpu_devinit() return SPARCCPU

2012-06-04 Thread Andreas Färber
Needed for main_cpu_reset(). Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Blue Swirl blauwir...@gmail.com --- hw/sun4u.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hw/sun4u.c b/hw/sun4u.c index 92b616f..e63ba39 100644 --- a/hw/sun4u.c +++

[Qemu-devel] [PATCH 45/74] mips_r4k: Store MIPSCPU in ResetData

2012-06-04 Thread Andreas Färber
Allows us to use cpu_reset() in place of cpu_state_reset() in main_cpu_reset(). Signed-off-by: Andreas Färber afaer...@suse.de --- hw/mips_r4k.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c index f89957c..d685999 100644 ---

[Qemu-devel] [PATCH 16/74] xtensa_lx60: Pass XtensaCPU to lx60_reset()

2012-06-04 Thread Andreas Färber
Allows us to use cpu_reset() in place of cpu_state_reset(). Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Max Filippov jcmvb...@gmail.com --- hw/xtensa_lx60.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/xtensa_lx60.c b/hw/xtensa_lx60.c index

[Qemu-devel] [PATCH 31/74] r2d: Use cpu_sh4_init() to obtain SuperHCPU

2012-06-04 Thread Andreas Färber
Needed for main_cpu_reset(). Signed-off-by: Andreas Färber afaer...@suse.de --- hw/r2d.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hw/r2d.c b/hw/r2d.c index c55de01..1bd8df6 100644 --- a/hw/r2d.c +++ b/hw/r2d.c @@ -224,6 +224,7 @@ static void

[Qemu-devel] [PATCH 13/17] rtc: add _version() qidl annotations

2012-06-04 Thread Michael Roth
VMState relies on per-field versioning in some cases. We don't use this for serialization, but it is needed for proper generation of VMState field decriptions. Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com --- hw/mc146818rtc_state.h |4 ++-- 1 files changed, 2 insertions(+), 2

[Qemu-devel] [PATCH 23/74] petalogix_ml605: Use cpu_mb_init() to obtain MicroBlazeCPU

2012-06-04 Thread Andreas Färber
Needed for microblaze_load_kernel(). Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Edgar E. Iglesias edgar.igles...@gmail.com --- hw/petalogix_ml605_mmu.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/hw/petalogix_ml605_mmu.c b/hw/petalogix_ml605_mmu.c

Re: [Qemu-devel] buildbot failure in qemu on default_ppc

2012-06-04 Thread Alexander Graf
On 05.06.2012, at 02:58, Anthony Liguori wrote: On 06/05/2012 08:54 AM, Andreas Färber wrote: Am 05.06.2012 01:33, schrieb q...@buildbot.b1-systems.de: The Buildbot has detected a new failure on builder default_ppc while building qemu. Full details are available at:

[Qemu-devel] [RFC] Use QEMU IDL for device serialization/vmstate

2012-06-04 Thread Michael Roth
These patches are based on qom-next, and can also be obtained from: git://github.com/mdroth/qemu.git qidl-rfc1 = Overview = The goal of these patches is to explore how we can leverage an IDL to improve device serialization/migration. Patches 1-7 introduce the QIDL compiler and QAPI

[Qemu-devel] [PATCH 50/74] ppc440_bamboo: Use cpu_ppc_init() to obtain PowerPCCPU

2012-06-04 Thread Andreas Färber
Needed for main_cpu_reset(). Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Alexander Graf ag...@suse.de --- hw/ppc440_bamboo.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c index f0a3ae4..1a4e66a 100644 ---

[Qemu-devel] [PATCH 53/74] ppc4xx_devs: Pass PowerPCCPU to ppc4xx_reset()

2012-06-04 Thread Andreas Färber
Allows us to use cpu_reset() in place of cpu_state_reset(). Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Alexander Graf ag...@suse.de --- hw/ppc4xx_devs.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/ppc4xx_devs.c b/hw/ppc4xx_devs.c index

[Qemu-devel] [PATCH 03/17] qapi: add visitor interfaces for arrays

2012-06-04 Thread Michael Roth
Signed-off-by: Michael Roth mdr...@linux.vnet.ibm.com --- qapi/qapi-visit-core.c | 25 + qapi/qapi-visit-core.h |8 scripts/qapi-visit.py | 26 ++ 3 files changed, 59 insertions(+), 0 deletions(-) diff --git

[Qemu-devel] [PATCH 51/74] ppc440_bamboo: Pass PowerPCCPU to main_cpu_reset()

2012-06-04 Thread Andreas Färber
Allows us to use cpu_reset() in place of cpu_state_reset(). Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Alexander Graf ag...@suse.de --- hw/ppc440_bamboo.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c index

[Qemu-devel] [PATCH 22/74] target-microblaze: Let cpu_mb_init() return MicroBlazeCPU

2012-06-04 Thread Andreas Färber
Since qemu_init_vcpu() is no-op for CONFIG_USER_ONLY drop the env variable that is now unused there. Turn cpu_init macro into a static inline function returning CPUMBState for backwards compatibility. Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Edgar E. Iglesias

[Qemu-devel] [PATCH 60/74] virtex_ml507: Use cpu_ppc_init() to obtain PowerPCCPU

2012-06-04 Thread Andreas Färber
Needed to change ppc440_init_xilinx() return type. Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Alexander Graf ag...@suse.de --- hw/virtex_ml507.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hw/virtex_ml507.c b/hw/virtex_ml507.c index

[Qemu-devel] [PATCH 04/74] armv7m: Use cpu_arm_init() to obtain ARMCPU

2012-06-04 Thread Andreas Färber
Needed for armv7m_reset(). Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Peter Maydell peter.mayd...@linaro.org --- hw/armv7m.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/hw/armv7m.c b/hw/armv7m.c index 4aac076..4e5971c 100644 --- a/hw/armv7m.c

[Qemu-devel] [PATCH 28/74] pc: Use cpu_x86_init() to obtain X86CPU

2012-06-04 Thread Andreas Färber
Needed for pc_cpu_reset(). Also change return type to X86CPU. Signed-off-by: Andreas Färber afaer...@suse.de Reviewed-by: Igor Mammedov imamm...@redhat.com --- hw/pc.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index c790bcb..1133921

[Qemu-devel] [PATCH 74/74] Kill off cpu_state_reset()

2012-06-04 Thread Andreas Färber
In commit 1bba0dc932e8826a7d030df3767daf0bc339f9a2 cpu_reset() was renamed to cpu_state_reset(), to allow introducing a new cpu_reset() that would operate on QOM objects. All callers have been updated except for one in target-mips, so drop all implementations except for the one in target-mips and

[Qemu-devel] [PATCH 11/74] milkymist: Store LM32 in ResetInfo

2012-06-04 Thread Andreas Färber
Allows us to use cpu_reset() in place of cpu_state_reset() in main_cpu_reset(). Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Michael Walle mich...@walle.cc --- hw/milkymist.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/milkymist.c

[Qemu-devel] [PATCH 08/74] lm32_boards: Use cpu_lm32_init() to obtain LM32CPU

2012-06-04 Thread Andreas Färber
Needed for main_cpu_reset(). Signed-off-by: Andreas Färber afaer...@suse.de Acked-by: Michael Walle mich...@walle.cc --- hw/lm32_boards.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hw/lm32_boards.c b/hw/lm32_boards.c index 4dd4f0a..ffb273c 100644 ---

[Qemu-devel] vio-net driver

2012-06-04 Thread Charles . Tsai-蔡清海-研究發展部
We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the VM, the network interface of the VM was fairly unstable.

Re: [Qemu-devel] Python problem using MinGW when build QEMU

2012-06-04 Thread Stefan Weil
Am 05.06.2012 01:42, schrieb Arturo CV: Hello, Am trying to build the QEMU following this steps: http://qemu.weilnetz.de/qemu-doc.html#compilation I got most of the libraries dependencies and followed this other guides that I found over the net: http://lassauge.free.fr/qemu/

[Qemu-devel] [RFC PATCH 0/5] asynchronous migration state change handlers

2012-06-04 Thread Yonit Halperin
Hi, I'm sending this patch series again. This time with an additional patch for setting a migrate_end notifier completion callback for spice migration interface. I've also added more detailed commit messages. This patch series introduces async handlers for notifiers, and integrates them with

[Qemu-devel] [RFC PATCH 1/5] notifiers: add support for async notifiers handlers

2012-06-04 Thread Yonit Halperin
This patch defines 2 subtypes of notifiers, sync and async. Both of them can be added to a notifiers list. The patch adds optional complete_cb to the notifiers list. complete_cb is called when all the async notifiers have completed. Signed-off-by: Yonit Halperin yhalp...@redhat.com --- input.c

[Qemu-devel] [RFC PATCH 2/5] migration: moving migration start code to a separated routine

2012-06-04 Thread Yonit Halperin
Preparation for asynchronous migration state change notifiers. In a following patch the migrate_start routine will be used as the completion callback of the migration start notifiers list. Signed-off-by: Yonit Halperin yhalp...@redhat.com --- migration.c | 73

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-04 Thread mathslinux
Charles.Tsai-蔡清海-研究發展部 charles.t...@cloudena.com writes: We recently ran an Ubuntu 11.10 VM which was installed with VirtIO NIC driver. The VirtIO net driver came from the Ubuntu's default package. The VM we installed was configured as a bridge mode. When we ran the Iperf test against the

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-04 Thread Charles . Tsai-蔡清海-研究發展部
The kernel version is 3.0.0.12 The Qemu version is 1.0.0(we upgraded it) What version of kernel do we need to upgrade? -Original Message- From: mathslinux [mailto:riegama...@gmail.com] Sent: Monday, June 04, 2012 2:03 PM To: Charles.Tsai-蔡清海-研究發展部 Cc: qemu-devel@nongnu.org Subject: Re:

[Qemu-devel] [PATCH v4 16/16] hub: add the support for hub own flow control

2012-06-04 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Only when all other hub port's *peer* .can_receive() all return 1, the source hub port .can_receive() return 1. Reviewed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- net/hub.c | 27

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-04 Thread Dunrong Huang
2012/6/4 Charles.Tsai-蔡清海-研究�l展部 charles.t...@cloudena.com: The kernel version is 3.0.0.12 The Qemu version is 1.0.0(we upgraded it) What version of kernel do we need to upgrade? The latest version is v3.4, so you can try and upgrade to v3.1, v3.2 or v3.3, and test it. -Original

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-04 Thread Dunrong Huang
2012/6/4 Dunrong Huang riegama...@gmail.com: 2012/6/4 Charles.Tsai-蔡清海-研究�l展部 charles.t...@cloudena.com: The kernel version is 3.0.0.12 The Qemu version is 1.0.0(we upgraded it) What version of kernel do we need to upgrade? The latest version is v3.4, so you can try and upgrade to v3.1, v3.2

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-04 Thread Charles . Tsai-蔡清海-研究發展部
I am just curious about this issue. Is there any document mentioning the lowest version of the kernel to be supported by VirtIO? -Original Message- From: Dunrong Huang [mailto:riegama...@gmail.com] Sent: Monday, June 04, 2012 2:17 PM To: Charles.Tsai-蔡清海-研究發展部 Cc: qemu-devel@nongnu.org

[Qemu-devel] [PATCH v4 07/16] net: Remove vlan code from net.c

2012-06-04 Thread zwu . kernel
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com The vlan implementation in net.c has been replaced by hubs so we can remove the code. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- hw/xen_nic.c |1 - net.c| 108

[Qemu-devel] [PATCH v4 06/16] net: Remove vlan qdev property

2012-06-04 Thread zwu . kernel
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com The vlan feature is implemented using hubs and no longer uses special-purpose VLANState structs that are accessible as qdev properties. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-04 Thread Dunrong Huang
2012/6/4 Charles.Tsai-蔡清海-研究�l展部 charles.t...@cloudena.com: I am just curious about this issue. Is there any document mentioning the lowest version of the kernel to be supported by VirtIO? See http://www.linux-kvm.org/page/Virtio -Original Message- From: Dunrong Huang

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-04 Thread Charles . Tsai-蔡清海-研究發展部
Yes, I saw that page too. But our current kernel version meets the kernel requirement. Why do we need to upgrade it? -Original Message- From: Dunrong Huang [mailto:riegama...@gmail.com] Sent: Monday, June 04, 2012 2:26 PM To: Charles.Tsai-蔡清海-研究發展部 Cc: qemu-devel@nongnu.org Subject: Re:

[Qemu-devel] [PATCH v4 09/16] net: Rename non_vlan_clients to net_clients

2012-06-04 Thread zwu . kernel
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com There is no longer a distinction between vlan clients and non-vlan clients in the net core. The net core only knows about point-to-point clients which are connected to a peer. It's time to rename the global list of net clients since it no longer

Re: [Qemu-devel] VirtIO Net driver for Ubuntu 11.10

2012-06-04 Thread Dunrong Huang
2012/6/4 Charles.Tsai-蔡清海-研究�l展部 charles.t...@cloudena.com: Yes, I saw that page too. But our current kernel version meets the kernel requirement. Why do we need to upgrade it? I mean maybe the virtio drivers you installed in your VM is unstable. Virtio is implemented as a kernel module, so

[Qemu-devel] [PATCH v4 11/16] net: Rename vc local variables to nc

2012-06-04 Thread zwu . kernel
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Now that VLANClientState has been renamed to NetClientState all 'vc' local variables should be 'nc'. Much of the code already used 'nc' but there are places where 'vc' needs to be renamed. Signed-off-by: Stefan Hajnoczi

Re: [Qemu-devel] [PATCH 00/24] per-directory Makefile snippets, limit vpath abuse

2012-06-04 Thread Paolo Bonzini
Il 04/06/2012 00:57, Anthony Liguori ha scritto: As before, I dislike the use of the filename Makefile for files that are not self-contained. If make is called from that deep directory, it leads to undefined results. Either we must make sure through some clever ifeq'ery and a local all target

[Qemu-devel] [PATCH v4 08/16] net: Remove VLANState

2012-06-04 Thread zwu . kernel
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com VLANState is no longer used and can be removed. Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- net.c | 127 ++---

[Qemu-devel] [PATCH v4 12/16] net: Rename qemu_del_vlan_client() to qemu_del_net_client()

2012-06-04 Thread zwu . kernel
From: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Another step in moving the vlan feature out of net core. Users only deal with NetClientState and therefore qemu_del_vlan_client() should be named qemu_del_net_client(). Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Signed-off-by:

[Qemu-devel] [PATCH v4 13/16] net: Make info network output more readable info

2012-06-04 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Reviewed-by: Jan Kiszka jan.kis...@siemens.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- net.c | 14 +- net.h |1 + net/hub.c | 23 +-- net/hub.h |1 + 4 files changed, 32

Re: [Qemu-devel] [PATCH v3 00/16] net: hub-based networking

2012-06-04 Thread Markus Armbruster
Anthony Liguori anth...@codemonkey.ws writes: On 05/29/2012 04:14 PM, Markus Armbruster wrote: Luiz Capitulinolcapitul...@redhat.com writes: On Mon, 28 May 2012 12:17:04 +0100 Stefan Hajnoczistefa...@linux.vnet.ibm.com wrote: What we need to decide is whether it's okay to drop QEMU VLANs

[Qemu-devel] [PATCH v3] net: add the support for -netdev socket, listen

2012-06-04 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com The -net socket,listen option does not work with the newer -netdev syntax: http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg01508.html This patch makes it work now. For the case where one vlan has multiple listenning sockets, the patch will

Re: [Qemu-devel] [PATCH v2 00/25] x86 AREG0 conversion

2012-06-04 Thread Markus Armbruster
Anthony Liguori anth...@codemonkey.ws writes: On 06/03/2012 10:29 PM, Blue Swirl wrote: v1: I only sent the tree URL. v2: Rebased. Updated 07/25: removed confused comment and split sse_op_table3 so that void pointers are avoided there too, adjusted 08/25 accordingly. The patch series most

Re: [Qemu-devel] [PATCH qom-next] qom: make object cast assert if NULL object is passed as argument

2012-06-04 Thread Markus Armbruster
Andreas Färber afaer...@suse.de writes: Am 01.06.2012 13:18, schrieb Markus Armbruster: Andreas Färber afaer...@suse.de writes: Am 31.05.2012 13:17, schrieb Igor Mammedov: On 05/31/2012 12:16 PM, Paolo Bonzini wrote: Il 31/05/2012 10:30, Markus Armbruster ha scritto: Makes much sense, but

[Qemu-devel] [PATCH V4 0/5] Ehnahced SSI bus support + M25P80 SPI flash + Xilinx SPI controller

2012-06-04 Thread Peter A. G. Crosthwaite
Patch 1 Enhances SSI bus support to properly support multiple attached devices. An api is provided for SSI/SPI masters to select a particular device attached to the bus. Patch 2 is a device model for the m25p80 style SPI flash chip. Patch 3 is the Xilinx XPS SPI contoller. Its a sysbus device

[Qemu-devel] [PATCH V4 1/5] SSI: Built in multiple device support

2012-06-04 Thread Peter A. G. Crosthwaite
Added support for multiple devices attached to a single SSI bus (Previously SSI masters with multiple slaves were emulated as multiple point to point SSI busses) Signed-off-by: Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com --- changed from v3: added ssi_create_slave_noinit changed from

[Qemu-devel] [PATCH V4 2/5] m25p80: initial verion

2012-06-04 Thread Peter A. G. Crosthwaite
Added device model for m25p80 SPI flash Signed-off-by: Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com --- changed from v3: changed licence to v2 or later (PMM review) generalised device model - rather than being fixed to the fl064k, it can handle a wide range of m25p80 devices

[Qemu-devel] [PATCH V4 3/5] xilinx_spi: initial version

2012-06-04 Thread Peter A. G. Crosthwaite
device model for xilinx XPS SPI controller (v2.0) Signed-off-by: Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com --- changed from v3: typedef'd struct XilinxSPI changed unsigned int - uin32_t removed unused vars (c_fifo_exist and cmd_ongoing) txfifo_reset removed duplicate s-regs[R_SPISR]

[Qemu-devel] [PATCH V4 5/5] stellaris: Updated spi bus implementation

2012-06-04 Thread Peter A. G. Crosthwaite
Setup the stellaris_ssi_bus device to use a single multi-slave ssi bus instead of two busses. Signed-off-by: Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com --- changed from v3: This patch is new hw/stellaris.c | 17 +++-- 1 files changed, 7 insertions(+), 10 deletions(-)

Re: [Qemu-devel] [PATCH V4 5/5] stellaris: Updated spi bus implementation

2012-06-04 Thread Peter Crosthwaite
Regression tested using Paul Brooks test vector: peterc@PetaLogix-ws2:~/Petalogix/Internal/plgx_install/qemu-upstream-regression/third-party/stellaris-test$ qemu-system-arm -M lm3s6965evb -serial stdio -kernel sd_card.bin -sd sdcard.img VNC server running on `127.0.0.1:5900' SD Card Example

Re: [Qemu-devel] [PATCH 1/3 v9] add-cow file format

2012-06-04 Thread Dong Xu Wang
Okay, thanks all of your comments, if no other comments, I will write next version. On Wed, May 30, 2012 at 4:20 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Wed, May 30, 2012 at 2:50 AM, Dong Xu Wang wdon...@linux.vnet.ibm.com wrote: On Tue, May 29, 2012 at 11:50 PM, Stefan Hajnoczi

[Qemu-devel] [PATCH V4 4/5] petalogix-ml605: added spi controller with m25p80

2012-06-04 Thread Peter A. G. Crosthwaite
Added spi controller to the reference design, with a single cs line and a m25p80 style spi-flash connected Signed-off-by: Peter A. G. Crosthwaite peter.crosthwa...@petalogix.com --- changed from v3: set spi flashes as being fl06k changed from v2: changed spi - ssi added two spi flashes to machine

Re: [Qemu-devel] [PULL 1.2 00/16] hub-based networking patches

2012-06-04 Thread Stefan Hajnoczi
On Mon, Jun 04, 2012 at 01:23:10PM +0800, Zhi Yong Wu wrote: On Mon, Jun 4, 2012 at 12:51 PM, Anthony Liguori aligu...@us.ibm.com wrote: On 06/04/2012 10:46 AM, zwu.ker...@gmail.com wrote: From: Zhi Yong Wuwu...@linux.vnet.ibm.com All comments from other guys were addressed. v3

Re: [Qemu-devel] [PATCH v4] target-microblaze: lwx/swx: first implementation

2012-06-04 Thread Edgar E. Iglesias
Applied this one, thanks Peter

[Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0

2012-06-04 Thread Jorge Bastos
Debian SID on x86. Configure output: Install prefix/usr/local BIOS directory/usr/local/share/qemu binary directory /usr/local/bin library directory /usr/local/lib include directory /usr/local/include config directory /usr/local/etc Manual directory /usr/local/share/man ELF interp

[Qemu-devel] [PATCH 02/13] pci: Fold pci_bus_new_inplace into pci_bus_new

2012-06-04 Thread Jan Kiszka
There are no external users for this function. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/pci.c | 29 +++-- hw/pci.h |5 - 2 files changed, 11 insertions(+), 23 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index 893f89c..33452ab 100644 ---

[Qemu-devel] [PATCH 03/13] pci: Introduce cached device INTx routing

2012-06-04 Thread Jan Kiszka
Based on the original version by Michael Tsirkin: Instead of traversing the PCI bus hierarchy from a device to the host bridge, cache this path in PCIDevice and use it directly on interrupt delivery. This will specifically pay off with more complex topologies than the current single host bus.

[Qemu-devel] [PATCH 10/13] pci: Fix coding style of pci_parse_devaddr

2012-06-04 Thread Jan Kiszka
So that we can move it unmodified without raising alarms. No functional changes. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/pci.c | 52 1 files changed, 28 insertions(+), 24 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index

Re: [Qemu-devel] tcg_qemu_tb_exec...

2012-06-04 Thread Wei-Ren Chen
On Sun, Jun 03, 2012 at 10:44:32PM +0200, Davide Ferraretto wrote: I'm in qemu-arm. tcg_qemu_tb_exec function is a macro: #define tcg_qemu_tb_exec(env, tb_ptr)\ ((long REGPARM (*)(void *, void *))code_gen_prologue)(env, tb_ptr) #endif QEMU treats

[Qemu-devel] [Bug 1008136] Re: Cannot compile 1.1.0

2012-06-04 Thread Jorge Bastos
Extra info, the header exists, QEMU doesn't seems to find it, it's on this place: http://packages.debian.org/search?searchon=contentskeywords=int- ll64.hmode=exactfilenamesuite=stablearch=any and provided by linux-libc-dev debian package. How can I force configure to include this dir? -- You

Re: [Qemu-devel] [PATCH 1.1] intel-hda: Fix reset of MSI function

2012-06-04 Thread Gerd Hoffmann
On 05/30/12 10:41, Jan Kiszka wrote: Call msi_reset on device reset as still required by the core. Acked-by: Gerd Hoffmann kra...@redhat.com cheers, Gerd

[Qemu-devel] [PATCH 00/13] pci: Cleanups preparations for KVM device assignment

2012-06-04 Thread Jan Kiszka
Besides some smaller cleanups, this series has two main topics: The first is the already posted PCI IRQ routing lookup and notifier. The lookup has been based on the cached routing Michael suggested also for emulated devices. However, this still introduces a new callback and keeps the bus

Re: [Qemu-devel] ARM: Virtual / Physical address translation

2012-06-04 Thread Laurent Desnogues
On Thu, May 31, 2012 at 9:07 PM, Ira Ray Jenkins irarayjenk...@gmail.com wrote: On Wed, May 30, 2012 at 10:30 AM, Laurent Desnogues laurent.desnog...@gmail.com wrote: On Wed, May 30, 2012 at 3:20 AM, Peter Maydell peter.mayd...@linaro.org wrote: On 30 May 2012 02:00, Ira Ray Jenkins

Re: [Qemu-devel] [PATCH 5/6] fdc: use LOG_UNIMP logging

2012-06-04 Thread Kevin Wolf
Am 03.06.2012 19:38, schrieb Blue Swirl: Convert uses of FLOPPY_ERROR to either FLOPPY_DPRINTF (for implemented cases) or to use LOG_UNIMP (unimplemented). Signed-off-by: Blue Swirl blauwir...@gmail.com I would suggest that you check the messages of those cases that became FLOPPY_DPRINTF().

[Qemu-devel] [PATCH 12/13] qdev-properties: Use qemu_parse_pci_devaddr for pci-devfn property

2012-06-04 Thread Jan Kiszka
Generalize qemu_parse_pci_devaddr by two flags so that it can be used for parsing pci-devfn properties as well. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/pci-hotplug.c |2 +- hw/pci.c |3 ++- hw/qdev-properties.c | 49

[Qemu-devel] [PATCH 04/13] pci: Rename map_irq to route_pin

2012-06-04 Thread Jan Kiszka
To avoid confusion with the board-level IRQ the host bridge triggers on output, rename the per-bridge routing function for the INTx pins to pci_route_pin_fn. Also adjust variable names of that type. And rename pci_bridge_map_irq to pci_bridge_prepare, which better reflects the job of that

[Qemu-devel] [PATCH 07/13] pci: Make domain and bus unsigned in pci_read_devaddr

2012-06-04 Thread Jan Kiszka
It's the more appropriate type as there are no negative domain or bus values. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/pci-hotplug.c |4 ++-- hw/pci.c | 11 ++- hw/pci.h |4 ++-- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git

[Qemu-devel] [PATCH 06/13] pci: Add INTx routing notifier

2012-06-04 Thread Jan Kiszka
This per-device notifier shall be triggered by any interrupt router along the path of a device's legacy interrupt signal on routing changes. For simplicity reasons and as this is a slow path anyway, no further details on the routing changes are provided. Instead, the callback is expected to use

[Qemu-devel] [PATCH 05/13] pci: Add pci_device_route_intx_to_irq

2012-06-04 Thread Jan Kiszka
Add a PCI IRQ path discovery function that walks from a given device to the host bridge, returning the mode (enabled/inverted/disabled) and the IRQ number that is reported to the attached interrupt controller. For this purpose, another host bridge callback function is introduced:

[Qemu-devel] [PATCH 09/13] pci: Introduce and apply PCIDeviceAddress

2012-06-04 Thread Jan Kiszka
This type encapsulates everything from domain to function. Use it first to simplify the pci_parse_devaddr interface. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/pci-hotplug.c | 29 ++--- hw/pci.c | 31 ++- hw/pci.h

[Qemu-devel] [PATCH v2 36/41] postcopy: implement incoming part of postcopy live migration

2012-06-04 Thread Isaku Yamahata
This patch implements postcopy live migration for incoming part Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- Changes v3 - v4: - fork umemd early to address qemu devices touching guest ram via post/pre_load - code clean up on initialization - Makefile.target migration-postcopy.c is

[Qemu-devel] [PATCH 01/13] pci: Refactor pci_change_irq_level

2012-06-04 Thread Jan Kiszka
Align the bus traversal in pci_change_irq_level to other functions. They use PCIBus:parent_dev to detect the root. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/pci.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index

[Qemu-devel] [PATCH 11/13] Move pci_parse_devaddr to qdev-properties

2012-06-04 Thread Jan Kiszka
We will some use this function also for property parsing, so move it over unmodified and rename it. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/pci-hotplug.c |2 +- hw/pci.c | 67 +- hw/pci.h |5 ---

[Qemu-devel] [PATCH v2 10/41] arch_init: simplify a bit by ram_find_block()

2012-06-04 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- arch_init.c | 21 - exec.c | 12 ++-- 2 files changed, 14 insertions(+), 19 deletions(-) diff --git a/arch_init.c b/arch_init.c index 9981abe..73bf250 100644 --- a/arch_init.c +++ b/arch_init.c @@

[Qemu-devel] [PATCHv3] Get system state configuration from QEMU and patch DSDT with it.

2012-06-04 Thread Gleb Natapov
QEMU may want to disable guest's S3/S4 support and it wants to distinguish between regular powerdown and S4 powerdown. To support that new fw_cfg option was added that passes supported system states and what value should guest use to enter each state. States are passed in 6 byte array. Each byte

Re: [Qemu-devel] [PATCH 1.2 0/7] Manual writethrough cache and cache mode toggle

2012-06-04 Thread Kevin Wolf
Am 22.05.2012 18:17, schrieb Paolo Bonzini: This is an alternative implementation of writethrough caching. By always opening protocols in writethrough mode and doing flushes manually after every write, it achieves two results: 1) it makes flipping the cache mode extremely easy; 2) it lets

[Qemu-devel] [PATCH v2 18/41] QEMUFile: add qemu_file_fd() for later use

2012-06-04 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- qemu-file.h |1 + savevm.c| 12 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/qemu-file.h b/qemu-file.h index 331ac8b..98a8023 100644 --- a/qemu-file.h +++ b/qemu-file.h @@ -71,6 +71,7 @@ QEMUFile

[Qemu-devel] [PATCH v2 30/41] update-linux-headers.sh: teach umem.h to update-linux-headers.sh

2012-06-04 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- scripts/update-linux-headers.sh |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh index 9d2a4bc..2afdd54 100755 --- a/scripts/update-linux-headers.sh

[Qemu-devel] [PATCH v2 26/41] buffered_file: factor out buffer management logic

2012-06-04 Thread Isaku Yamahata
This patch factors out buffer management logic. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- buffered_file.c | 141 +- buffered_file.h |8 +++ 2 files changed, 94 insertions(+), 55 deletions(-) diff --git a/buffered_file.c

[Qemu-devel] [PATCH v2 13/41] exec.c: factor out qemu_get_ram_ptr()

2012-06-04 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- cpu-all.h |2 ++ exec.c| 51 +-- 2 files changed, 31 insertions(+), 22 deletions(-) diff --git a/cpu-all.h b/cpu-all.h index 028528f..ff7f827 100644 --- a/cpu-all.h +++ b/cpu-all.h

[Qemu-devel] [PATCH v2 38/41] postcopy/outgoing: add forward, backward option to specify the size of prefault

2012-06-04 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- hmp-commands.hx | 15 ++- hmp.c|3 +++ migration.c | 20 migration.h |2 ++ qapi-schema.json |3 ++- 5 files changed, 37 insertions(+), 6 deletions(-) diff --git

[Qemu-devel] [PATCH v2 00/41] postcopy live migration

2012-06-04 Thread Isaku Yamahata
After the long time, we have v2. This is qemu part. The linux kernel part is sent separatedly. Changes v1 - v2: - split up patches for review - buffered file refactored - many bug fixes Espcially PV drivers can work with postcopy - optimization/heuristic Patches 1 - 30: refactoring exsiting

[Qemu-devel] [PATCH v2 24/41] migration: export migrate_fd_completed() and migrate_fd_cleanup()

2012-06-04 Thread Isaku Yamahata
This will be used by postcopy migration. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- migration.c |4 ++-- migration.h |2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/migration.c b/migration.c index 753addb..48a8f68 100644 --- a/migration.c +++

[Qemu-devel] [PATCH v3 1/2] export necessary symbols

2012-06-04 Thread Isaku Yamahata
Cc: Andrea Arcangeli aarca...@redhat.com Cc: Avi Kivity a...@redhat.com Cc: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- mm/memcontrol.c |1 + mm/mempolicy.c |1 + mm/shmem.c |1 + 3 files changed, 3 insertions(+), 0 deletions(-)

[Qemu-devel] [PATCH v2 08/41] arch_init/ram_load: refactor ram_load

2012-06-04 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- arch_init.c | 67 +- arch_init.h |1 + 2 files changed, 39 insertions(+), 29 deletions(-) diff --git a/arch_init.c b/arch_init.c index c861e30..bb0cd52 100644 --- a/arch_init.c

[Qemu-devel] [PATCH v2 17/41] savevm, buffered_file: introduce method to drain buffer of buffered file

2012-06-04 Thread Isaku Yamahata
Introduce a new method to drain the buffer of QEMUBufferedFile. When postcopy migration, buffer size can increase unboundedly. To keep the buffer size reasonably small, introduce the method to wait for buffer to drain. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- buffered_file.c |

[Qemu-devel] [PATCH v2 14/41] exec.c: export last_ram_offset()

2012-06-04 Thread Isaku Yamahata
Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- exec-obsolete.h |1 + exec.c |4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exec-obsolete.h b/exec-obsolete.h index 792c831..fb21dd7 100644 --- a/exec-obsolete.h +++ b/exec-obsolete.h @@ -25,6 +25,7

[Qemu-devel] [PATCH v2 28/41] buffered_file: add qemu_file to read/write to buffer in memory

2012-06-04 Thread Isaku Yamahata
This is used by postcopy live migration. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- buffered_file.c | 50 ++ buffered_file.h | 10 ++ 2 files changed, 60 insertions(+), 0 deletions(-) diff --git a/buffered_file.c

[Qemu-devel] [PATCH v2 39/41] postcopy/outgoing: implement prefault

2012-06-04 Thread Isaku Yamahata
When page is requested, send surrounding pages are also sent. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- migration-postcopy.c | 56 + 1 files changed, 51 insertions(+), 5 deletions(-) diff --git a/migration-postcopy.c

[Qemu-devel] [PATCH v2 31/41] configure: add CONFIG_POSTCOPY option

2012-06-04 Thread Isaku Yamahata
Add enable/disable postcopy mode. No dynamic test yet. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- configure | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/configure b/configure index 1f338f8..21de4cb 100755 --- a/configure +++ b/configure @@

[Qemu-devel] [PATCH v2 02/41] arch_init: export RAM_SAVE_xxx flags for postcopy

2012-06-04 Thread Isaku Yamahata
Those constants will be also used by postcopy. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- arch_init.c |7 --- arch_init.h |7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch_init.c b/arch_init.c index 38e0173..bd4e61e 100644 --- a/arch_init.c

Re: [Qemu-devel] [PATCH v2 1/1] virtio-rng: hardware random number generator device

2012-06-04 Thread Anthony Liguori
On 05/26/2012 04:20 AM, Amit Shah wrote: On (Fri) 25 May 2012 [15:00:53], Anthony Liguori wrote: On 05/25/2012 02:32 PM, Amit Shah wrote: The Linux kernel already has a virtio-rng driver, this is the device implementation. When the guest asks for entropy from the virtio hwrng, it puts a

[Qemu-devel] [PATCH v3 0/2] postcopy migration: umem: Linux char device for postcopy

2012-06-04 Thread Isaku Yamahata
This is Linux kernel driver for qemu/kvm postcopy live migration. This is used by qemu/kvm postcopy live migration patch. TODO: - Consider FUSE/CUSE option So far several mmap patches for FUSE/CUSE are floating around. (their purpose isn't different from our purpose, though). They haven't

[Qemu-devel] [PATCH v2 20/41] savevm/QEMUFileSocket: drop duplicated member fd

2012-06-04 Thread Isaku Yamahata
fd is already stored in QEMUFile so drop duplicated member QEMUFileSocket::fd. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- savevm.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/savevm.c b/savevm.c index ec9f5d0..4b560b3 100644 --- a/savevm.c +++

[Qemu-devel] [PATCH v2 25/41] migration: factor out parameters into MigrationParams

2012-06-04 Thread Isaku Yamahata
Introduce MigrationParams for parameters of migration. Cc: Orit Wasserman owass...@redhat.com Cc: Juan Quintela quint...@redhat.com Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- Changes v1 - v2: - catch up qapi change --- block-migration.c |8 migration.c | 21

[Qemu-devel] [PATCH 08/13] pci: Export pci_parse_devaddr instead of pci_read_devaddr

2012-06-04 Thread Jan Kiszka
The latter is an internal helper for PCI hotplug. So move it where it belongs - before someone misuses it - and export the more versatile pci_parse_devaddr instead. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- hw/pci-hotplug.c | 18 -- hw/pci.c | 19

[Qemu-devel] [PATCH v2 21/41] savevm: rename QEMUFileSocket to QEMUFileFD, socket_close to fd_close

2012-06-04 Thread Isaku Yamahata
Later the structure will be shared. Signed-off-by: Isaku Yamahata yamah...@valinux.co.jp --- savevm.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/savevm.c b/savevm.c index 4b560b3..2fb0c3e 100644 --- a/savevm.c +++ b/savevm.c @@ -187,14 +187,14 @@

[Qemu-devel] [PULL 00/12] Block patches

2012-06-04 Thread Kevin Wolf
The following changes since commit 8cc9b43f7c5f826b39af4b012ad89bb55faac29c: target-microblaze: lwx/swx: first implementation (2012-06-04 10:19:46 +0200) are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony Josh Durgin (1): rbd: hook up cache options

  1   2   3   4   >