Re: [Qemu-devel] [2.4 PATCH v3 12/19] qmp: Add dirty bitmap status field in query-block

2015-03-16 Thread Max Reitz
On 2015-03-13 at 14:30, John Snow wrote: Add the frozen status booleans, to inform clients when a bitmap is occupied doing a task. Signed-off-by: Fam Zheng f...@redhat.com Signed-off-by: John Snow js...@redhat.com --- block.c | 1 + qapi/block-core.json | 5 - 2 files

[Qemu-devel] Question

2015-03-16 Thread Quique
Sorry but I am new to this. Is it too late to talk to some mentor for Google summer? Sorry for being late

Re: [Qemu-devel] lsi53c895a lsi_do_dma assertion failure

2015-03-16 Thread Chris Takemura
On 3/17/15, 2:21 AM, Paolo Bonzini pbonz...@redhat.com wrote: On 16/03/2015 16:59, Chris Takemura wrote: Hi everyone, We're using qemu as a device model for xen 4.4. Lately we've been having qemu crashes with this output: lsi_scsi: error: Unhandled writeb 0xff = 0x0 lsi_scsi: error:

Re: [Qemu-devel] [PATCH] vnc: Fix QMP change not to use funky error class

2015-03-16 Thread Fam Zheng
On Fri, 03/13 17:56, Peter Maydell wrote: On 13 March 2015 at 17:50, Patchew Tool patchew.t...@gmail.com wrote: This series passed Patchew automatic testing, but there are some warnings. Find the log fragments below, or open the following URL to see the full log:

Re: [Qemu-devel] [PULL 07/11] save_block_hdr: we can recalculate the cont parameter here

2015-03-16 Thread Li, Liang Z
Hi Juan This patch will make my work more difficult, as we discussed before, after modification, I have to use a lock before I can reuse the function save_block_hdr in my compression threads, this will lead to low efficiency. Could help to revert this patch? Liang -Original

Re: [Qemu-devel] [PATCH v6 07/15] spapr_rtas: add ibm, configure-connector RTAS interface

2015-03-16 Thread Michael Roth
Quoting David Gibson (2015-03-12 00:52:10) On Thu, Mar 05, 2015 at 08:12:58AM -0600, Michael Roth wrote: Quoting David Gibson (2015-03-04 22:30:40) On Wed, Mar 04, 2015 at 07:37:08AM -0600, Michael Roth wrote: Quoting Michael Roth (2015-03-03 23:50:34) Quoting David Gibson

Re: [Qemu-devel] [qemu] How to reliably obtain physaddr from vaddr

2015-03-16 Thread Emilio G. Cota
On Mon, Mar 16, 2015 at 22:23:24 +, Peter Maydell wrote: On 16 March 2015 at 20:08, Emilio G. Cota c...@braap.org wrote: I fail to see why calling tlb_fill() from the helper causes trouble. What I thought would happen is that the exception (if any) is started from the helper, gets

Re: [Qemu-devel] virtio fixes pull for 4.0?

2015-03-16 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: On Mon, Mar 09, 2015 at 05:43:19PM +1030, Rusty Russell wrote: I think it's a good idea to merge these patches (maybe except the !TASK_RUNNING thing) sooner rather than later, to make sure people have the time to test the fixes properly. Would you

Re: [Qemu-devel] [2.4 PATCH v3 01/19] docs: incremental backup documentation

2015-03-16 Thread Max Reitz
On 2015-03-13 at 14:30, John Snow wrote: Signed-off-by: John Snow js...@redhat.com --- docs/bitmaps.md | 311 1 file changed, 311 insertions(+) create mode 100644 docs/bitmaps.md Reviewed-by: Max Reitz mre...@redhat.com

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Programmingkid
On Mar 16, 2015, at 9:36 AM, Paolo Bonzini wrote: On 16/03/2015 14:35, Programmingkid wrote: On Mar 16, 2015, at 8:19 AM, Paolo Bonzini wrote: On 13/03/2015 21:43, Programmingkid wrote: How do you do that in a terminal? I'm not sure what exactly you're asking. I will say past Apple

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Daniel P. Berrange
On Fri, Mar 13, 2015 at 04:43:54PM -0400, Programmingkid wrote: On Mar 13, 2015, at 1:31 PM, Paolo Bonzini wrote: On 13/03/2015 15:48, Programmingkid wrote: On Mar 13, 2015, at 5:51 AM, Peter Maydell wrote: On 13 March 2015 at 04:35, Programmingkid programmingk...@gmail.com

Re: [Qemu-devel] [PATCH 05/25] nbd: Avoid generic -EINVAL

2015-03-16 Thread Max Reitz
On 2015-03-11 at 07:22, Paolo Bonzini wrote: On 25/02/2015 19:08, Max Reitz wrote: Just returning -EINVAL for everything is bad. -EIO is often better, and sometimes there is an even more fitting value. Propagating the return value from write_sync is uglier, but it is even better in terms of

Re: [Qemu-devel] [PATCH 07/25] nbd: Add failed to open export error message

