[Qemu-devel] pxe boot problems

2014-01-29 Thread Dietmar Maurer
pxe boot does not work with qemu 1.7 (also tested with latest code from master). # kvm -m 1024 -net nic -net tap simply hangs at: iPXE (PCI 00:03.0) starting execution... and I get the following output: # kvm -m 1024 -net nic -net tap KVM: unknown exit, hardware reason 8021 EAX=0011

Re: [Qemu-devel] [PATCH] Revert memory: syncronize kvm bitmap using bitmaps operations

2014-01-29 Thread Alexey Kardashevskiy
On 01/29/2014 06:30 PM, Paolo Bonzini wrote: Il 29/01/2014 06:50, Alexey Kardashevskiy ha scritto: Since 64K system page size is quite popular configuration on PPC64, the original patch breaks migration. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- include/exec/ram_addr.h | 54

Re: [Qemu-devel] [PATCH v4 4/5] qmp: full introspection support for QMP

2014-01-29 Thread Fam Zheng
On Tue, 01/28 06:58, Eric Blake wrote: On 01/28/2014 04:14 AM, Paolo Bonzini wrote: Let's see the feedback of Eric. Eric's feedback is certainly useful, but I think we need to look at it from the QEMU perspective more than the libvirt perspective. Passing the raw schema and

[Qemu-devel] [PATCH 1/4] qemu-io: New option -a to aio_read and aio_write

2014-01-29 Thread Fam Zheng
This option will enable accounting of aio requests. Signed-off-by: Fam Zheng f...@redhat.com --- qemu-io-cmds.c | 35 +++ 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c index f1de24c..d6e20e6 100644 ---

[Qemu-devel] [PATCH 3/4] qemu-iotests: Allow caller to disable underscore convertion for qmp

2014-01-29 Thread Fam Zheng
QMP command block_set_io_throttle expects underscores in parameters instead of dashes: {iops,bps}_{rd,wr,max}. Add optional argument conv_keys (defaults to True, backward compatible), it will be used in IO throttling test case. Signed-off-by: Fam Zheng f...@redhat.com ---

[Qemu-devel] [PATCH 0/4] qemu-iotests: Test case for IO throttling

2014-01-29 Thread Fam Zheng
This series adds iotest case for IO throttling. There is a new option -a for qemu-io sub-commands aio_read and aio_write, which makes the aio requests accounted and the statistics reflected in blockstats. Note that IO throttling implementation allows overcommiting of requests, so the actual IO

[Qemu-devel] [PATCH 2/4] qemu-iotests: Add VM method qtest_cmd() to iotests.py

2014-01-29 Thread Fam Zheng
This will allow test case to run command in qtest protocol. It's write-only for now. Signed-off-by: Fam Zheng f...@redhat.com --- tests/qemu-iotests/iotests.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/iotests.py b/tests/qemu-iotests/iotests.py

[Qemu-devel] [PATCH 4/4] qemu-iotests: Add 080 for IO throttling

2014-01-29 Thread Fam Zheng
This case utilizes qemu-io command aio_{read,write} -a -q to verify the effectiveness of IO throttling options. The -a option will cause qemu-io requests to be accounted. It's implemented by driving the vm timer from qtest protocol, so the throttling timers are signaled with determinied time

Re: [Qemu-devel] [PATCH 1/3] Rework --name to use QemuOpts

2014-01-29 Thread Alex Bennée
dgilb...@redhat.com writes: From: Dr. David Alan Gilbert dgilb...@redhat.com Signed-off-by: Dr. David Alan Gilbert dgilb...@redhat.com --- vl.c | 52 +++- 1 file changed, 39 insertions(+), 13 deletions(-) diff --git a/vl.c b/vl.c index

[Qemu-devel] [PATCHv7 2/5] qemu-iotests: change _supported_proto to file for various tests

2014-01-29 Thread Peter Lieven
all these tests do anything of the following and thus fail with any protocol other than file: - the tests use rm, cp or mv shell commands which only work on file - the tests use qcow2.py - the images construct new filenames (e.g. backing file names) and the logic is broken for anything else

[Qemu-devel] [PATCHv7 1/5] block: add native support for NFS

2014-01-29 Thread Peter Lieven
This patch adds native support for accessing images on NFS shares without the requirement to actually mount the entire NFS share on the host. NFS Images can simply be specified by an url of the form: nfs://host/export/filename[?param=value[param2=value2[...]]] For example: qemu-img create -f

[Qemu-devel] [PATCHv7 0/5] block: add native support for NFS

2014-01-29 Thread Peter Lieven
This adds v6 of the NFS protocol driver + qemu-iotest adjustments. v6-v7: - removed unsused and partially non-existing libnfs header file includes [Stefan] - adjusted usage of qemu_opts_create_nofail [Stefan] - removed patch to fix output of qemu-iotest 067 - only blacklist qemu-iotest 020

[Qemu-devel] [PATCHv7 3/5] qemu-iotests: enable support for NFS protocol

2014-01-29 Thread Peter Lieven
Signed-off-by: Peter Lieven p...@kamp.de --- tests/qemu-iotests/common| 22 +++--- tests/qemu-iotests/common.rc |3 +++ 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/tests/qemu-iotests/common b/tests/qemu-iotests/common index 8b4e22c..5795358 100644 ---

[Qemu-devel] [PATCHv7 4/5] qemu-iotests: enable test 016 and 025 to work with NFS protocol

