[Qemu-devel] [PATCH RFC v4 0/5] QEMU ATAPI-SCSI bridge GSoC project

2015-08-19 Thread Alexander Bezzubikov
This is my QEMU Google Summer of Code project. Here I introduce new device - ATAPI-SCSI bridge. Its purpose is to unify IDE ATAPI CD-ROM emulation with SCSI CD-ROM emulation to reduce code duplication and squash bugs. It's purpose is simple - it just forwards ATAPI commands to SCSI side for

Re: [Qemu-devel] [PATCH v14 0/8] i.MX: Add i.MX25 support through the PDK evaluation board

2015-08-19 Thread Jean-Christophe DUBOIS
OK, take your time. JC Le 19/08/2015 14:25, Peter Maydell a écrit : On 19 August 2015 at 07:43, Jean-Christophe DUBOIS j...@tribudubois.net wrote: Hi Peter, Do you expect more work on this series? It's in my to-review queue, but I'm at a conference this week so may not be able to get to it

Re: [Qemu-devel] [PATCH v14 0/8] i.MX: Add i.MX25 support through the PDK evaluation board

2015-08-19 Thread Peter Maydell
On 19 August 2015 at 07:43, Jean-Christophe DUBOIS j...@tribudubois.net wrote: Hi Peter, Do you expect more work on this series? It's in my to-review queue, but I'm at a conference this week so may not be able to get to it before next week. thanks -- PMM

[Qemu-devel] [PATCH 1/2] cpu_arm: Rename 'nvic' to 'irqchip'

2015-08-19 Thread Pavel Fedin
This name seems to be more appropriate because ARMv8 also needs a link with GICv3 for its CPU interface. Signed-off-by: Pavel Fedin p.fe...@samsung.com --- hw/arm/armv7m.c | 2 +- target-arm/cpu.h| 5 - target-arm/helper.c | 12 ++-- 3 files changed, 11 insertions(+), 8

[Qemu-devel] [PATCH RFC v4 5/5] ide: ATAPI-SCSI bridge transfer is treated as PIO

2015-08-19 Thread Alexander Bezzubikov
This patch is necessary because ATAPI-SCSI bridge transfer uses ide_transfer_start/stop and ide_data_read function check if PIO transfer is running, so bridge function should be added to this check Signed-off-by: Alexander Bezzubikov abezzubi...@ispras.ru --- hw/ide/core.c | 4 +++- 1 file

Re: [Qemu-devel] [PATCH] virtio-mmio: Kill code duplication

2015-08-19 Thread Peter Maydell
On 19 August 2015 at 12:23, Pavel Fedin p.fe...@samsung.com wrote: Extract common code for virtio-mmio creation and FDT node addition and put it into reusable functions. Use new functions in vexpress and virt machines. Signed-off-by: Pavel Fedin p.fe...@samsung.com --- hw/arm/sysbus-fdt.c

[Qemu-devel] [PATCH RFC v4 4/5] ATAPI-SCSI bridge functions created an can be used by bridge

2015-08-19 Thread Alexander Bezzubikov
ide: bridge functions created ide: Makefile corrected due to bridge creation scsi: added function to enable bridge send SCSI requests ide: bridge can now forward requests to SCSI ide: bridge functions assigned to SCSIBusInfo Signed-off-by: Alexander Bezzubikov abezzubi...@ispras.ru ---

[Qemu-devel] [PATCH RFC v4 2/5] scsi: SCSIDiskReq declaration moved to header

2015-08-19 Thread Alexander Bezzubikov
Signed-off-by: Alexander Bezzubikov abezzubi...@ispras.ru --- hw/scsi/scsi-disk.c| 12 include/hw/scsi/scsi.h | 13 + 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c index 64f0694..8626eba 100644 ---

[Qemu-devel] [PATCH RFC v4 3/5] ide: necessary checks corrected to treat ATAPI-SCSI bridge as CDROM

2015-08-19 Thread Alexander Bezzubikov
hw/ide/qdev.c: corrected to treat bridge as CDROM hw/ide/core.c: same corrections as in qdev.c hw/ide/atapi.c: skip some CDROM checks because bridge has only fake drive Signed-off-by: Alexander Bezzubikov abezzubi...@ispras.ru --- hw/ide/atapi.c | 4 +++- hw/ide/core.c | 24