2015-03-16 Thread Max Reitz
On 2015-03-11 at 07:24, Paolo Bonzini wrote: On 25/02/2015 19:08, Max Reitz wrote: In case the connection is closed before the export length can be read, and an export name had been specified, this generally indicates that for some reason the export could not be opened (e.g. there is no export

Re: [Qemu-devel] [PATCH 11/25] qemu-nbd: Fix and improve input verification

2015-03-16 Thread Max Reitz
On 2015-03-11 at 07:30, Paolo Bonzini wrote: On 25/02/2015 19:08, Max Reitz wrote: This patch makes sure the result of strtol() does not overflow (by storing it in long integers instead of plain integers, and by checking errno), allows the user to specify --discard on and --detect-zeroes unmap

[Qemu-devel] [PATCH 0/6] fw-cfg: documentation, cleanup, and proposed feature

2015-03-16 Thread Gabriel L. Somlo
Document and clean up fw_cfg; additionally, allow user-provided blobs to be inserted into fw_cfg via the qemu command line. Please consider applying 1-5; Patch 6/6 should be considered as just an RFC at this time, please let me know what you all think about it. Summary of patches in the series:

[Qemu-devel] [PATCH 4/6] fw_cfg: exit with error when dupe fw_cfg file name inserted

2015-03-16 Thread Gabriel L. Somlo
Currently, when fw_cfg_add_file_callback() is invoked with a duplicate file name, it gets to insert the data blob at the next available selector, but exit (signalling the error via a call to the trace_fw_cfg_add_file_dupe() function) before incrementing the next available selector as soon as it

Re: [Qemu-devel] [PULL 02/11] Add migrate_incoming

2015-03-16 Thread Eric Blake
On 03/16/2015 07:41 AM, Juan Quintela wrote: From: Dr. David Alan Gilbert dgilb...@redhat.com Add migrate_incoming/migrate-incoming to start an incoming migration. Once a qemu has been started with -incoming defer the migration can be started by issuing: migrate_incoming uri

Re: [Qemu-devel] [Qemu-ppc] [PATCH 2/3] VFIO: Clear INTx pending state on EEH reset

2015-03-16 Thread Gavin Shan
On Mon, Mar 16, 2015 at 03:05:32PM +1100, Benjamin Herrenschmidt wrote: On Mon, 2015-03-16 at 12:04 +1100, Gavin Shan wrote: (2) QEMU sends IOCTL commands to host to disable MSIx and enable INTx. At this stage the INTx is still masked. At later point, the guest is requesting unmasking INTx,

Re: [Qemu-devel] [PATCH 3/3] ui: fix VNC websockets TLS integration

2015-03-16 Thread Alex Bennée
Daniel P. Berrange berra...@redhat.com writes: The way the websockets TLS code was integrated into the VNC server made it insecure and essentially useless. The only time that the websockets TLS support could be used is if the primary VNC server snip With this patch applied a number of

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Paolo Bonzini
On 16/03/2015 14:35, Programmingkid wrote: On Mar 16, 2015, at 8:19 AM, Paolo Bonzini wrote: On 13/03/2015 21:43, Programmingkid wrote: How do you do that in a terminal? I'm not sure what exactly you're asking. I will say past Apple laptop did have the ability to page up or down by using

[Qemu-devel] [PULL 02/11] Add migrate_incoming

2015-03-16 Thread Juan Quintela
From: Dr. David Alan Gilbert dgilb...@redhat.com Add migrate_incoming/migrate-incoming to start an incoming migration. Once a qemu has been started with -incoming defer the migration can be started by issuing: migrate_incoming uri Signed-off-by: Dr. David Alan Gilbert

[Qemu-devel] [PULL 05/11] ram_save_page: change calling covention

2015-03-16 Thread Juan Quintela
Add a parameter to pass the number of bytes written, and make it return the number of pages written instead. Signed-off-by: Juan Quintela quint...@redhat.com --- arch_init.c | 57 ++--- 1 file changed, 38 insertions(+), 19 deletions(-) diff

Re: [Qemu-devel] [RESEND PATCH v4 2/6] acpi, mem-hotplug: Add unplug request cb for memory device

2015-03-16 Thread Igor Mammedov
On Mon, 16 Mar 2015 16:58:14 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: From: Tang Chen tangc...@cn.fujitsu.com Memory hot unplug are both asynchronous procedures. When the unplug operation happens, unplug request cb is called first. And when guest OS finished handling unplug, unplug

[Qemu-devel] [PATCH 3/6] fw_cfg: assertion to detect memory leak when adding new data blob

2015-03-16 Thread Gabriel L. Somlo
Currently, fw_cfg_add_bytes_read_callback() does not deal with the possibility that the data pointer at the requested key position has previously been set, and assumes it will be called exactly once for each key value. This patch introduces an assertion to codify this assumption, and insure the

[Qemu-devel] [PATCH 2/6] fw_cfg: remove support for guest-side data writes

2015-03-16 Thread Gabriel L. Somlo
The fw_cfg device allowed guest-side data writes to overwrite the selected entry in place, without allowing modification to the size of the entry, and with the ability to invoke a callback each time the entry was overwritten completely. To date, we are not aware of any use case which relies on

Re: [Qemu-devel] [PATCH 3/3] ui: fix VNC websockets TLS integration

2015-03-16 Thread Daniel P. Berrange
On Mon, Mar 16, 2015 at 01:17:16PM +, Alex Bennée wrote: Daniel P. Berrange berra...@redhat.com writes: The way the websockets TLS code was integrated into the VNC server made it insecure and essentially useless. The only time that the websockets TLS support could be used is if the

[Qemu-devel] [PULL 01/11] Add -incoming defer

2015-03-16 Thread Juan Quintela
From: Dr. David Alan Gilbert dgilb...@redhat.com -incoming defer causes qemu to wait for an incoming migration to be specified later. The monitor can be used to set migration capabilities that may affect the incoming connection process. Signed-off-by: Dr. David Alan Gilbert dgilb...@redhat.com

Re: [Qemu-devel] [RESEND PATCH v4 1/6] acpi, mem-hotplug: Add acpi_memory_slot_status() to get MemStatus

2015-03-16 Thread Michael S. Tsirkin
On Mon, Mar 16, 2015 at 04:58:13PM +0800, Zhu Guihua wrote: From: Tang Chen tangc...@cn.fujitsu.com Add a new API named acpi_memory_slot_status() to obtain a single memory slot status. Doing this is because this procedure will be used by other functions in the next coming patches.

Re: [Qemu-devel] [PATCH 20/25] block/nbd: Comment on discard/flush silently failing

2015-03-16 Thread Max Reitz
On 2015-03-11 at 07:31, Paolo Bonzini wrote: On 25/02/2015 19:08, Max Reitz wrote: If some operation cannot be performed by a block driver, it is normally supposed to return an error. In these cases, however, it is fine to pretend the operations were carried out successfully because if the NBD

Re: [Qemu-devel] [PATCH v5 5/7] vfio-pci: pass the aer error to guest

2015-03-16 Thread Alex Williamson
On Mon, 2015-03-16 at 15:35 +0800, Chen Fan wrote: On 03/16/2015 11:52 AM, Alex Williamson wrote: On Mon, 2015-03-16 at 11:05 +0800, Chen Fan wrote: On 03/14/2015 06:34 AM, Alex Williamson wrote: On Thu, 2015-03-12 at 18:23 +0800, Chen Fan wrote: when the vfio device encounters an

Re: [Qemu-devel] [PATCH] acpi: add acpi_send_gpe_event() to rise sci for hotplug

2015-03-16 Thread Michael S. Tsirkin
On Mon, Mar 16, 2015 at 05:39:44PM +0800, Zhu Guihua wrote: Add a new API named acpi_send_gpe_event() to send hotplug SCI. This API can be used by pci, cpu and memory hotplug. Signed-off-by: Zhu Guihua zhugh.f...@cn.fujitsu.com Good cleanup, but needs to fix up the coding style. ---

[Qemu-devel] [PATCH 3/6] hw/9pfs/virtio-9p-posix-acl: Fix out-of-bounds access

2015-03-16 Thread Aneesh Kumar K.V
From: Shannon Zhao zhaoshengl...@huawei.com It's detected by coverity. Fix out-of-bounds access of the function mp_dacl_listxattr. Signed-off-by: Shannon Zhao zhaoshengl...@huawei.com Signed-off-by: Shannon Zhao shannon.z...@linaro.org Signed-off-by: Aneesh Kumar K.V

[Qemu-devel] [PULL for-2.3 01/10] s390x: Replace unchecked qdev_init() by qdev_init_nofail()

2015-03-16 Thread Cornelia Huck
From: Markus Armbruster arm...@redhat.com s390_flic_init() is a helper to create and realize either s390-flic-kvm or s390-flic-qemu. When qdev_init() fails, it complains to stderr and succeeds. Except it can't actually fail, because the s390-flic-qemu is a dummy without a realize method, and

[Qemu-devel] [PULL for-2.3 10/10] s390x/config: Do not include full pci.mak

2015-03-16 Thread Cornelia Huck
From: Thomas Huth th...@linux.vnet.ibm.com pci.mak includes a lot of devices - and most of them do not make sense on s390x, like USB controllers or audio cards. These devices also show up when running qemu-system-s390x -device help and thus could raise the hope for the users that they could use

[Qemu-devel] [PATCH v4 5/5] target-arm: cpu.h document why env-spsr exists

2015-03-16 Thread Alex Bennée
I was getting very confused about the duplication of state so wanted to make it explicit. Signed-off-by: Alex Bennée alex.ben...@linaro.org diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 083211c..6dc1799 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -155,6 +155,11 @@ typedef

Re: [Qemu-devel] [PATCH] linux-user: qemu treats TLS pointer in the wrong way when spicifying cpu cotrex-a15.

2015-03-16 Thread Mikhail Ilin
Here is a sample to prove the issue $ echo int main() { return 0; } /tmp/prog.c $ arm-linux-gnueabi-gcc -g -o /tmp/prog /tmp/prog.c $ qemu-arm -cpu cortex-a15 -L /home/michail/arm/arm-linux-gnueabi/sys-root /tmp/prog qemu: uncaught target signal 11 (Segmentation fault) - core dumped

[Qemu-devel] [PATCH target-arm v3 05/15] arm: xlnx-zynqmp: Connect CPU Timers to GIC

2015-03-16 Thread Peter Crosthwaite
Connect the GPIO outputs from the individual CPUs for the timers to the GIC. Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- hw/arm/xlnx-zynqmp.c | 16 1 file changed, 16 insertions(+) diff --git a/hw/arm/xlnx-zynqmp.c b/hw/arm/xlnx-zynqmp.c index

[Qemu-devel] [PATCH target-arm v3 07/15] net: cadence_gem: Split state struct and type into header

2015-03-16 Thread Peter Crosthwaite
To allow using the device with modern SoC programming conventions. The state struct needs to be visible to embed the device in SoC containers. Reviewed-by: Alistair Francis alistair.fran...@xilinx.com Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- changed since v1: Fix /*

[Qemu-devel] [PATCH target-arm v3 10/15] char: cadence_uart: Split state struct and type into header

2015-03-16 Thread Peter Crosthwaite
To allow using the device with modern SoC programming conventions. The state struct needs to be visible to embed the device in SoC containers. Reviewed-by: Alistair Francis alistair.fran...@xilinx.com Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- changed since v1: Fix /*

[Qemu-devel] [PATCH 2/3] ui: replace printf() calls with VNC_DEBUG

2015-03-16 Thread Daniel P. Berrange
Handling of VNC audio messages results in printfs to the console. This is of no use to anyone in production, so should be using the normal VNC_DEBUG macro instead. Signed-off-by: Daniel P. Berrange berra...@redhat.com --- ui/vnc.c | 12 ++-- 1 file changed, 6 insertions(+), 6

[Qemu-devel] [PATCH 1/3] ui: remove unused 'wiremode' variable in VncState struct

2015-03-16 Thread Daniel P. Berrange
Signed-off-by: Daniel P. Berrange berra...@redhat.com --- ui/vnc-auth-vencrypt.c | 1 - ui/vnc-tls.c | 2 -- ui/vnc-tls.h | 7 --- ui/vnc-ws.c| 1 - 4 files changed, 11 deletions(-) diff --git a/ui/vnc-auth-vencrypt.c b/ui/vnc-auth-vencrypt.c index

[Qemu-devel] [PULL 2/7] target-arm: fix get_phys_addr_v6/SCTLR_AFE access check

2015-03-16 Thread Peter Maydell
From: Andrew Jones drjo...@redhat.com Introduce simple_ap_to_rw_prot(), which has the same behavior as ap_to_rw_prot(), but takes the 2-bit simple AP[2:1] instead of the 3-bit AP[2:0]. Use this in get_phys_addr_v6 when SCTLR_AFE is set, as that bit indicates we should be using the simple AP

Re: [Qemu-devel] [PATCH 1/3] ui: remove unused 'wiremode' variable in VncState struct

2015-03-16 Thread Alex Bennée
Daniel P. Berrange berra...@redhat.com writes: Signed-off-by: Daniel P. Berrange berra...@redhat.com Reviewed-by: Alex Bennée alex.ben...@linaro.org --- ui/vnc-auth-vencrypt.c | 1 - ui/vnc-tls.c | 2 -- ui/vnc-tls.h | 7 --- ui/vnc-ws.c| 1 - 4 files

[Qemu-devel] [PULL 08/11] rename save_block_hdr to save_page_header

2015-03-16 Thread Juan Quintela
It has always been a page header, not a block header. Once there, the flag argument was only passed to make a bit or with it, just do the or on the caller. Signed-off-by: Juan Quintela quint...@redhat.com --- arch_init.c | 27 +++ 1 file changed, 19 insertions(+), 8

[Qemu-devel] [PULL 00/11] Migration pull request

2015-03-16 Thread Juan Quintela
The following changes since commit 2dfe7d07e2f40adb18a0b0cd286f3d327692d0fc: Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20150316' into staging (2015-03-16 11:44:55 +) are available in the git repository at: git://github.com/juanquintela/qemu.git tags/migration/20150316

Re: [Qemu-devel] [RESEND PATCH v4 5/6] pc-dimm: Add memory hot unplug support for pc-dimm

2015-03-16 Thread Igor Mammedov
On Mon, 16 Mar 2015 16:58:17 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: From: Tang Chen tangc...@cn.fujitsu.com Implement unplug cb for pc-dimm. It calls memory unplug cb to reset some memory status, removes the corresponding memory region, and unregisters vmstate. Signed-off-by:

Re: [Qemu-devel] [PATCH RFC v1 1/2] xen/hw/passthrough: Use errno instead of ret for xc_physdev_map_* calls

2015-03-16 Thread Konrad Rzeszutek Wilk
On Mon, Mar 16, 2015 at 10:13:50AM +, Stefano Stabellini wrote: On Fri, 13 Mar 2015, Konrad Rzeszutek Wilk wrote: As the libxc library follows (mostly) the return negative for failure and stashes the error value in errno. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Programmingkid
On Mar 16, 2015, at 8:19 AM, Paolo Bonzini wrote: On 13/03/2015 21:43, Programmingkid wrote: How do you do that in a terminal? I'm not sure what exactly you're asking. I will say past Apple laptop did have the ability to page up or down by using the function key + the up or down arrow

[Qemu-devel] [PULL 04/11] ram_find_and_save_block: change calling convention

2015-03-16 Thread Juan Quintela
Add a parameter to pass the number of bytes written, and make it return the number of pages written instead. Signed-off-by: Juan Quintela quint...@redhat.com --- arch_init.c | 45 +++-- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git

[Qemu-devel] [PULL 11/11] pc: Disable vmdesc submission for old machines

2015-03-16 Thread Juan Quintela
From: Alexander Graf ag...@suse.de Older PC machine types might by accident be backwards live migration compatible, but with the new vmdesc self-describing blob in our live migration stream we would break that compatibility. Also users wouldn't expect massive behaviorial differences when

[Qemu-devel] [PULL 03/11] ram: make all save_page functions take a uint64_t parameter

2015-03-16 Thread Juan Quintela
It used to be an int, but then we can't pass directly the bytes_transferred parameter, that would happen later in the series. Signed-off-by: Juan Quintela quint...@redhat.com Reviewed-by: Amit Shah amit.s...@redhat.com --- arch_init.c | 11 ---

[Qemu-devel] [PULL 07/11] save_block_hdr: we can recalculate the cont parameter here

2015-03-16 Thread Juan Quintela
No need to pass it through all the callers. Once there, update last_sent_block here. Signed-off-by: Juan Quintela quint...@redhat.com --- arch_init.c | 47 --- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/arch_init.c b/arch_init.c

Re: [Qemu-devel] [PULL] VirtFS update

2015-03-16 Thread Peter Maydell
On 16 March 2015 at 10:09, Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com wrote: Hi, Please pull the below update for VirtFS The following changes since commit ee74801035b0b5f1fdfd4e31d3a53f511f91c804: Merge remote-tracking branch 'remotes/lalrae/tags/mips-20150311' into staging

Re: [Qemu-devel] [RESEND PATCH v4 3/6] pc-dimm: Add memory hot unplug request support for pc-dimm

2015-03-16 Thread Igor Mammedov
On Mon, 16 Mar 2015 16:58:15 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: From: Tang Chen tangc...@cn.fujitsu.com Implement memory unplug request cb for pc-dimm, and call it in pc_machine_device_unplug_request_cb(). Please, merge this patch with 2/6. Signed-off-by: Tang Chen

Re: [Qemu-devel] [RESEND PATCH v4 4/6] acpi, mem-hotplug: Add unplug cb for memory device

2015-03-16 Thread Igor Mammedov
On Mon, 16 Mar 2015 16:58:16 +0800 Zhu Guihua zhugh.f...@cn.fujitsu.com wrote: From: Tang Chen tangc...@cn.fujitsu.com This patch adds unplug cb for memory device. It resets some memory status in acpi_memory_unplug_cb(). 'some' is quite vague. Pls, explain what it does in commit message.

[Qemu-devel] [PATCH 5/6] fw_cfg: insert fw_cfg file blobs via qemu cmdline

2015-03-16 Thread Gabriel L. Somlo
Allow user supplied files to be inserted into the fw_cfg device before starting the guest. Since fw_cfg_add_file() already disallows duplicate fw_cfg file names, qemu will exit with an error message if the user supplies multiple blobs with the same fw_cfg file name, or if a blob name collides with

Re: [Qemu-devel] [PATCH 0/6] fw-cfg: documentation, cleanup, and proposed feature

2015-03-16 Thread Patchew Tool
This series passed Patchew automatic testing, but there are some warnings. Find the log fragments below, or open the following URL to see the full log: http://qemu.patchew.org/testing/log/1426515305-17766-1-git-send-email-so...@cmu.edu --8- docker run --net=none -v

Re: [Qemu-devel] [PATCH v2 03/37] hw/block/fdc: Implement tray status

2015-03-16 Thread Max Reitz
On 2015-03-05 at 05:11, Kevin Wolf wrote: Am 04.03.2015 um 23:06 hat Max Reitz geschrieben: On 2015-03-04 at 09:00, Kevin Wolf wrote: Am 09.02.2015 um 18:11 hat Max Reitz geschrieben: The tray of an FDD is open iff there is no medium inserted (there are only two states for an FDD: medium

[Qemu-devel] [PULL 10/11] migration: Allow to suppress vmdesc submission

2015-03-16 Thread Juan Quintela
From: Alexander Graf ag...@suse.de We now always send a JSON blob describing the migration file format as part of the migration stream. However, some tools built around QEMU have proven to stumble over this. This patch gives the user the chance to disable said self-describing part of the

[Qemu-devel] [PULL 06/11] save_xbzrle_page: change calling convention

2015-03-16 Thread Juan Quintela
Add a parameter to pass the number of bytes written, and make it return the number of pages written instead. Signed-off-by: Juan Quintela quint...@redhat.com --- arch_init.c | 44 +--- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git

[Qemu-devel] [PULL 09/11] migration: Read JSON VM description on incoming migration

2015-03-16 Thread Juan Quintela
From: Alexander Graf ag...@suse.de One of the really nice things about the VM description format is that it goes over the wire when live migration is happening. Unfortunately QEMU today closes any socket once it sees VM_EOF coming, so we never give the VMDESC the chance to actually land on the

Re: [Qemu-devel] [PATCH] ui/cocoa.m: Give laptop users ability to scroll in monitor

2015-03-16 Thread Peter Maydell
On 16 March 2015 at 13:48, Daniel P. Berrange berra...@redhat.com wrote: The docs[1] still refer to fn+up/down as the way to achieve page up/down, so perhaps your install has simply lost the shortcut mappings ? Works for me on a 2011 MacBook Air running Mavericks, anyway. (Terminal is not

[Qemu-devel] [PATCH 6/6] qga: RFC: guest-side retrieval of fw_cfg file

2015-03-16 Thread Gabriel L. Somlo
Add -g (--get-fwcfg) client-mode option to qemu-ga, causing the named fw_cfg file to be retrieved and written to stdout. Signed-off-by: Gabriel Somlo so...@cmu.edu --- First off, I have NOT forgotten the suggestion to make this a standalone binary, and will do so when I submit it for real. It's

[Qemu-devel] [PATCH 1/6] fw_cfg: add documentation file (docs/specs/fw_cfg.txt)

2015-03-16 Thread Gabriel L. Somlo
This document covers the generic portions of fw_cfg as well as the x86/x86-64 architecture specific components. Signed-off-by: Jordan Justen jordan.l.jus...@intel.com Signed-off-by: Gabriel Somlo so...@cmu.edu --- This is a resubmission of Jordan's patch from back when:

Re: [Qemu-devel] [RFC v3] monitor: add memory search commands s, sp

2015-03-16 Thread Patchew Tool
This series failed Patchew automatic testing. Find the log fragments below (grepped lines around keywords error and warning), or open the following URL to see the full log: http://qemu.patchew.org/testing/log/1426501911-1402-1-git-send-email-hw.clau...@gmail.com --8- CC

[Qemu-devel] [PATCH target-arm v3 03/15] arm: Introduce Xilinx ZynqMP SoC

2015-03-16 Thread Peter Crosthwaite
With quad Cortex-A53 CPUs. Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- changed since v2: Added [*] to cpu child property name. changed since v1: Add error_abort to CPU child adder call. default-configs/aarch64-softmmu.mak | 2 +- hw/arm/Makefile.objs| 1 +

[Qemu-devel] [PATCH target-arm v3 00/15] Next Generation Xilinx Zynq SoC

2015-03-16 Thread Peter Crosthwaite
Hi Peter and all, Xilinx's next gen SoC has been announced. This series adds a SoC and board. Series start with addition of ARM cortex A53 support (P1 and P2). The Soc skeleton is then added with GIC, EMACs and UARTs are added. The pre-existing models for GEM and UART are not SoC friendly (no

[Qemu-devel] [PATCH target-arm v3 02/15] target-arm: cpu64: Add support for cortex-a53

2015-03-16 Thread Peter Crosthwaite
Similar to a53, but with different L1 I cache policy, phys addr size and different cache geometries. The cache sizes is implementation configurable, but use these values (from Xilinx MPSoC) as a default until cache size configurability is added. Reviewed-by: Alex Bennée alex.ben...@linaro.org

[Qemu-devel] [PATCH target-arm v3 15/15] arm: xlnx-zynqmp: Add PSCI setup

2015-03-16 Thread Peter Crosthwaite
Use SMC PSCI, with the standard policy of secondaries starting in power-off. Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- changed since v1: Add error_abort to property setter calls hw/arm/xlnx-zynqmp.c | 8 1 file changed, 8 insertions(+) diff --git

Re: [Qemu-devel] [PULL 0/6] Use tcg_malloc more; tcg_cond_always fix

2015-03-16 Thread Peter Maydell
On 13 March 2015 at 20:23, Richard Henderson r...@twiddle.net wrote: I should have sent the pull somewhat before now, I imagine, but if there's still room in the schedule before the rc0 hardfreeze I'd like to clear my backlog of 5-6 patchsets which all depend on this. Well, we can probably

Re: [Qemu-devel] [PATCH] elf-loader: Add missing error handling for call of lseek

2015-03-16 Thread Thomas Huth
On Sat, 14 Mar 2015 16:42:01 +0100 Stefan Weil s...@weilnetz.de wrote: This fixes a warning from Coverity. Signed-off-by: Stefan Weil s...@weilnetz.de --- include/hw/elf_ops.h |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/hw/elf_ops.h

[Qemu-devel] [PATCH 5/6] virtfs-proxy: Fix possible overflow

2015-03-16 Thread Aneesh Kumar K.V
From: Shannon Zhao zhaoshengl...@huawei.com It's detected by coverity. The socket name specified should fit in the sockadd_un.sun_path. If not abort. Signed-off-by: Shannon Zhao zhaoshengl...@huawei.com Signed-off-by: Shannon Zhao shannon.z...@linaro.org Signed-off-by: Aneesh Kumar K.V

Re: [Qemu-devel] [PATCH v4 3/5] exec: Protect map_client_list with mutex

2015-03-16 Thread Paolo Bonzini
On 16/03/2015 10:03, Fam Zheng wrote: +void cpu_exec_init_all(void) +{ +#if !defined(CONFIG_USER_ONLY) +qemu_mutex_init(ram_list.mutex); +memory_map_init(); +io_mem_init(); +#endif The #if is now unnecessary, but I can fix this. I'll queue the patch for 2.4. Paolo +

[Qemu-devel] [PULL for-2.3 06/10] s390x: CPACF: Handle key wrap machine options

2015-03-16 Thread Cornelia Huck
From: Tony Krowiak akrow...@linux.vnet.ibm.com Check for the aes_key_wrap and dea_key_wrap machine options and set the appropriate KVM device attribute(s) to tell the kernel to enable or disable the AES/DEA protected key functions for the guest domain. This patch introduces two new machine

[Qemu-devel] [RFC v3] monitor: add memory search commands s, sp

2015-03-16 Thread hw . claudio
From: Claudio Fontana claudio.font...@huawei.com usage is similar to the commands x, xp. Example with string: looking for ELF header in memory: (qemu) s/100cb 0x40001000 ELF searching memory area [40001000-400f5240] 40090001 (qemu) x/20b 0x4009 4009:

Re: [Qemu-devel] [PULL 0/6] Use tcg_malloc more; tcg_cond_always fix

2015-03-16 Thread Peter Maydell
On 13 March 2015 at 20:23, Richard Henderson r...@twiddle.net wrote: I should have sent the pull somewhat before now, I imagine, but if there's still room in the schedule before the rc0 hardfreeze I'd like to clear my backlog of 5-6 patchsets which all depend on this. r~ The following

[Qemu-devel] [PATCH v4 4/5] target-arm: kvm64 fix save/restore of SPSR regs

2015-03-16 Thread Alex Bennée
From: Christoffer Dall christoffer.d...@linaro.org The current code was negatively indexing the cpu state array and not synchronizing banked spsr register state with the current mode's spsr state, causing occasional failures with migration. Some munging is done to take care of the aarch64

Re: [Qemu-devel] [PATCH 2/3] ui: replace printf() calls with VNC_DEBUG

2015-03-16 Thread Alex Bennée
Daniel P. Berrange berra...@redhat.com writes: Handling of VNC audio messages results in printfs to the console. This is of no use to anyone in production, so should be using the normal VNC_DEBUG macro instead. Signed-off-by: Daniel P. Berrange berra...@redhat.com Reviewed-by: Alex Bennée

[Qemu-devel] [PULL for-2.3 05/10] s390x/kvm: make use of generic vm attribute check

2015-03-16 Thread Cornelia Huck
From: Dominik Dingel din...@linux.vnet.ibm.com By using the new introduced generic interface we can remove redundancies and clean up. Reviewed-by: Thomas Huth th...@linux.vnet.ibm.com Suggested-by: Thomas Huth th...@linux.vnet.ibm.com Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com

Re: [Qemu-devel] [PATCH 1/2] Revert target-i386: Disable HLE and RTM on Haswell Broadwell

2015-03-16 Thread Daniel P. Berrange
On Fri, Mar 13, 2015 at 04:09:56PM -0300, Eduardo Habkost wrote: This reverts commit 13704e4c455770d500d6b87b117e32f0d01252c9. With the Intel microcode update that removed HLE and RTM, there will be different kinds of Haswell and Broadwell CPUs out there: some that still have the HLE and RTM

[Qemu-devel] [PATCH v4 2/5] hw/intc: arm_gic_kvm.c restore config first

2015-03-16 Thread Alex Bennée
As there is logic to deal with the difference between edge and level triggered interrupts in the kernel we must ensure it knows the configuration of the IRQs before we restore the pending state. Signed-off-by: Alex Bennée alex.ben...@linaro.org Acked-by: Christoffer Dall

[Qemu-devel] [PATCH v4 0/5] QEMU ARM64 Migration Fixes

2015-03-16 Thread Alex Bennée
This is hopefully the final update to the series. I've skipped v3 for the purposes of having a sane relationship to the branch name ;-) v4 - Dropped the pl011 IRQ fiddling patch - Save/Restore MP STATE - moved into kvm.c - changed MP_STATE to STOPPED - Sync FP State - Removed

[Qemu-devel] [PATCH v4 3/5] target-arm: kvm64 sync FP register state

2015-03-16 Thread Alex Bennée
For migration to work we need to sync all of the register state. This is especially noticeable when GCC starts using FP registers as spill registers even with integer programs. Signed-off-by: Alex Bennée alex.ben...@linaro.org --- v4: - fixed merge conflicts - rm superfluous reg.id++ diff

[Qemu-devel] [PATCH v4 1/5] target-arm: kvm: save/restore mp state

2015-03-16 Thread Alex Bennée
This adds the saving and restore of the current Multi-Processing state of the machine. While the KVM_GET/SET_MP_STATE API exposes a number of potential states for x86 we only use two for ARM. Either the process is running or not. We then save this state into the cpu_powered TCG state to avoid

Re: [Qemu-devel] [PATCH 0/2] Unbreak qemu-img error messages and iotests

2015-03-16 Thread Kevin Wolf
Am 14.03.2015 um 10:23 hat Markus Armbruster geschrieben: check -T -qcow2 now passes again. Sorry for the mess I made. Markus Armbruster (2): iotests: Update 051's reference output qemu-img: Fix convert, amend error messages for unknown options Thanks, applied to the block branch.

Re: [Qemu-devel] [PATCH] linux-user: qemu treats TLS pointer in the wrong way when spicifying cpu cotrex-a15.

2015-03-16 Thread Peter Maydell
On 16 March 2015 at 11:26, Mikhail Ilyin m.i...@samsung.com wrote: From: Mikhail Ilyin m.i...@samsung.com At present there are two copies of TPIDRURO register for secure and unsecure access. TLS is set via a system call __ARM_NR_set_tls and its handler (cpu_set_tls) always assigns a provided

[Qemu-devel] [PATCH target-arm v3 09/15] char: cadence_uart: Clean up variable names

2015-03-16 Thread Peter Crosthwaite
In preparation for migrating the state struct and type cast macro to a public header. The acronym UART on it's own is not specific enough to be used in a more global namespace so preface with cadence. Fix the capitalisation of uart in the state type while touching the typename. Preface macros used

[Qemu-devel] [PULL 4/7] hw/intc/arm_gic: Initialize the vgic in the realize function

2015-03-16 Thread Peter Maydell
From: Eric Auger eric.au...@linaro.org This patch forces vgic initialization in the vgic realize function. It uses a new group/attribute that allows such operation: KVM_DEV_ARM_VGIC_GRP_CTRL/KVM_DEV_ARM_VGIC_CTRL_INIT This earlier initialization allows, for example, to setup VFIO signaling and

[Qemu-devel] [PATCH] acpi: add acpi_send_gpe_event() to rise sci for hotplug

2015-03-16 Thread Zhu Guihua
Add a new API named acpi_send_gpe_event() to send hotplug SCI. This API can be used by pci, cpu and memory hotplug. Signed-off-by: Zhu Guihua zhugh.f...@cn.fujitsu.com --- hw/acpi/core.c | 7 +++ hw/acpi/cpu_hotplug.c| 3 +-- hw/acpi/memory_hotplug.c |

[Qemu-devel] [PATCH 6/6] virtio: Fix memory leaks reported by Coverity

2015-03-16 Thread Aneesh Kumar K.V
From: Stefan Weil s...@weilnetz.de All four leaks are similar, so fix them in one patch. Success path was not doing memory free. Signed-off-by: Stefan Weil s...@weilnetz.de Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com --- hw/9pfs/virtio-9p-local.c | 28

[Qemu-devel] [PULL] VirtFS update

2015-03-16 Thread Aneesh Kumar K.V
Hi, Please pull the below update for VirtFS The following changes since commit ee74801035b0b5f1fdfd4e31d3a53f511f91c804: Merge remote-tracking branch 'remotes/lalrae/tags/mips-20150311' into staging (2015-03-11 18:22:15 +) are available in the git repository at:

[Qemu-devel] [PATCH 4/6] fsdev/virtfs-proxy-helper: Fix improper use of negative value

2015-03-16 Thread Aneesh Kumar K.V
From: Shannon Zhao zhaoshengl...@huawei.com It's detected by coverity. Check the return value of proxy_marshal. Signed-off-by: Shannon Zhao zhaoshengl...@huawei.com Signed-off-by: Shannon Zhao shannon.z...@linaro.org Signed-off-by: Aneesh Kumar K.V aneesh.ku...@linux.vnet.ibm.com ---

Re: [Qemu-devel] [PATCH 2/2] target-i386: Haswell-noTSX and Broadwell-noTSX

2015-03-16 Thread Daniel P. Berrange
On Fri, Mar 13, 2015 at 04:09:57PM -0300, Eduardo Habkost wrote: With the Intel microcode update that removed HLE and RTM, there will be different kinds of Haswell and Broadwell CPUs out there: some that still have the HLE and RTM features, and some that don't have the HLE and RTM features. On

[Qemu-devel] [PULL for-2.3 04/10] kvm: encapsulate HAS_DEVICE for vm attrs

2015-03-16 Thread Cornelia Huck
From: Dominik Dingel din...@linux.vnet.ibm.com More and more virtual machine specifics between kvm and qemu will be transferred with vm attributes. So we encapsulate the common logic in a generic function. Additionally we need only to check during initialization if kvm supports virtual machine

[Qemu-devel] [PULL for-2.3 09/10] s390x/pci: fix length in sei_nt2 event

2015-03-16 Thread Cornelia Huck
From: Frank Blaschka blasc...@linux.vnet.ibm.com The sei_nt2 event must contain the length of the event. Signed-off-by: Frank Blaschka blasc...@linux.vnet.ibm.com Signed-off-by: Jens Freimann jf...@linux.vnet.ibm.com Message-Id: 1426164834-38648-7-git-send-email-jf...@linux.vnet.ibm.com

Re: [Qemu-devel] [PATCH v4 2/5] hw/intc: arm_gic_kvm.c restore config first

2015-03-16 Thread Christoffer Dall
On Mon, Mar 16, 2015 at 11:01:53AM +, Alex Bennée wrote: As there is logic to deal with the difference between edge and level triggered interrupts in the kernel we must ensure it knows the configuration of the IRQs before we restore the pending state. Signed-off-by: Alex Bennée

Re: [Qemu-devel] [PULL for-2.3 0/1] seabios: update to 1.8.1 stable release

2015-03-16 Thread Peter Maydell
tags/pull-seabios-1.8.1-20150316-1 for you to fetch changes up to 93f7c4f09f6957244d5af0a35309b8ad4ffb64ed: seabios: update to 1.8.1 stable release (2015-03-16 09:07:15 +0100) seabios: update to 1.8.1 stable release

[Qemu-devel] [PATCH target-arm v3 06/15] net: cadence_gem: Clean up variable names

2015-03-16 Thread Peter Crosthwaite
In preparation for migrating the state struct and type cast macro to a public header. The acronym GEM on it's own is not specific enough to be used in a more global namespace so preface with cadence. Fix the capitalisation of gem in the state type while touching the typename. Also preface the

[Qemu-devel] [PATCH target-arm v3 13/15] arm: xilinx-ep108: Add external RAM

2015-03-16 Thread Peter Crosthwaite
Zynq MPSoC supports external DDR RAM. Add a RAM at 0 to the model. Signed-off-by: Peter Crosthwaite peter.crosthwa...@xilinx.com --- changed since v1: Add ram size clamps and warnings hw/arm/xlnx-ep108.c | 21 + 1 file changed, 21 insertions(+) diff --git

[Qemu-devel] [PULL for-2.3 07/10] s390x/virtio-bus: Remove unused function s390_virtio_bus_console()

2015-03-16 Thread Cornelia Huck
From: Thomas Huth th...@linux.vnet.ibm.com The function s390_virtio_bus_console() is completely unused and thus can be removed safely. Signed-off-by: Thomas Huth th...@linux.vnet.ibm.com Reviewed-by: Jens Freimann jf...@linux.vnet.ibm.com Signed-off-by: Jens Freimann jf...@linux.vnet.ibm.com

  1   2   3   4   >