[Qemu-devel] [PATCH RESEND] migration: catch unknown flags in ram_load

2014-05-30 Thread Peter Lieven
if a saved vm has unknown flags in the memory data qemu currently simply ignores this flag and continues which yields in an unpredictable result. this patch catches all unknown flags and aborts the loading of the vm. CC: qemu-sta...@nongnu.org Signed-off-by: Peter Lieven p...@kamp.de

[Qemu-devel] [PATCHv3 RESEND] block: introduce BDRV_O_SEQUENTIAL

2014-05-30 Thread Peter Lieven
this patch introduces a new flag to indicate that we are going to sequentially read from a file and do not plan to reread/reuse the data after it has been read. The current use of this flag is to open the source(s) of a qemu-img convert process. If a protocol from block/raw-posix.c is used

[Qemu-devel] [patch 3/3] mc146818rtc: add rtc link to /machine (v2)

2014-05-30 Thread Marcelo Tosatti
v2: - fix changelog to mention machine not machines - remove TARGET_I386 ifdef - Add a link to rtc under /machine providing a stable location for management apps to query date field. {execute:qom-get,arguments:{path:/machine/rtc,property:date}} Suggested by Paolo

Re: [Qemu-devel] [patch 2/3] mc146818rtc: add rtc_reset_reinjection QMP command

2014-05-30 Thread Paolo Bonzini
Il 30/05/2014 22:11, mtosa...@redhat.com ha scritto: + +static QLIST_HEAD(, RTCState) rtc_devices = +QLIST_HEAD_INITIALIZER(rtc_devices); + +void qmp_rtc_reset_reinjection(Error **errp) +{ +RTCState *s; + +QLIST_FOREACH(s, rtc_devices, link) { +s-irq_coalesced = 0; +} +}

Re: [Qemu-devel] [patch 3/3] mc146818rtc: add rtc link to /machines

2014-05-30 Thread Paolo Bonzini
Il 30/05/2014 22:11, mtosa...@redhat.com ha scritto: Add a link to rtc under /machines providing a stable location for management apps to query date field. {execute:qom-get,arguments:{path:/machine/rtc,property:date} } Suggested by Paolo Bonzini. Signed-off-by: Marcelo Tosatti

Re: [Qemu-devel] [PATCH v3 4/8] qdev: add qdev_alias_all_properties()

2014-05-30 Thread Peter Crosthwaite
On Fri, May 30, 2014 at 9:17 PM, Stefan Hajnoczi stefa...@redhat.com wrote: The qdev_alias_all_properties() function creates QOM alias properties for each qdev property on a DeviceState. This is useful for parent objects that wish to forward property accesses to their children.

Re: [Qemu-devel] [patch 3/3] mc146818rtc: add rtc link to /machine (v2)

2014-05-30 Thread Eric Blake
On 05/30/2014 03:59 PM, Marcelo Tosatti wrote: Your subject line is harder than necessary. 'git am' would put the (v2) suffix into qemu.git (it only strips the [...] prefix). The proper way to generate a v2 is with 'git send-email -v2', which produces [PATCH v2] as the subject line prefix.

Re: [Qemu-devel] [PATCH 12/21] target-mips: add ALIGN, DALIGN, BITSWAP and DBITSWAP instructions

2014-05-30 Thread Aurelien Jarno
On Fri, May 30, 2014 at 03:47:50PM +0100, Leon Alrae wrote: From: Yongbok Kim yongbok@imgtec.com Signed-off-by: Yongbok Kim yongbok@imgtec.com Signed-off-by: Leon Alrae leon.al...@imgtec.com --- disas/mips.c|4 ++ target-mips/helper.h|2 +

Re: [Qemu-devel] [PATCH 11/21] target-mips: Status.UX/SX/KX enable 32-bit address wrapping

2014-05-30 Thread Aurelien Jarno
On Fri, May 30, 2014 at 03:47:49PM +0100, Leon Alrae wrote: In R6 the special behaviour for data references is also specified for Kernel and Supervisor mode. Therefore MIPS_HFLAG_UX is replaced by generic MIPS_HFLAG_X indicating whether 64-bit mode is enabled in current operating mode. I

Re: [Qemu-devel] [PATCH 10/21] target-mips: move CLO, DCLO, CLZ, DCLZ, SDBBP and free special2 in R6