[Qemu-devel] [PATCH] virtio-mmio: Kill code duplication

2015-08-19 Thread Pavel Fedin
Extract common code for virtio-mmio creation and FDT node addition and put it into reusable functions. Use new functions in vexpress and virt machines. Signed-off-by: Pavel Fedin p.fe...@samsung.com --- hw/arm/sysbus-fdt.c | 51 +++ hw/arm/vexpress.c

[Qemu-devel] [PATCH 2/2] cpu_arm: Use irqchip property instead of direct assignment

2015-08-19 Thread Pavel Fedin
Implement property instead of direct assignment of cpu-env.irqchip Signed-off-by: Pavel Fedin p.fe...@samsung.com --- hw/arm/armv7m.c | 5 ++--- target-arm/cpu.c | 6 ++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/hw/arm/armv7m.c b/hw/arm/armv7m.c index 19742b7..782fd3e

[Qemu-devel] [PATCH RFC v4 1/5] ide: ATAPI-SCSI bridge TypeInfo and init function created

2015-08-19 Thread Alexander Bezzubikov
Signed-off-by: Alexander Bezzubikov abezzubi...@ispras.ru --- hw/ide/bridge.h | 9 + hw/ide/internal.h | 4 +++- hw/ide/qdev.c | 41 + 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 hw/ide/bridge.h diff --git

Re: [Qemu-devel] [PULL 0/3] target-alpha PALcode improvments

2015-08-19 Thread Peter Maydell
On 18 August 2015 at 19:12, Richard Henderson r...@twiddle.net wrote: Posted and reviewed back in June, queued for 2.5 development. r~ The following changes since commit 074a9925e1cfd659d5376dcaccd1436d3840e611: Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into

Re: [Qemu-devel] [PATCH] virtio-mmio: Kill code duplication

2015-08-19 Thread Pavel Fedin
Hello! Why bother? This is adding more code than it deletes I just don't like code duplication, wanted to do this long time ago. Additionally this enables to add support for virtio-mmio to more machines. Actually it could be used not only by ARM with little modifications. and is

[Qemu-devel] where can i customize rbd object size?

2015-08-19 Thread Jaze Lee
Hello, qemu-img convert -f qcow2 Trove---mysql-5.6---2015-07-16.qcow2 -O raw rbd:openstack-00/8205d01a-874c-44c0-b114-1c03821fcc24:conf=/etc/ceph/ceph.conf How can i specify the object size that rbd uses? I found that the qemu-image can only use the default object size. It is defined in

Re: [Qemu-devel] [PATCH RFC v4 0/5] QEMU ATAPI-SCSI bridge GSoC project

2015-08-19 Thread Hannes Reinecke
On 08/19/2015 02:49 PM, Alexander Bezzubikov wrote: This is my QEMU Google Summer of Code project. Here I introduce new device - ATAPI-SCSI bridge. Its purpose is to unify IDE ATAPI CD-ROM emulation with SCSI CD-ROM emulation to reduce code duplication and squash bugs. It's purpose is simple

Re: [Qemu-devel] [PATCH 4/9] target-arm/arm-semi.c: Factor out repeated 'return env-regs[0]'

2015-08-19 Thread Christopher Covington
On Thu, Aug 13, 2015 at 9:35 AM, Peter Maydell peter.mayd...@linaro.org wrote: Factor out a repeated pattern in the semihosting code: gdb_do_syscall(arm_semi_cb, system,%s, arg0, (int)arg1+1); /* arm_semi_cb sets env-regs[0] to the syscall return value */ return env-regs[0]; For

Re: [Qemu-devel] [PATCH] Block: don't do copy-on-read in before_write_notifier

2015-08-19 Thread Jeff Cody
On Wed, Aug 19, 2015 at 01:43:41PM +0800, Wen Congyang wrote: On 08/19/2015 01:41 PM, Paolo Bonzini wrote: On 18/08/2015 19:54, Wen Congyang wrote: We will copy data in before_write_notifier to do backup. It is a nested I/O request, so we cannot do copy-on-read. Can you explain why?