2014-01-29 Thread Peter Lieven
Signed-off-by: Peter Lieven p...@kamp.de --- tests/qemu-iotests/016 |2 +- tests/qemu-iotests/025 |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/016 b/tests/qemu-iotests/016 index b87a32b..7ea9e94 100755 --- a/tests/qemu-iotests/016 +++

[Qemu-devel] [PATCHv7 5/5] qemu-iotests: blacklist test 020 for NFS protocol

2014-01-29 Thread Peter Lieven
reopening is currently not supported. Signed-off-by: Peter Lieven p...@kamp.de --- tests/qemu-iotests/020 |5 + 1 file changed, 5 insertions(+) diff --git a/tests/qemu-iotests/020 b/tests/qemu-iotests/020 index 73a0429..2f258dc 100755 --- a/tests/qemu-iotests/020 +++

Re: [Qemu-devel] [PATCH v12 00/11] Drop in_use from BlockDriverState and enable point-in-time snapshot exporting over NBD

2014-01-29 Thread Stefan Hajnoczi
On Tue, Jan 28, 2014 at 08:57:11AM -0800, Ian Main wrote: On Tue, Jan 28, 2014 at 03:31:36PM +0100, Stefan Hajnoczi wrote: On Mon, Jan 27, 2014 at 11:48:06AM +0800, Fam Zheng wrote: This series adds for point-in-time snapshot NBD exporting based on blockdev-backup (variant of drive-backup

Re: [Qemu-devel] [PATCHv2] block/vmdk: add basic .bdrv_check support

2014-01-29 Thread Fam Zheng
On Wed, 01/29 09:34, Peter Lieven wrote: this adds a basic vmdk corruption check. it should detect severe table corruptions and file truncation. Signed-off-by: Peter Lieven p...@kamp.de --- v2: - use %PRId64 instead of %ld [Stefan] - extend - extent [Stefan] - fixed overlong lines

Re: [Qemu-devel] [PATCH] Revert memory: syncronize kvm bitmap using bitmaps operations

2014-01-29 Thread Paolo Bonzini
Il 29/01/2014 09:12, Alexey Kardashevskiy ha scritto: On 01/29/2014 06:30 PM, Paolo Bonzini wrote: Il 29/01/2014 06:50, Alexey Kardashevskiy ha scritto: Since 64K system page size is quite popular configuration on PPC64, the original patch breaks migration. Signed-off-by: Alexey Kardashevskiy

Re: [Qemu-devel] How to mount, install and/or otherwise use an ARM Zero Client image wi th Qemu in Windows

2014-01-29 Thread Peter Maydell
On 28 January 2014 23:29, xan...@juno.com xan...@juno.com wrote: Most recently, I've tried to just mount the .iso with the CD Image for the Zero Client that is expecting to be installed on an ARM system the following way: qemu-system-armw.exe -m 256 -hda mynewimage.img -cdrom zeroclient.iso

Re: [Qemu-devel] [Bug 1273944] Re: multiboot header has 0 in mem_upper field

2014-01-29 Thread Peter Chubb
Peter == Peter Chubb peter.ch...@nicta.com.au writes: This change fixes it. diff --git a/exec.c b/exec.c index 2435d9e..b387d28 100644 --- a/exec.c +++ b/exec.c @@ -1070,7 +1070,7 @@ static void *file_ram_alloc(RAMBlock *block, } /* MAP_POPULATE silently ignores

Re: [Qemu-devel] [PATCH v12 00/11] Drop in_use from BlockDriverState and enable point-in-time snapshot exporting over NBD

2014-01-29 Thread Kevin Wolf
Am 29.01.2014 um 09:44 hat Stefan Hajnoczi geschrieben: On Tue, Jan 28, 2014 at 08:57:11AM -0800, Ian Main wrote: On Tue, Jan 28, 2014 at 03:31:36PM +0100, Stefan Hajnoczi wrote: On Mon, Jan 27, 2014 at 11:48:06AM +0800, Fam Zheng wrote: This series adds for point-in-time snapshot NBD

[Qemu-devel] [PATCH v3] target-arm: Add support for AArch32 64bit VCVTB and VCVTT

2014-01-29 Thread Will Newton
Add support for the AArch32 floating-point half-precision to double- precision conversion VCVTB and VCVTT instructions. Signed-off-by: Will Newton will.new...@linaro.org --- target-arm/translate.c | 74 ++ 1 file changed, 56 insertions(+), 18

Re: [Qemu-devel] [PATCH] Revert memory: syncronize kvm bitmap using bitmaps operations

2014-01-29 Thread Juan Quintela
Alexey Kardashevskiy a...@ozlabs.ru wrote: On 01/29/2014 06:30 PM, Paolo Bonzini wrote: Il 29/01/2014 06:50, Alexey Kardashevskiy ha scritto: Since 64K system page size is quite popular configuration on PPC64, the original patch breaks migration. Signed-off-by: Alexey Kardashevskiy

Re: [Qemu-devel] [PATCH] monitor: Cleanup mon-outbuf on write error

2014-01-29 Thread Stratos Psomadakis
On 01/27/2014 12:30 PM, Stratos Psomadakis wrote: In case monitor_flush() fails to write the contents of mon-outbuf to the output device, mon-outbuf is not cleaned up properly. Check the return code of the qemu_chr_fe_write() function and cleanup the outbuf if it fails. References:

[Qemu-devel] [PATCH] qemu-iotests: Drop assert_no_active_commit in case 040

2014-01-29 Thread Fam Zheng
It is exactly assert_no_active_block_jobs in iotests.py Signed-off-by: Fam Zheng f...@redhat.com --- tests/qemu-iotests/040 | 28 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/tests/qemu-iotests/040 b/tests/qemu-iotests/040 index 72eaad5..734b6a6

[Qemu-devel] [PATCH] QMP: allow JSON dict arguments in qmp-shell

2014-01-29 Thread Stefan Hajnoczi
qmp-shell hides the QMP wire protocol JSON encoding from the user. Most of the time this is helpful and makes the command-line human-friendly. Some QMP commands take a dict as an argument. In order to express this we need to revert back to JSON notation. This patch allows JSON dict arguments

Re: [Qemu-devel] osx bootloader

2014-01-29 Thread BALATON Zoltan
On Tue, 28 Jan 2014, Gabriel L. Somlo wrote: But now I think it's starting to make sense. Chameleon's stage2 loader, named boot (which we're starting via -kernel boot, and which is the only piece of Chameleon we need) is apparently equivalent to Apple's boot.efi, which it bypasses, and which I

Re: [Qemu-devel] pxe boot problems

2014-01-29 Thread Dietmar Maurer
A bisect points to the following patch: # git bisect bad c45e5b5b30ac1f5505725a7b36e68cedfce4f01f is the first bad commit commit c45e5b5b30ac1f5505725a7b36e68cedfce4f01f Author: Gerd Hoffmann kra...@redhat.com Date: Tue Feb 26 17:46:11 2013 +0100 Switch to efi-enabled nic roms by default

Re: [Qemu-devel] [PATCH 01/10] block: Change BDS parameter of bdrv_open() to **

2014-01-29 Thread Kevin Wolf
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben: Make bdrv_open() take a pointer to a BDS pointer, similarly to bdrv_file_open(). If a pointer to a NULL pointer is given, bdrv_open() will create a new BDS with an empty name; if the BDS pointer is not NULL, that existing BDS will be reused (in

[Qemu-devel] [BUG] BSoD on Windows XP installation

2014-01-29 Thread Stefano Stabellini
Hi Paolo, we have been trying to fix a BSOD that would happen during the Windows XP installation, once every ten times on average. After many days of bisection, we found out that commit commit 149f54b53b7666a3facd45e86eece60ce7d3b114 Author: Paolo Bonzini pbonz...@redhat.com Date: Fri May 24

Re: [Qemu-devel] [PATCH v4 1/3] util/fifo8: implement push/pop of multiple bytes

2014-01-29 Thread Peter Crosthwaite
On Wed, Jan 29, 2014 at 4:48 AM, Beniamino Galvani b.galv...@gmail.com wrote: On Tue, Jan 28, 2014 at 10:43:28AM +, Peter Maydell wrote: On 28 January 2014 00:04, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: On Tue, Jan 28, 2014 at 4:32 AM, Peter Maydell peter.mayd...@linaro.org

Re: [Qemu-devel] [PATCH v5 1/8] arm_gic: Introduce define for GIC_NR_SGIS

2014-01-29 Thread Peter Maydell
On 28 January 2014 20:32, Christoffer Dall christoffer.d...@linaro.org wrote: Instead of hardcoding 16 various places in the code, use a define to make it more clear what is going on. Signed-off-by: Christoffer Dall christoffer.d...@linaro.org Reviewed-by: Peter Maydell

Re: [Qemu-devel] [PATCH v5 2/8] arm_gic: Fix GICD_ICPENDR and GICD_ISPENDR writes

2014-01-29 Thread Peter Maydell
On 28 January 2014 20:32, Christoffer Dall christoffer.d...@linaro.org wrote: Fix two bugs that would allow changing the state of SGIs through the ICPENDR and ISPENDRs. Signed-off-by: Christoffer Dall christoffer.d...@linaro.org Reviewed-by: Peter Maydell peter.mayd...@linaro.org thanks --

Re: [Qemu-devel] [PATCH v6 0/8] Vhost and vhost-net support for userspace based backends

2014-01-29 Thread Antonios Motakis
Hello, On Mon, Jan 27, 2014 at 5:49 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jan 27, 2014 at 05:37:02PM +0100, Antonios Motakis wrote: Hello again, On Wed, Jan 15, 2014 at 3:49 PM, Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jan 15, 2014 at 01:50:47PM +0100,

Re: [Qemu-devel] osx bootloader

2014-01-29 Thread BALATON Zoltan
On Tue, 28 Jan 2014, Gabriel L. Somlo wrote: Thanks again for the helpful links !!! Here are some more that can be helpful: http://www.rodsbooks.com/refind/drivers.html about some EFI drivers that can make an EFI implementation able to read an HFS+ volume (rEFInd is a boot manager for EFI

[Qemu-devel] [PATCH 1/3] xen: move Xen PV machine files to hw/xenpv

2014-01-29 Thread Wei Liu
Signed-off-by: Wei Liu wei.l...@citrix.com --- hw/i386/Makefile.objs|2 +- hw/xenpv/Makefile.objs |2 ++ hw/{i386 = xenpv}/xen_domainbuild.c |0 hw/{i386 = xenpv}/xen_domainbuild.h |0 hw/{i386 = xenpv}/xen_machine_pv.c |0 5 files changed, 3

[Qemu-devel] [PATCH 2/3] xen: move Xen HVM files under hw/i386/xen

2014-01-29 Thread Wei Liu
Signed-off-by: Wei Liu wei.l...@citrix.com --- hw/i386/Makefile.objs|2 +- hw/i386/xen/Makefile.objs|1 + hw/{ = i386}/xen/xen_apic.c |0 hw/{ = i386}/xen/xen_platform.c |0 hw/{ = i386}/xen/xen_pvdevice.c |0 hw/xen/Makefile.objs |1 -

[Qemu-devel] [PATCH 3/3] xen: factor out common functions

2014-01-29 Thread Wei Liu
Some common functions used by both HVM and PV are factored out from xen-all.c to xen-common.c. Finally rename xen-all.c to xen-hvm.c, as those functions are only useful to HVM guest. Create *-stub files and modify Makefile.target to reflect the changes. Signed-off-by: Wei Liu

[Qemu-devel] [PATCH 0/3] QEMU/Xen: disentangle PV and HVM in QEMU

2014-01-29 Thread Wei Liu
This small series disentangles Xen-specific files in QEMU. PV and HVM guests related files are moved to corresponding locations. Build system is updated to reflect those changes. These patches are taken from my previous patches. I think they are quite safe to go in. So I drop the RFC tag and

Re: [Qemu-devel] [PATCH target-arm v4 1/1] target-arm: Implements the ARM PMCCNTR register

2014-01-29 Thread Peter Maydell
On 28 January 2014 06:25, Alistair Francis alistair.fran...@xilinx.com wrote: This patch implements the ARM PMCCNTR register including the disable and reset components of the PMCR register. Signed-off-by: Alistair Francis alistair.fran...@xilinx.com --- This patch assumes that non-invasive

[Qemu-devel] [Bug 1265998] Re: vfio-pci passed Radeon 7870XT is unstable on first boot of a Windows 8.1 guest

2014-01-29 Thread Michał Węgrzynek
Success! I was finally able to make the qemu runnig with any additional magic. All I need was to load the vfio_iommu_type1 module with disable_hugepages=1 option. Thanks for pointing me in the right direction! ** Changed in: qemu Status: New = Fix Released -- You received this bug

Re: [Qemu-devel] pxe boot problems

2014-01-29 Thread Laszlo Ersek
On 01/29/14 12:49, Dietmar Maurer wrote: A bisect points to the following patch: # git bisect bad c45e5b5b30ac1f5505725a7b36e68cedfce4f01f is the first bad commit commit c45e5b5b30ac1f5505725a7b36e68cedfce4f01f Author: Gerd Hoffmann kra...@redhat.com Date: Tue Feb 26 17:46:11 2013 +0100

Re: [Qemu-devel] [BUG] BSoD on Windows XP installation

2014-01-29 Thread Paolo Bonzini
Il 29/01/2014 13:00, Stefano Stabellini ha scritto: Hi Paolo, we have been trying to fix a BSOD that would happen during the Windows XP installation, once every ten times on average. After many days of bisection, we found out that commit commit 149f54b53b7666a3facd45e86eece60ce7d3b114 Author:

Re: [Qemu-devel] [PATCH v4 0/4] Create ARM KVM VGIC with device control API

2014-01-29 Thread Peter Maydell
On 28 January 2014 20:28, Christoffer Dall christoffer.d...@linaro.org wrote: This patch series adds generic support for issuing device control related ioctls and supports creating the ARM KVM-accelerated VGIC using the device control API while maintaining backwards compatibility for older

Re: [Qemu-devel] [PATCH v5 0/8] Support arm-gic-kvm save/restore

2014-01-29 Thread Peter Maydell
On 28 January 2014 20:32, Christoffer Dall christoffer.d...@linaro.org wrote: Implement support to save/restore the ARM KVM VGIC state from the kernel. The basic appraoch is to transfer state from the in-kernel VGIC to the emulated arm-gic state representation and let the standard QEMU

Re: [Qemu-devel] [PATCHv2] block/vmdk: add basic .bdrv_check support

2014-01-29 Thread Stefan Hajnoczi
On Wed, Jan 29, 2014 at 09:34:16AM +0100, Peter Lieven wrote: this adds a basic vmdk corruption check. it should detect severe table corruptions and file truncation. Signed-off-by: Peter Lieven p...@kamp.de --- v2: - use %PRId64 instead of %ld [Stefan] - extend - extent [Stefan] -

Re: [Qemu-devel] [PATCH 03/10] block: Make bdrv_file_open() static

2014-01-29 Thread Kevin Wolf
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben: Add the bdrv_open() option BDRV_O_PROTOCOL which results in passing the call to bdrv_file_open(). Additionally, make bdrv_file_open() static and therefore bdrv_open() the only way to call it. Consequently, all existing calls to

[Qemu-devel] Odroidu2: qemu-system-arm for Exynos4212

2014-01-29 Thread Parthiban Nallathambi (RBEI/ECF3)
Hello All, I have an Odroid u2 board which comes with samsung manufactured SoC Exynos4212. I have tried building the custom kernel, u-boot and rootfs with the help of hardkernel. But i want to test this image with qemu-system-arm. I have tried searching the compatibility for this SoC, but i

Re: [Qemu-devel] [PATCH 06/10] block: Remove bdrv_new() from bdrv_file_open()

2014-01-29 Thread Kevin Wolf
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben: Change bdrv_file_open() to take a simple pointer to an already existing BDS instead of an indirect one. The BDS will be created in bdrv_open() if necessary. Signed-off-by: Max Reitz mre...@redhat.com --- block.c | 29

[Qemu-devel] [PULL 22/38] target-arm: Add AArch32 SIMD VRINTA, VRINTN, VRINTP, VRINTM, VRINTZ

2014-01-29 Thread Peter Maydell
From: Will Newton will.new...@linaro.org Add support for the AArch32 Advanced SIMD VRINTA, VRINTN, VRINTP VRINTM and VRINTZ instructions. Signed-off-by: Will Newton will.new...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- target-arm/translate.c | 40

[Qemu-devel] [PULL 10/38] target-arm: A64: Add SIMD scalar copy instructions

2014-01-29 Thread Peter Maydell
Add support for the SIMD scalar copy instruction group (C3.6.7), which consists of the single instruction DUP (element, scalar). Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Richard Henderson r...@twiddle.net --- target-arm/translate-a64.c | 43

[Qemu-devel] [PULL 33/38] linux-headers: Update from Linus' master ba635f8

2014-01-29 Thread Peter Maydell
From: Christoffer Dall christoffer.d...@linaro.org Update to upstream commit ba635f8cd20ebc7bddf1eb8e1f4eae28a034e916 Signed-off-by: Christoffer Dall christoffer.d...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- linux-headers/asm-arm/kvm.h| 28

[Qemu-devel] [PULL 23/38] target-arm: Add AArch32 FP VCVTA, VCVTN, VCVTP and VCVTM

2014-01-29 Thread Peter Maydell
From: Will Newton will.new...@linaro.org Add support for the AArch32 floating-point VCVTA, VCVTN, VCVTP and VCVTM instructions. Signed-off-by: Will Newton will.new...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- target-arm/translate.c | 61

[Qemu-devel] [PULL 30/38] target-arm: A64: Add integer ops from SIMD 3-same group

2014-01-29 Thread Peter Maydell
Add some of the integer operations in the SIMD 3-same group: specifically, the comparisons, addition and subtraction. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Richard Henderson r...@twiddle.net --- target-arm/translate-a64.c | 165

[Qemu-devel] [PULL 38/38] arm_gic: Fix GICD_ICPENDR and GICD_ISPENDR writes

2014-01-29 Thread Peter Maydell
From: Christoffer Dall christoffer.d...@linaro.org Fix two bugs that would allow changing the state of SGIs through the ICPENDR and ISPENDRs. Signed-off-by: Christoffer Dall christoffer.d...@linaro.org Reviewed-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Peter Maydell

[Qemu-devel] [PULL 06/38] target-arm: A64: Add SIMD ZIP/UZP/TRN

2014-01-29 Thread Peter Maydell
From: Michael Matz m...@suse.de Add support for the SIMD ZIP/UZIP/TRN instruction group (C3.6.3). Signed-off-by: Michael Matz m...@suse.de [PMM: use new do_vec_get/set etc functions and generally update to new codebase standards; refactor to pull per-element loop outside switch] Signed-off-by:

[Qemu-devel] [PULL 36/38] arm: vgic device control api support

2014-01-29 Thread Peter Maydell
From: Christoffer Dall christoffer.d...@linaro.org Support creating the ARM vgic device through the device control API and setting the base address for the distributor and cpu interfaces in KVM VMs using this API. Because the older KVM_CREATE_IRQCHIP interface needs the irq chip to be created

[Qemu-devel] [PULL 14/38] display: avoid multi-statement macro

2014-01-29 Thread Peter Maydell
From: Paolo Bonzini pbonz...@redhat.com For blizzard, pl110 and tc6393xb this is harmless, but for pxa2xx Coverity noticed that it is used inside an if statement. Fix it because it's the file with the highest number of defects in the whole QEMU tree! Use do...while (0), or just remove the

[Qemu-devel] [PULL 34/38] kvm: Introduce kvm_arch_irqchip_create

2014-01-29 Thread Peter Maydell
From: Christoffer Dall christoffer.d...@linaro.org Introduce kvm_arch_irqchip_create an arch-specific hook in preparation for architecture-specific use of the device control API to create IRQ chips. Following patches will implement the ARM irqchip create method to prefer the device control API

[Qemu-devel] [PULL 09/38] target-arm: A64: Add SIMD modified immediate group

2014-01-29 Thread Peter Maydell
From: Alex Bennée alex.ben...@linaro.org This patch adds support for the AdvSIMD modified immediate group (C3.6.6) with all its suboperations (movi, orr, fmov, mvni, bic). Signed-off-by: Alexander Graf ag...@suse.de [AJB: new decode struct, minor bug fixes, optimisation] Signed-off-by: Alex

[Qemu-devel] [PULL 17/38] target-arm: Add support for AArch32 FP VRINTR

2014-01-29 Thread Peter Maydell
From: Will Newton will.new...@linaro.org Add support for the AArch32 floating-point VRINTR instruction. Signed-off-by: Will Newton will.new...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- target-arm/translate.c | 11 +++ 1 file changed, 11 insertions(+) diff

[Qemu-devel] [PULL 01/38] target-arm: A64: Add SIMD ld/st multiple

2014-01-29 Thread Peter Maydell
From: Alex Bennée alex.ben...@linaro.org This adds support support for the SIMD load/store multiple category of instructions. This also brings in a couple of helper functions for manipulating sections of the SIMD registers: * do_vec_get - fetch value from a slice of a vector register *

[Qemu-devel] [PULL 11/38] hw/arm/boot: Don't set up ATAGS for autogenerated dtb booting

2014-01-29 Thread Peter Maydell
The code which decides whether to set up the ATAGS data structure on reset was using the wrong conditional, which meant we were creating an ATAGS structure when doing a device-tree boot if the dtb was autogenerated by the board. This is harmless, but unnecessary, so bring it in to line with

[Qemu-devel] [PULL 12/38] ARM: Convert MIDR to a property

2014-01-29 Thread Peter Maydell
From: Alistair Francis alistair.fran...@xilinx.com Convert the MIDR register to a property. This allows boards to later set a custom MIDR value. This has been done in such a way to maintain compatibility with all existing CPUs and boards Signed-off-by: Alistair Francis

[Qemu-devel] [PULL 24/38] target-arm: Add AArch32 SIMD VCVTA, VCVTN, VCVTP and VCVTM

2014-01-29 Thread Peter Maydell
From: Will Newton will.new...@linaro.org Add support for the AArch32 Advanced SIMD VCVTA, VCVTN, VCVTP and VCVTM instructions. Signed-off-by: Will Newton will.new...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- target-arm/translate.c | 53

[Qemu-devel] [PULL 27/38] target-arm: A64: Add SIMD scalar 3 same add, sub and compare ops

2014-01-29 Thread Peter Maydell
Implement the add, sub and compare ops from the SIMD scalar three same group. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Richard Henderson r...@twiddle.net --- target-arm/translate-a64.c | 131 - 1 file changed, 130

Re: [Qemu-devel] [PATCH 08/10] block: Reuse bs-options setting from bdrv_open()

2014-01-29 Thread Kevin Wolf
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben: Setting bs-options in bdrv_file_open() is not necessary if it is already done in bdrv_open(). Signed-off-by: Max Reitz mre...@redhat.com Perhaps squash this into patch 7? Because now the reference is created by bdrv_open() instead of

[Qemu-devel] [PULL 19/38] target-arm: Add support for AArch32 FP VRINTX

2014-01-29 Thread Peter Maydell
From: Will Newton will.new...@linaro.org Add support for the AArch32 floating-point VRINTX instruction. Signed-off-by: Will Newton will.new...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- target-arm/translate.c | 11 +++ 1 file changed, 11 insertions(+) diff

[Qemu-devel] [PULL 00/38] target-arm queue

2014-01-29 Thread Peter Maydell
' into staging (2014-01-24 15:52:44 -0800) are available in the git repository at: git://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20140129 for you to fetch changes up to 984bc70fb5e6331cf3cbfa836373fefadf1435f9: arm_gic: Fix GICD_ICPENDR and GICD_ISPENDR writes

[Qemu-devel] [PULL 21/38] target-arm: Add set_neon_rmode helper

2014-01-29 Thread Peter Maydell
From: Will Newton will.new...@linaro.org This helper sets the rounding mode in the standard_fp_status word to allow NEON instructions to modify the rounding mode whilst using the standard FPSCR values for everything else. Signed-off-by: Will Newton will.new...@linaro.org Reviewed-by: Peter

[Qemu-devel] [PULL 29/38] target-arm: A64: Add logic ops from SIMD 3 same group

2014-01-29 Thread Peter Maydell
Add support for the logical operations (ORR, AND, BIC, ORN, EOR, BSL, BIT and BIF) from the SIMD 3 register same group (C3.6.16). Signed-off-by: Alex Bennée alex.ben...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Richard Henderson r...@twiddle.net ---

[Qemu-devel] [PULL 15/38] target-arm: Move arm_rmode_to_sf to a shared location.

2014-01-29 Thread Peter Maydell
From: Will Newton will.new...@linaro.org This function will be needed for AArch32 ARMv8 support, so move it to helper.c where it can be used by both targets. Also moves the code out of line, but as it is quite a large function I don't believe this should be a significant performance impact.

[Qemu-devel] [PULL 07/38] target-arm: A64: Add SIMD across-lanes instructions

2014-01-29 Thread Peter Maydell
From: Michael Matz m...@suse.de Add support for the SIMD across lanes instruction group (C3.6.4). Signed-off-by: Michael Matz m...@suse.de [PMM: Updated to current codebase, added fp min/max ops, added unallocated encoding checks] Signed-off-by: Peter Maydell peter.mayd...@linaro.org

[Qemu-devel] [PULL 28/38] target-arm: A64: Add top level decode for SIMD 3-same group

2014-01-29 Thread Peter Maydell
Add top level decode for the A64 SIMD three regs same group (C3.6.16), splitting it into the pairwise, logical, float and integer subgroups. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Richard Henderson r...@twiddle.net --- target-arm/translate-a64.c | 45

[Qemu-devel] [PULL 25/38] target-arm: A64: Add SIMD three-different multiply accumulate insns

2014-01-29 Thread Peter Maydell
Add support for the multiply-accumulate instructions from the SIMD three-different instructions group (C3.6.15): * skeleton decode of unallocated encodings and split of the group into its three sub-parts * framework for handling the 64x64-128 widening subpart * implementation of the

[Qemu-devel] [PULL 18/38] target-arm: Add support for AArch32 FP VRINTZ

2014-01-29 Thread Peter Maydell
From: Will Newton will.new...@linaro.org Add support for the AArch32 floating-point VRINTZ instruction. Signed-off-by: Will Newton will.new...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- target-arm/translate.c | 16 1 file changed, 16 insertions(+)

[Qemu-devel] [PULL 05/38] target-arm: A64: Add SIMD TBL/TBLX

2014-01-29 Thread Peter Maydell
From: Michael Matz m...@suse.de Add support for the SIMD TBL/TBLX instructions (group C3.6.2). Signed-off-by: Michael Matz m...@suse.de [PMM: rewritten to do more of the decode in translate-a64.c, and to do only one 64 bit pass at a time in the helper] Signed-off-by: Peter Maydell

[Qemu-devel] [PULL 08/38] target-arm: A64: Add SIMD copy operations

2014-01-29 Thread Peter Maydell
From: Alex Bennée alex.ben...@linaro.org This adds support for the all the AdvSIMD vector copy operations (ARM ARM 3.6.5). Signed-off-by: Alex Bennée alex.ben...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Richard Henderson r...@twiddle.net ---

Re: [Qemu-devel] [PATCH 07/10] block: Reuse fail path from bdrv_open()

2014-01-29 Thread Kevin Wolf
Am 26.01.2014 um 20:02 hat Max Reitz geschrieben: The fail paths of bdrv_file_open() and bdrv_open() naturally exhibit similarities, thus it is possible to reuse the one from bdrv_open() and shorten the one in bdrv_file_open() accordingly. Signed-off-by: Max Reitz mre...@redhat.com I find

[Qemu-devel] [PULL 02/38] target-arm: A64: Add SIMD ld/st single

2014-01-29 Thread Peter Maydell
Implement the SIMD ld/st single structure instructions. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Richard Henderson r...@twiddle.net --- target-arm/translate-a64.c | 144 - 1 file changed, 142 insertions(+), 2 deletions(-)

Re: [Qemu-devel] [PATCHv7 0/5] block: add native support for NFS

2014-01-29 Thread Stefan Hajnoczi
On Wed, Jan 29, 2014 at 09:50:20AM +0100, Peter Lieven wrote: This adds v6 of the NFS protocol driver + qemu-iotest adjustments. v6-v7: - removed unsused and partially non-existing libnfs header file includes [Stefan] - adjusted usage of qemu_opts_create_nofail [Stefan] - removed patch

[Qemu-devel] [PULL 03/38] target-arm: A64: Add decode skeleton for SIMD data processing insns

2014-01-29 Thread Peter Maydell
From: Alex Bennée alex.ben...@linaro.org Add decode skeleton and function placeholders for all the SIMD data processing instructions. Due to the complexity of this part of the table the normal extract and switch approach gets very messy very quickly, so we use a simple data-driven

Re: [Qemu-devel] [PATCH] qemu-iotests: Drop assert_no_active_commit in case 040

2014-01-29 Thread Stefan Hajnoczi
On Wed, Jan 29, 2014 at 06:47:23PM +0800, Fam Zheng wrote: It is exactly assert_no_active_block_jobs in iotests.py Signed-off-by: Fam Zheng f...@redhat.com --- tests/qemu-iotests/040 | 28 1 file changed, 12 insertions(+), 16 deletions(-) Thanks, applied to my

[Qemu-devel] [PULL 13/38] ZYNQ: Implement board MIDR control for Zynq

2014-01-29 Thread Peter Maydell
From: Alistair Francis alistair.fran...@xilinx.com This patch uses the fact that the midr variable is now a property This patch sets the midr variable to the boards custom midr Signed-off-by: Alistair Francis alistair.fran...@xilinx.com Message-id:

Re: [Qemu-devel] [PATCH v6 0/8] Vhost and vhost-net support for userspace based backends

2014-01-29 Thread Michael S. Tsirkin
On Wed, Jan 29, 2014 at 01:04:28PM +0100, Antonios Motakis wrote: Hello, On Mon, Jan 27, 2014 at 5:49 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Jan 27, 2014 at 05:37:02PM +0100, Antonios Motakis wrote: Hello again, On Wed, Jan 15, 2014 at 3:49 PM, Michael S. Tsirkin

[Qemu-devel] [PULL 26/38] target-arm: A64: Add SIMD three-different ABDL instructions

2014-01-29 Thread Peter Maydell
Implement the absolute-difference instructions in the SIMD three-different group: SABAL, SABAL2, UABAL, UABAL2, SABDL, SABDL2, UABDL, UABDL2. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Richard Henderson r...@twiddle.net --- target-arm/translate-a64.c | 35

Re: [Qemu-devel] [PATCH v8 07/13] dump: add members to DumpState and init some of them

2014-01-29 Thread Laszlo Ersek
On 01/28/14 07:22, qiaonuohan wrote: add some members to DumpState that will be used in writing vmcore in kdump-compressed format. some of them, like page_size, will be initialized in the patch. Signed-off-by: Qiao Nuohan qiaonuo...@cn.fujitsu.com --- dump.c| 28

Re: [Qemu-devel] [PATCH 1/4] qemu-io: New option -a to aio_read and aio_write

2014-01-29 Thread Stefan Hajnoczi
On Wed, Jan 29, 2014 at 04:40:40PM +0800, Fam Zheng wrote: @@ -1442,6 +1453,7 @@ static void aio_read_help(void) -P, -- use a pattern to verify read data\n -v, -- dump buffer to standard output\n -q, -- quiet mode, do not show I/O statistics\n + -a, -- account IO\n \n); } This is

Re: [Qemu-devel] [PATCH] monitor: Cleanup mon-outbuf on write error

2014-01-29 Thread Luiz Capitulino
On Wed, 29 Jan 2014 12:46:04 +0200 Stratos Psomadakis pso...@grnet.gr wrote: On 01/27/2014 12:30 PM, Stratos Psomadakis wrote: In case monitor_flush() fails to write the contents of mon-outbuf to the output device, mon-outbuf is not cleaned up properly. Check the return code of the

[Qemu-devel] [PULL 20/38] target-arm: Add support for AArch32 SIMD VRINTX

2014-01-29 Thread Peter Maydell
From: Will Newton will.new...@linaro.org Add support for the AArch32 Advanced SIMD VRINTX instruction. Signed-off-by: Will Newton will.new...@linaro.org Reviewed-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- target-arm/translate.c | 11

Re: [Qemu-devel] [PATCHv7 0/5] block: add native support for NFS

2014-01-29 Thread Peter Lieven
On 29.01.2014 14:59, Stefan Hajnoczi wrote: On Wed, Jan 29, 2014 at 09:50:20AM +0100, Peter Lieven wrote: This adds v6 of the NFS protocol driver + qemu-iotest adjustments. v6-v7: - removed unsused and partially non-existing libnfs header file includes [Stefan] - adjusted usage of

Re: [Qemu-devel] OSX guest support review

2014-01-29 Thread Alexander Graf
On 01/28/2014 05:45 PM, Gabriel L. Somlo wrote: On Tue, Jan 28, 2014 at 12:51:40AM +0100, Alexander Graf wrote: On 27.01.2014, at 23:51, Gabriel L. Somlo gso...@gmail.com wrote: - on Mavericks, the e1000 pci card doesn't work. In System Information, under Hardware, I get nothing

Re: [Qemu-devel] osx bootloader

2014-01-29 Thread Alexander Graf
On 01/29/2014 04:07 AM, Gabriel L. Somlo wrote: On Tue, Jan 28, 2014 at 11:51:25PM +0100, BALATON Zoltan wrote: Here are some pages that might help enlightening the boot process: https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/KernelProgramming/booting/booting.html

Re: [Qemu-devel] [PATCHv7 0/5] block: add native support for NFS

2014-01-29 Thread Peter Lieven
On 29.01.2014 14:59, Stefan Hajnoczi wrote: On Wed, Jan 29, 2014 at 09:50:20AM +0100, Peter Lieven wrote: This adds v6 of the NFS protocol driver + qemu-iotest adjustments. v6-v7: - removed unsused and partially non-existing libnfs header file includes [Stefan] - adjusted usage of

Re: [Qemu-devel] [PATCH 2/4] qemu-iotests: Add VM method qtest_cmd() to iotests.py

2014-01-29 Thread Stefan Hajnoczi
On Wed, Jan 29, 2014 at 04:40:41PM +0800, Fam Zheng wrote: This will allow test case to run command in qtest protocol. It's write-only for now. Signed-off-by: Fam Zheng f...@redhat.com --- tests/qemu-iotests/iotests.py | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff

Re: [Qemu-devel] [PATCH v8 08/13] dump: add API to write dump header

2014-01-29 Thread Laszlo Ersek
On 01/28/14 07:22, qiaonuohan wrote: the functions are used to write header of kdump-compressed format to vmcore. Header of kdump-compressed format includes: 1. common header: DiskDumpHeader32 / DiskDumpHeader64 2. sub header: KdumpSubHeader32 / KdumpSubHeader64 3. extra information: only elf

Re: [Qemu-devel] [PATCH 3/4] qemu-iotests: Allow caller to disable underscore convertion for qmp

2014-01-29 Thread Stefan Hajnoczi
On Wed, Jan 29, 2014 at 04:40:42PM +0800, Fam Zheng wrote: QMP command block_set_io_throttle expects underscores in parameters instead of dashes: {iops,bps}_{rd,wr,max}. Add optional argument conv_keys (defaults to True, backward compatible), it will be used in IO throttling test case.

Re: [Qemu-devel] [PATCHv7 0/5] block: add native support for NFS

2014-01-29 Thread Peter Lieven
On 29.01.2014 15:22, Peter Lieven wrote: On 29.01.2014 14:59, Stefan Hajnoczi wrote: On Wed, Jan 29, 2014 at 09:50:20AM +0100, Peter Lieven wrote: This adds v6 of the NFS protocol driver + qemu-iotest adjustments. v6-v7: - removed unsused and partially non-existing libnfs header file

[Qemu-devel] [RFC PATCH v0 1/2] gluster: Change licence to GPLv2+

2014-01-29 Thread Bharata B Rao
Pipe handling mechanism in gluster driver was based on similar implementation in RBD driver and hence had GPLv2 and associated copyright information. After changing gluster driver to coroutine based implementation, the pipe handling code no longer exists and hence change gluster driver's licence

[Qemu-devel] [RFC PATCH v0 0/2] gluster: licence change and cleanups

2014-01-29 Thread Bharata B Rao
Licence change of gluster driver from GPLv2 to GPLv2+ and some cleanups. Bharata B Rao (2): gluster: Change licence to GPLv2+ gluster: Remove unused defines and header include block/gluster.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) -- 1.7.11.7

  1   2   >