2014-05-30 Thread Aurelien Jarno
On Fri, May 30, 2014 at 03:47:48PM +0100, Leon Alrae wrote: Also consider OPC_SPIM instruction as deleted in R6 because it is overlaping with MIPS32R6 SDBBP. Signed-off-by: Leon Alrae leon.al...@imgtec.com --- disas/mips.c|5 ++ target-mips/translate.c | 120

Re: [Qemu-devel] [PATCH 09/21] target-mips: redefine Integer Multiply and Divide instructions

2014-05-30 Thread Aurelien Jarno
On Fri, May 30, 2014 at 03:47:47PM +0100, Leon Alrae wrote: Use R6_ prefix in front of all new Multiply / Divide instructions for easier differentiation between R6 and preR6. Signed-off-by: Leon Alrae leon.al...@imgtec.com --- disas/mips.c| 16 ++ target-mips/translate.c |

[Qemu-devel] [Bug 1314857] Re: seg fault in ivshmem when using ioeventfd=on

2014-05-30 Thread Serge Hallyn
** Changed in: qemu-kvm (Ubuntu) Importance: Undecided = Medium ** Changed in: qemu-kvm (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1314857 Title: seg

[Qemu-devel] [Bug 1324724] Re: make install fails if running strip

2014-05-30 Thread Peter Chubb
The libexec case doesn't actually work, which is why IO switched to a separate variable. One of the reasons I said the patch is probably wrong. I suspect we need something like $(STRIP) $(addprefix $(DESTDIR)/$(BINDIR), $(notdir ${TOOLS))) And I didn't see the problem on x86_64, only on armhf.

[Qemu-devel] [PATCH] fix configure: duplicate/incorrect order of -lrt

2014-05-30 Thread Rick Liu
From 55a9abb88c53ace0791a01269ad0690c7ddcdcf7 Mon Sep 17 00:00:00 2001 From: Rick Liu yrliu...@gmail.com Date: Fri, 30 May 2014 14:10:20 -0700 Subject: [PATCH] fix configure: duplicate/incorrect order of -lrt '-lrt' flag duplicationi/incorrect order would cause 'undefined reference to

Re: [Qemu-devel] [PATCH 1/2] tcg/optimize: Move updating of gen_opc_buf into tcg_opt_gen_mov*

2014-05-30 Thread Aurelien Jarno
On Fri, May 23, 2014 at 11:57:10AM -0700, Richard Henderson wrote: No functional change, just reduce a bit of redundancy. Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/optimize.c | 117 +++-- 1 file changed, 56

Re: [Qemu-devel] [PATCH 2/2] tcg/optimize: Remember garbage high bits for 32-bit ops

2014-05-30 Thread Aurelien Jarno
On Fri, May 23, 2014 at 11:57:11AM -0700, Richard Henderson wrote: For a 64-bit host, the high bits of a register after a 32-bit operation are undefined. Adjust the temps mask for all 32-bit ops to reflect that. Signed-off-by: Richard Henderson r...@twiddle.net --- tcg/optimize.c | 33

Re: [Qemu-devel] [PATCH] target-arm: Prepare cpreg writefns/readfns for EL3/SecExt

2014-05-30 Thread Peter Crosthwaite
On Fri, May 16, 2014 at 10:43 PM, Fabian Aggeler aggel...@ethz.ch wrote: This patch changes some readfns/writefns to use raw_write and raw_read functions, wich use the fieldoffset specified which in ARMCPRegInfo instead of directly accessing the field. This will simplify patches for EL3

Re: [Qemu-devel] [PATCH v1 05/16] target-arm: Add ESR_EL2 and 3

2014-05-30 Thread Edgar E. Iglesias
On Fri, May 30, 2014 at 09:12:52AM -0500, Greg Bellows wrote: On 30 May 2014 02:28, Edgar E. Iglesias [1]edgar.igles...@gmail.com wrote: From: Edgar E. Iglesias [2]edgar.igles...@xilinx.com Signed-off-by: Edgar E. Iglesias [3]edgar.igles...@xilinx.com --- Â

Re: [Qemu-devel] [PATCH v1 14/16] target-arm: A64: Emulate the SMC insn

2014-05-30 Thread Edgar E. Iglesias
On Fri, May 30, 2014 at 11:50:23AM -0500, Greg Bellows wrote: On 30 May 2014 02:28, Edgar E. Iglesias edgar.igles...@gmail.com wrote: From: Edgar E. Iglesias edgar.igles...@xilinx.com Signed-off-by: Edgar E. Iglesias edgar.igles...@xilinx.com --- target-arm/cpu.h | 1 +

<    1   2   3   4