[Qemu-devel] [PATCH 0/2] cpu_arm: Implement irqchip property for ARM CPU

2015-08-19 Thread Pavel Fedin
ARMv7m CPU needs a link to NVIC instance for processing interrupts. Similarly ARMv8 needs a link to GICv3 for its CPU interface. This series builds upon existing mechanism for linking irqchip and CPU, bringing the code up to date and making it reusable. Pavel Fedin (2): cpu_arm: Rename 'nvic'

Re: [Qemu-devel] [PATCH] net/vmxnet3: Refine l2 header validation

2015-08-19 Thread Dmitry Fleytman
ACK. On Aug 18, 2015, at 02:45 AM, Shmulik Ladkani shmulik.ladk...@ravellosystems.com wrote: From: Dana Rubin dana.ru...@ravellosystems.com Validation of l2 header length assumed minimal packet size as eth_header + 2 * vlan_header regardless of the actual protocol. This caused crash

Re: [Qemu-devel] [PATCH] net/vmxnet3: Flush packets when device gets activated

2015-08-19 Thread Dmitry Fleytman
ACK. On Aug 18, 2015, at 04:25 AM, Shmulik Ladkani shmulik.ladk...@ravellosystems.com wrote: As of a90a7425cf592a3afeff3eaf32f543b83050ee5c 'tap: Drop tap_can_send' vmxnet3 (with tap networking) can no longer receive once device is deactivated. Alas, as the device is initially inactive,

Re: [Qemu-devel] [PATCH 00/12] qemu-common.h/osdep.h refactoring

2015-08-19 Thread Peter Maydell
On 13 August 2015 at 18:37, Peter Maydell peter.mayd...@linaro.org wrote: On 22 July 2015 at 17:43, Peter Maydell peter.mayd...@linaro.org wrote: This series makes a start at cleaning up some of our headers to avoid the common problem of header files including qemu-common.h (which then in turn

Re: [Qemu-devel] [PATCH] Add another sanity check to smp_parse() function

2015-08-19 Thread Eduardo Habkost
On Wed, Jul 22, 2015 at 03:59:50PM +0200, Thomas Huth wrote: The code in smp_parse already checks the topology information for sockets * cores * threads cpus and bails out with an error in that case. However, it is still possible to supply a bad configuration the other way round, e.g. with:

Re: [Qemu-devel] [PATCH v5 3/4] sPAPR: Support RTAS call ibm, {open, close}-errinjct

2015-08-19 Thread Thomas Huth
On 18/08/15 18:15, David Gibson wrote: On Wed, Aug 19, 2015 at 09:52:00AM +1000, Gavin Shan wrote: On Tue, Aug 18, 2015 at 10:32:13AM -0700, Thomas Huth wrote: On 17/08/15 18:47, Gavin Shan wrote: The patch supports RTAS calls ibm,{open,close}-errinjct to manupliate the token, which is passed

[Qemu-devel] [PATCH] target-i386: Disable cache info passthrough by default

2015-08-19 Thread Eduardo Habkost
The host cache information may not make sense for the guest if the VM CPU topology doesn't match the host CPU topology. To make sure we won't expose broken cache information to the guest, disable cache info passthrough by default, and add a new host-cache-info property that can be used to enable

Re: [Qemu-devel] [PATCH v10 5/5] hw/arm/virt: Add gic-version option to virt machine

2015-08-19 Thread Eric Auger
Hi Pavel, On 08/18/2015 03:33 PM, Pavel Fedin wrote: Add gic_version to VirtMachineState, set it to value of the option and pass it around where necessary. Instantiate devices and fdt nodes according to the choice. max_cpus for virt machine increased to 126 (calculated from redistributor

Re: [Qemu-devel] [PULL v2] Queued TCG improvements

2015-08-19 Thread Richard Henderson
On 08/18/2015 04:23 PM, Peter Maydell wrote: Hi. I'm afraid this fails 'make check' on 32-bit ARM for me: Found it. The problem is in the temps tracking patch, where we weren't ignoring TCG_CALL_DUMMY_ARG (-1). This isn't used on x86 of course, which is why we didn't see this failure there.

Re: [Qemu-devel] [PATCH] q35: Remove old machine versions

2015-08-19 Thread Eduardo Habkost
On Wed, Aug 19, 2015 at 10:55:26AM +0100, Dr. David Alan Gilbert wrote: * Eduardo Habkost (ehabk...@redhat.com) wrote: Migration with q35 was not possible before commit 04329029a8c539eb5f75dcb6d8b016f0c53a031a, because q35 unconditionally creates an ich9-ahci device, that was marked as

Re: [Qemu-devel] [PATCH 20/25] audio: remove mixeng specific code from backends

2015-08-19 Thread Gerd Hoffmann
On Do, 2015-08-06 at 20:28 +0200, Kővágó, Zoltán wrote: Backends no longer have to deal with mixeng, they just receive a buffer in the correct sample format, all mixeng logic is now in the audio.c (and mixeng.c). Backends also do not have to deal with soft voices. Backends now have two way

Re: [Qemu-devel] [PATCH v2 0/3] SysFS driver for QEMU fw_cfg device

2015-08-19 Thread Leif Lindholm
On Wed, Aug 19, 2015 at 04:49:15PM -0400, Gabriel L. Somlo wrote: Hi Ard, On Wed, Aug 19, 2015 at 11:42:02AM +0200, Ard Biesheuvel wrote: (missed some cc's) On 19 August 2015 at 11:38, Ard Biesheuvel ard.biesheu...@linaro.org wrote: From: Gabriel L. Somlo so...@cmu.edu Several

Re: [Qemu-devel] [PATCH] linux-user: remove MAX_ARG_PAGES, allow dynamic growth of env/argv space

2015-08-19 Thread Peter Maydell
On 15 August 2015 at 19:26, Stefan Brüns stefan.bru...@rwth-aachen.de wrote: qemu currently limits the space for the evironment and arguments to 32 * PAGE_SIZE. Linux limits the argument space to 1/4 of the stack size. A program trying to detect this with a getrlimit(RLIMIT_STACK) syscall will

Re: [Qemu-devel] [PATCH 7/9] target-arm/arm-semi.c: Implement A64 specific SyncCacheRange call

2015-08-19 Thread Christopher Covington
On Thu, Aug 13, 2015 at 9:35 AM, Peter Maydell peter.mayd...@linaro.org wrote: The A64 semihosting ABI defines a new call SyncCacheRange for doing a 'clean D-cache and invalidate I-cache' sequence. Since QEMU doesn't implement caches, we can implement this as a nop. Signed-off-by: Peter

Re: [Qemu-devel] [PATCH v2] ne2000: Drop ne2000_can_receive

2015-08-19 Thread Fam Zheng
On Fri, 07/03 11:41, Stefan Hajnoczi wrote: On Fri, Jul 03, 2015 at 09:08:41AM +0800, Fam Zheng wrote: This moves the behavior of ne2000_can_receive to ne2000_receive. The logic is when the NIC is stopped we drop the packet, when the buffer is full we queue it and try flush later.

Re: [Qemu-devel] [PATCH 5/7] pc: Use DEFINE_MACHINE to implement DEFINE_PC_MACHINE

2015-08-19 Thread Eduardo Habkost
On Tue, Aug 18, 2015 at 12:08:52PM -0700, Eduardo Habkost wrote: DEFINE_PC_MACHINE should be eventually replaced by DEFINE_MACHINE, we just need to eliminate the pc_compat_*() functions first. Signed-off-by: Eduardo Habkost ehabk...@redhat.com --- include/hw/i386/pc.h | 15 ++-

[Qemu-devel] [PATCH RFC v3 5/5] ide: ATAPI-SCSI bridge transfer is treated as PIO

2015-08-19 Thread Alexander Bezzubikov
This patch is necessary because ATAPI-SCSI bridge transfer uses ide_transfer_start/stop and ide_data_read function check if PIO transfer is running, so bridge function should be added to this check Signed-off-by: Alexander Bezzubikov abezzubi...@ispras.ru --- hw/ide/core.c | 4 +++- 1 file

[Qemu-devel] [PATCH RFC v3 2/5] scsi: SCSIDiskReq declaration moved to header

2015-08-19 Thread Alexander Bezzubikov
Signed-off-by: Alexander Bezzubikov abezzubi...@ispras.ru --- hw/scsi/scsi-disk.c| 12 include/hw/scsi/scsi.h | 13 + 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/hw/scsi/scsi-disk.c b/hw/scsi/scsi-disk.c index 64f0694..8626eba 100644 ---

[Qemu-devel] [PATCH RFC v3 0/5] QEMU ATAPI-SCSI bridge GSoC project

2015-08-19 Thread Alexander Bezzubikov
This is my QEMU Google Summer of Code project. Here I introduce new device - ATAPI-SCSI bridge. Its purpose is to unify IDE ATAPI CD-ROM emulation with SCSI CD-ROM emulation to reduce code duplication and squash bugs. It's purpose is simple - it just forwards ATAPI commands to SCSI side for

[Qemu-devel] [PATCH RFC v3 3/5] ide: necessary checks corrected to treat ATAPI-SCSI bridge as CDROM

2015-08-19 Thread Alexander Bezzubikov
hw/ide/qdev.c: corrected to treat bridge as CDROM hw/ide/core.c: same corrections as in qdev.c hw/ide/atapi.c: skip some CDROM checks because bridge has only fake drive Signed-off-by: Alexander Bezzubikov abezzubi...@ispras.ru --- hw/ide/atapi.c | 4 +++- hw/ide/core.c | 24

Re: [Qemu-devel] Debian 7.8.0 SPARC64 on qemu - anything i can do to speedup the emulation?

2015-08-19 Thread Aurelien Jarno
On 2015-08-19 12:41, Artyom Tarasenko wrote: Hi Richard, On Tue, Aug 18, 2015 at 7:55 PM, Richard Henderson r...@twiddle.net wrote: On 08/18/2015 02:24 AM, Artyom Tarasenko wrote: The unoptimized case is a sequence of multiple cmp and branch operations (likely created by a case statement

[Qemu-devel] [PATCH RFC v3 1/5] ide: ATAPI-SCSI bridge TypeInfo and init function created

2015-08-19 Thread Alexander Bezzubikov
Signed-off-by: Alexander Bezzubikov abezzubi...@ispras.ru --- hw/ide/bridge.h | 9 + hw/ide/internal.h | 4 +++- hw/ide/qdev.c | 41 + 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 hw/ide/bridge.h diff --git

Re: [Qemu-devel] Debian 7.8.0 SPARC64 on qemu - anything i can do to speedup the emulation?

2015-08-19 Thread Artyom Tarasenko
Hi Richard, On Tue, Aug 18, 2015 at 7:55 PM, Richard Henderson r...@twiddle.net wrote: On 08/18/2015 02:24 AM, Artyom Tarasenko wrote: The unoptimized case is a sequence of multiple cmp and branch operations (likely created by a case statement in the original source code), especially where

[Qemu-devel] [PATCH RFC v3 4/5] ATAPI-SCSI bridge functions created an can be used by bridge

2015-08-19 Thread Alexander Bezzubikov
ide: bridge functions created ide: Makefile corrected due to bridge creation scsi: added function to enable bridge send SCSI requests ide: bridge can now forward requests to SCSI ide: bridge functions assigned to SCSIBusInfo Signed-off-by: Alexander Bezzubikov abezzubi...@ispras.ru ---

Re: [Qemu-devel] [PATCH RFC v3 0/5] QEMU ATAPI-SCSI bridge GSoC project

2015-08-19 Thread Hannes Reinecke
On 08/19/2015 12:57 PM, Alexander Bezzubikov wrote: This is my QEMU Google Summer of Code project. Here I introduce new device - ATAPI-SCSI bridge. Its purpose is to unify IDE ATAPI CD-ROM emulation with SCSI CD-ROM emulation to reduce code duplication and squash bugs. It's purpose is simple

Re: [Qemu-devel] [PATCH RFC v3 4/5] ATAPI-SCSI bridge functions created an can be used by bridge

2015-08-19 Thread Hannes Reinecke
On 08/19/2015 12:57 PM, Alexander Bezzubikov wrote: ide: bridge functions created ide: Makefile corrected due to bridge creation scsi: added function to enable bridge send SCSI requests ide: bridge can now forward requests to SCSI ide: bridge functions assigned to SCSIBusInfo Signed-off-by:

Re: [Qemu-devel] [PULL v2] Queued TCG improvements

2015-08-19 Thread Richard Henderson
On 08/18/2015 04:23 PM, Peter Maydell wrote: Hi. I'm afraid this fails 'make check' on 32-bit ARM for me: ... (i386-softmmu doesn't segv, so probably it's a 64-bit-ops-on-32-bit thing.) Sadly, this doesn't fail on 32-bit x86 host. I've started a build on an arm host, but it may be a while

[Qemu-devel] [RFC PATCH v0 2/3] spapr-rtas: Enable rtas_set_indicator() to return correct error

2015-08-19 Thread Bharata B Rao
drck-set_isolation_state() can return error. For such a case ensure correct error is returned by rtas_set_indicator() instead of always returning success. TODO: rtas_st(, , uint32 val) = the return value uint32, but drck-set_[allocation/indicator/isolation]_state() is returning int. Should we

[Qemu-devel] [PATCH v11 0/5] vGICv3 support

2015-08-19 Thread Pavel Fedin
This series introduces support for GICv3 by KVM. Software emulation is currently not supported. v11 = v10 - Fixed minor issues with checkpatch and comments, reported by Eric Auger - Make reusable kvm_gic_supports_attr(), moved to kvm-all.c and renamed as kvm_device_check_attr(). Useful for

[Qemu-devel] [PATCH v11 5/5] hw/arm/virt: Add gic-version option to virt machine

2015-08-19 Thread Pavel Fedin
Add gic_version to VirtMachineState, set it to value of the option and pass it around where necessary. Instantiate devices and fdt nodes according to the choice. max_cpus for virt machine increased to 126 (calculated from redistributor space available in the memory map). GICv2 compatibility check

[Qemu-devel] [PATCH v11 1/5] hw/intc: Implement GIC-500 base class

2015-08-19 Thread Pavel Fedin
From: Shlomo Pongratz shlomo.pongr...@huawei.com This class is to be used by both software and KVM implementations of GICv3 Currently it is mostly a placeholder, but in future it is supposed to hold qemu's representation of GICv3 state, which is necessary for migration. The interface of this

[Qemu-devel] [PATCH v11 2/5] intc/gic: Extract some reusable vGIC code

2015-08-19 Thread Pavel Fedin
Some functions previously used only by vGICv2 are useful also for vGICv3 implementation. Untie them from GICState and make accessible from within other modules: - kvm_arm_gic_set_irq() - kvm_gic_access() - data pointer changed to void * because some GICv3 registers are 64-bit wide -

[Qemu-devel] [PATCH v11 3/5] arm_kvm: Do not assume particular GIC type in kvm_arch_irqchip_create()

2015-08-19 Thread Pavel Fedin
This allows to use different GIC types from v2. There are no kernels which could advertise KVM_CAP_DEVICE_CTRL without the actual ability to create GIC with it. Signed-off-by: Pavel Fedin p.fe...@samsung.com Reviewed-by: Eric Auger eric.au...@linaro.org --- target-arm/kvm.c | 10 +- 1

Re: [Qemu-devel] [PATCH v10 2/5] intc/gic: Extract some reusable vGIC code

2015-08-19 Thread Pavel Fedin
Hello! I think it would be worth justifying the changes in signature: removal of GICState* due to the introduction of GICV3State and also justify replacement of uint32_t *val into void*. I described it in the cover letter. Right now you don't see usage for it, but here i started

Re: [Qemu-devel] [PATCH v14 0/8] i.MX: Add i.MX25 support through the PDK evaluation board

2015-08-19 Thread Jean-Christophe DUBOIS
Hi Peter, Do you expect more work on this series? JC Le 11/08/2015 00:02, Jean-Christophe Dubois a écrit : This series of patches is generated against Peter Maydell GIT tree: https://git.linaro.org/people/peter.maydell/qemu-arm.git branch target-arm-post-2.4 This series of patches add the

[Qemu-devel] [PATCH v11 4/5] hw/intc: Initial implementation of vGICv3

2015-08-19 Thread Pavel Fedin
This is the initial version of KVM-accelerated GICv3 support. State load and save are not yet supported, live migration is not possible. In order to get correct class name in a simpler way, gicv3_class_name() function is implemented, similar to gic_class_name(). Signed-off-by: Pavel Fedin

Re: [Qemu-devel] [PATCH v10 4/5] hw/intc: Initial implementation of vGICv3

2015-08-19 Thread Pavel Fedin
Hello! Signed-off-by: Pavel Fedin p.fe...@samsung.com in v8 you got Peter's R-b. Did you omit it willingly or did you make any changes since that. A changelog would ease the review in any case. Oops, i just forgot it. Thanks. Will fixup your notes and add it in v11. Kind regards, Pavel

[Qemu-devel] [RFC PATCH v0 3/3] spapr: Memory hot-unplug support

2015-08-19 Thread Bharata B Rao
Add support to hot remove pc-dimm memory devices. Signed-off-by: Bharata B Rao bhar...@linux.vnet.ibm.com --- hw/ppc/spapr.c | 114 - hw/ppc/spapr_drc.c | 21 + include/hw/ppc/spapr.h | 2 + 3 files changed, 136

[Qemu-devel] [RFC PATCH v0 1/3] pc-dimm: Add a field to PCDIMMDevice to mark device deletion state

2015-08-19 Thread Bharata B Rao
Add a field to PCDIMMDevice to note that the device has been marked for removal. This will be used by PowerPC memory hotplug code to honour the LMB removal requests of only those LMBs that belong to PCDIMMDevice that has been marked for removal. This will be set from -unplug() handler.

[Qemu-devel] [RFC PATCH v0 0/3] sPAPR: Memory hot removal support

2015-08-19 Thread Bharata B Rao
This patchset enables memory hot unplug for PowerPC sPAPR guests. This applies against spapr-next branch of David Gibson's tree that currently contains the memory hotplug code for sPAPR. Currently with drmgr, it is not possible to attempt just the removal of those LMBs that form the DIMM device

Re: [Qemu-devel] [PATCH v10 2/5] intc/gic: Extract some reusable vGIC code

2015-08-19 Thread Eric Auger
Hi Pavel, On 08/19/2015 08:36 AM, Pavel Fedin wrote: Hello! I think it would be worth justifying the changes in signature: removal of GICState* due to the introduction of GICV3State and also justify replacement of uint32_t *val into void*. I described it in the cover letter. OK

Re: [Qemu-devel] [PATCH v6] hw/arm/virt: Add high MMIO PCI region, 512G in size

2015-08-19 Thread Pavel Fedin
PING Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -Original Message- From: qemu-devel-bounces+p.fedin=samsung@nongnu.org [mailto:qemu-devel- bounces+p.fedin=samsung@nongnu.org] On Behalf Of Pavel Fedin Sent: Wednesday, August 12, 2015

[Qemu-devel] [RESEND PATCH v9 0/4] remove icc bus/bridge

2015-08-19 Thread Zhu Guihua
ICC Bus was used for providing a hotpluggable bus for APIC and CPU, but now we use HotplugHandler to make hotplug. So ICC Bus is unnecessary. This code has passed the new pc-cpu-test. And I have tested with kvm along with kernel_irqchip=on/off, it works fine. This patch series is based on the

[Qemu-devel] [RESEND PATCH v9 4/4] icc_bus: drop the unused files

2015-08-19 Thread Zhu Guihua
ICC bus impl has been droped, so all icc related files are not useful any more; delete them. Signed-off-by: Zhu Guihua zhugh.f...@cn.fujitsu.com --- default-configs/i386-softmmu.mak | 1 - default-configs/x86_64-softmmu.mak | 1 - hw/cpu/Makefile.objs | 1 -

[Qemu-devel] [RESEND PATCH v9 2/4] x86: use new method to correct reset sequence

2015-08-19 Thread Zhu Guihua
Something must be occur during reset of the X86 platform in a specific order. For example, the apic reset should be after some devices (such as hpet, rtc) reset, so that the apic register could be set to default values. This patch uses the new QEMUMachine reset method to solve the above problem,

[Qemu-devel] [RESEND PATCH v9 3/4] cpu/apic: drop icc bus/bridge

2015-08-19 Thread Zhu Guihua
From: Chen Fan chen.fan.f...@cn.fujitsu.com After CPU hotplug has been converted to BUS-less hot-plug infrastructure, the only function ICC bus performs is to propagate reset to LAPICs. However LAPIC could be reset by registering its reset handler after all device are initialized. Do so and drop

[Qemu-devel] [RESEND PATCH v9 1/4] apic: map APIC's MMIO region at each CPU's address space

2015-08-19 Thread Zhu Guihua
From: Chen Fan chen.fan.f...@cn.fujitsu.com Replace mapping APIC at global system address space with mapping it at per-CPU address spaces. Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com Signed-off-by: Zhu Guihua zhugh.f...@cn.fujitsu.com --- hw/i386/pc.c | 7 ---

Re: [Qemu-devel] [PATCH v2 0/3] SysFS driver for QEMU fw_cfg device

2015-08-19 Thread Ard Biesheuvel
(missed some cc's) On 19 August 2015 at 11:38, Ard Biesheuvel ard.biesheu...@linaro.org wrote: From: Gabriel L. Somlo so...@cmu.edu Hi Gabriel, Several different architectures supported by QEMU are set up with a firmware configuration (fw_cfg) device, used to pass configuration blobs into

Re: [Qemu-devel] [PATCH] q35: Remove old machine versions

2015-08-19 Thread Dr. David Alan Gilbert
* Eduardo Habkost (ehabk...@redhat.com) wrote: Migration with q35 was not possible before commit 04329029a8c539eb5f75dcb6d8b016f0c53a031a, because q35 unconditionally creates an ich9-ahci device, that was marked as unmigratable. So all q35 machines before pc-q35-2.4 were unmigratable, and

Re: [Qemu-devel] [PATCH RFC, Ping 0/3] Checkpoint-assisted migration proposal

2015-08-19 Thread Bohdan Trach
One more ping. Clearly, this patch set now requires porting to the latest QEMU, but before doing that, I would like to know if there is any interest at all in merging this feature. The patches are: http://patchwork.ozlabs.org/patch/462043/ http://patchwork.ozlabs.org/patch/462040/

Re: [Qemu-devel] Plan for using softmmu with linux-user

2015-08-19 Thread gchen gchen
On 2015年08月15日 04:45, Chen Gang wrote: On 8/14/15 22:44, Richard Henderson wrote: On 08/14/2015 02:37 AM, gchen gchen wrote: - If I implement SW64 tcg backend, I guess, I cann't get help from qemu upstream: I don't think SW64 is valuable enough for upstream (either I am not sure that I

Re: [Qemu-devel] [PATCH v2 6/7] [RFC] Use DEFINE_MACHINE to register all machines

2015-08-19 Thread Michael Walle
Am 2015-08-18 23:43, schrieb Eduardo Habkost: I am sending a single patch for all machines to get some feedback, but in the final patch series I will separate them by architecture. Signed-off-by: Eduardo Habkost ehabk...@redhat.com --- (Sending v2 of just patch 6/7 to avoid resending the whole

[Qemu-devel] [Bug 1422307] Re: qemu-nbd corrupts files

2015-08-19 Thread Pierre Schweitzer
Please find attach a proposed debdiff for fixing the issue in Ubuntu Trusty by backporting the fix which is now in Wily. ** Description changed: + [Impact] + A race condition in the VDI block driver of Qemu leads to image (and thus file system) corruption under certain circumstances. + This

Re: [Qemu-devel] [PATCH 17/25] audio: remove gcc specific audio_MIN, audio_MAX

2015-08-19 Thread Gerd Hoffmann
On Do, 2015-08-06 at 20:28 +0200, Kővágó, Zoltán wrote: Currently the gcc specific version only evaluates the arguments once, while the generic version evaluates one argument twice, which can cause debugging headaches when an argument has a side effect. The answer to that is don't do that. Do