Re: [Qemu-devel] [PATCH v7 4/4] monitor: add lock to protect mon_fdsets

2018-05-27 Thread Peter Xu
On Fri, May 25, 2018 at 10:01:57AM +0100, Stefan Hajnoczi wrote: > On Fri, May 25, 2018 at 11:30:22AM +0800, Peter Xu wrote: > > On Thu, May 24, 2018 at 10:28:37AM +0100, Stefan Hajnoczi wrote: > > > On Thu, May 24, 2018 at 12:39:52PM +0800, Peter Xu wrote: > > > > int monitor_fdset_get_fd(int64_t

Re: [Qemu-devel] [PATCH v7 3/4] monitor: more comments on lock-free fleids/funcs

2018-05-27 Thread Peter Xu
On Thu, May 24, 2018 at 01:16:11PM +0200, Markus Armbruster wrote: > Peter Xu writes: > > > On Thu, May 24, 2018 at 10:41:09AM +0200, Markus Armbruster wrote: > >> Regarding the subject: what are "fleids"? > > > > Ouch. :( I meant the word "fields". > > Can touch that up in my tree. [...] > >>

Re: [Qemu-devel] [PATCH 1/4] spapr: remove irq_hint parameter from spapr_irq_alloc()

2018-05-27 Thread Thomas Huth
On 25.05.2018 16:02, Greg Kurz wrote: > On Fri, 18 May 2018 18:44:02 +0200 > Cédric Le Goater wrote: > >> This IRQ number hint can possibly be used by the VIO devices if the >> "irq" property is defined on the command line but it seems it is never >> the case. It is not used in libvirt for instan

[Qemu-devel] [RFC PATCH] hw/misc/unimp: Add create_unimplemented_subregion_device()

2018-05-27 Thread Philippe Mathieu-Daudé
The create_unimplemented_device() function is very useful to register unimplemented devices to the SysBus 'absolute' address. Some devices are modelled as container of memory subregions, the subregions being mmio-mapped relatively to the container base address. With these container devices, the c

[Qemu-devel] [PATCH] trace: Sort trace-events-subdirs

2018-05-27 Thread Philippe Mathieu-Daudé
Having these entries sorted helps to add new ones. Signed-off-by: Philippe Mathieu-Daudé --- Makefile.objs | 82 +-- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/Makefile.objs b/Makefile.objs index c6c3554203..2c8cb72407 100644 -

Re: [Qemu-devel] release retrospective, next release timing, numbering

2018-05-27 Thread Philippe Mathieu-Daudé
On 04/27/2018 12:51 PM, Peter Maydell wrote: > Hi; I usually let people forget about releases for a month or > so before bringing this topic up, but: [...] > That will make the next release be 3.0.0. [...] > (3) retrospective, lessons learned &c [...] > * provide your opinions here ? Maybe v3 is

Re: [Qemu-devel] [PATCH V5 0/9] nvdimm: guarantee persistence of QEMU writes to persistent memory

2018-05-27 Thread Junyan He
GEN qemu-doc.html GEN qemu-doc.txt GEN qemu.1 CC s390-ccw/bootmap.o GEN docs/interop/qemu-qmp-ref.html ./qemu-options.texi:2855: unknown command `address' ./qemu-options.texi:2855: unknown command `hidden' make: *** [Makefile:915: qemu-doc.html] Error 1 It seems th

Re: [Qemu-devel] [RFC PATCH] mmio-exec: Make device return MemoryRegion rather than host pointer

2018-05-27 Thread Cédric Le Goater
On 04/26/2018 05:09 PM, Peter Maydell wrote: > Our current interface for allowing a device to support execution from > MMIO regions has the device return a pointer into host memory > containing the contents to be used for execution. Unfortunately the > obvious implementation this encourages (and w

[Qemu-devel] What is the best git-way to add a new board?

2018-05-27 Thread Philippe Mathieu-Daudé
Hi, What is the best git-way to add a new board? Thinking about testing/review. The following ways occurred to me: 1/ how RISC-V boards got merged Add devices individually, finally add the board and default-configs/Makefile rules at once. PRO: commits are easier to cherry-pick/rebase CON:

[Qemu-devel] cmdline: How to connect a SD card to a specific SD controller?

2018-05-27 Thread Philippe Mathieu-Daudé
Hi, I'd like to connect a specific SD card to a specific SDHCI from command line, and I'm getting a bit lost with command line options. I'm using an updated version of this patch, but this is not relevant to this thread: http://lists.nongnu.org/archive/html/qemu-devel/2018-05/msg01914.html In th

[Qemu-devel] [PATCH v6 08/10] iscsi: Implement copy offloading

2018-05-27 Thread Fam Zheng
Issue EXTENDED COPY (LID1) command to implement the copy_range API. The parameter data construction code is modified from libiscsi's iscsi-dd.c. Signed-off-by: Fam Zheng Reviewed-by: Stefan Hajnoczi --- block/iscsi.c| 219 +++ include/scs

[Qemu-devel] [PATCH v6 09/10] block-backend: Add blk_co_copy_range

2018-05-27 Thread Fam Zheng
It's a BlockBackend wrapper of the BDS interface. Signed-off-by: Fam Zheng Reviewed-by: Stefan Hajnoczi --- block/block-backend.c | 18 ++ include/sysemu/block-backend.h | 4 2 files changed, 22 insertions(+) diff --git a/block/block-backend.c b/block/block-backe

[Qemu-devel] [PATCH v6 04/10] qcow2: Implement copy offloading

2018-05-27 Thread Fam Zheng
The two callbacks are implemented quite similarly to the read/write functions: bdrv_co_copy_range_from maps for read and calls into bs->file or bs->backing depending on the allocation status; bdrv_co_copy_range_to maps for write and calls into bs->file. Reviewed-by: Stefan Hajnoczi Signed-off-by:

[Qemu-devel] [PATCH v6 10/10] qemu-img: Convert with copy offloading

2018-05-27 Thread Fam Zheng
The new blk_co_copy_range interface offers a more efficient way in the case of network based storage. Make use of it to allow faster convert operation. Since copy offloading cannot do zero detection ('-S') and compression (-c), only try it when these options are not used. Signed-off-by: Fam Zheng

[Qemu-devel] [PATCH v6 07/10] iscsi: Create and use iscsi_co_wait_for_task

2018-05-27 Thread Fam Zheng
This loop is repeated a growing number times. Make a helper. Signed-off-by: Fam Zheng Reviewed-by: Stefan Hajnoczi Reviewed-by: Eric Blake --- block/iscsi.c | 54 +- 1 file changed, 17 insertions(+), 37 deletions(-) diff --git a/block/iscsi.

[Qemu-devel] [PATCH v6 02/10] raw: Check byte range uniformly

2018-05-27 Thread Fam Zheng
We don't verify the request range against s->size in the I/O callbacks except for raw_co_pwritev. This is inconsistent (especially for raw_co_pwrite_zeroes and raw_co_pdiscard), so fix them, in the meanwhile make the helper reusable by the coming new callbacks. Note that in most cases the block la

[Qemu-devel] [PATCH v6 03/10] raw: Implement copy offloading

2018-05-27 Thread Fam Zheng
Just pass down to ->file. Signed-off-by: Fam Zheng Reviewed-by: Stefan Hajnoczi --- block/raw-format.c | 32 1 file changed, 32 insertions(+) diff --git a/block/raw-format.c b/block/raw-format.c index b69a0674b3..f2e468df6f 100644 --- a/block/raw-format.c +++ b

[Qemu-devel] [PATCH v6 06/10] iscsi: Query and save device designator when opening

2018-05-27 Thread Fam Zheng
The device designator data returned in INQUIRY command will be useful to fill in source/target fields during copy offloading. Do this when connecting to the target and save the data for later use. Signed-off-by: Fam Zheng Reviewed-by: Stefan Hajnoczi --- block/iscsi.c| 41 ++

[Qemu-devel] [PATCH v6 05/10] file-posix: Implement bdrv_co_copy_range

2018-05-27 Thread Fam Zheng
With copy_file_range(2), we can implement the bdrv_co_copy_range semantics. Signed-off-by: Fam Zheng Reviewed-by: Stefan Hajnoczi --- block/file-posix.c | 96 +++-- include/block/raw-aio.h | 10 -- 2 files changed, 101 insertions(+), 5 deleti

[Qemu-devel] [PATCH v6 00/10] qemu-img convert with copy offloading

2018-05-27 Thread Fam Zheng
v6: Pick up rev-by from Stefan and Eric. Tweak patch 2 commit message. v5: - Fix raw offset/bytes check for read. [Eric] - Fix qcow2_handle_l2meta. [Stefan] - Add coroutine_fn whereever appropriate. [Stefan] v4: - Fix raw offset and size. [Eric] - iscsi: Drop unnecessary return va

[Qemu-devel] [PATCH v6 01/10] block: Introduce API for copy offloading

2018-05-27 Thread Fam Zheng
Introduce the bdrv_co_copy_range() API for copy offloading. Block drivers implementing this API support efficient copy operations that avoid reading each block from the source device and writing it to the destination devices. Examples of copy offload primitives are SCSI EXTENDED COPY and Linux co

Re: [Qemu-devel] [PATCH v5 3/7] hw/mdio: Generalize phy initialization routine

2018-05-27 Thread Philippe Mathieu-Daudé
Hi Alistair, On 02/27/2018 07:33 PM, Alistair Francis wrote: > On Fri, Sep 22, 2017 at 10:13 AM, Philippe Mathieu-Daudé > wrote: >> From: Grant Likely >> >> There really isn't anything tdk-specific about tdk_init() other than the >> phy id registers. The function should instead be generalized fo

Re: [Qemu-devel] [PATCH 07/20] target/openrisc: Form the spr index from tcg

2018-05-27 Thread Richard Henderson
On 05/27/2018 08:31 PM, Philippe Mathieu-Daudé wrote: > On 05/27/2018 11:13 AM, Richard Henderson wrote: >> Rather than pass base+offset to the helper, pass the full index. >> In most cases the base is r0 and optimization yields a constant. > > and while here you use generic TCGv instead of 32bit

Re: [Qemu-devel] [PATCH 14/20] target/openrisc: Use identical sizes for ITLB and DTLB

2018-05-27 Thread Philippe Mathieu-Daudé
On 05/27/2018 11:13 AM, Richard Henderson wrote: > The sizes are already the same, however, we can improve things > if they are identical by design. > > Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé > --- > target/openrisc/cpu.h| 10 -- > target/openrisc

Re: [Qemu-devel] [PATCH 01/20] target/openrisc: Remove DISAS_JUMP & DISAS_TB_JUMP

2018-05-27 Thread Philippe Mathieu-Daudé
On 05/27/2018 11:13 AM, Richard Henderson wrote: > These values are unused. > > Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé > --- > target/openrisc/translate.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/target/openrisc/translate.c b/target/openrisc/t

Re: [Qemu-devel] [PATCH 05/20] target/openrisc: Split out is_user

2018-05-27 Thread Philippe Mathieu-Daudé
On 05/27/2018 11:13 AM, Richard Henderson wrote: > This allows us to limit the amount of ifdefs and isolate > the test for usermode. > > Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé > --- > target/openrisc/translate.c | 27 --- > 1 file changed,

Re: [Qemu-devel] [PATCH 07/20] target/openrisc: Form the spr index from tcg

2018-05-27 Thread Philippe Mathieu-Daudé
On 05/27/2018 11:13 AM, Richard Henderson wrote: > Rather than pass base+offset to the helper, pass the full index. > In most cases the base is r0 and optimization yields a constant. and while here you use generic TCGv instead of 32bit version. > > Signed-off-by: Richard Henderson Reviewed-by:

Re: [Qemu-devel] [PATCH 10/20] target/openrisc: Merge mmu_helper.c into mmu.c

2018-05-27 Thread Philippe Mathieu-Daudé
On 05/27/2018 11:13 AM, Richard Henderson wrote: > With tlb_fill in mmu.c, we can simplify things further. > > Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé > --- > target/openrisc/mmu.c | 11 ++ > target/openrisc/mmu_helper.c | 40 -

Re: [Qemu-devel] [PATCH 11/20] target/openrisc: Reduce tlb to a single dimension

2018-05-27 Thread Philippe Mathieu-Daudé
On 05/27/2018 11:13 AM, Richard Henderson wrote: > While we had defines for *_WAY, we didn't define more than 1. > Reduce the complexity by eliminating this unused dimension. > > Signed-off-by: Richard Henderson > --- > target/openrisc/cpu.h| 6 ++ > target/openrisc/machine.c|

Re: [Qemu-devel] [PATCH 16/20] target/openrisc: Log interrupts

2018-05-27 Thread Philippe Mathieu-Daudé
On 05/27/2018 11:13 AM, Richard Henderson wrote: > Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé > --- > target/openrisc/interrupt.c | 30 +- > 1 file changed, 25 insertions(+), 5 deletions(-) > > diff --git a/target/openrisc/interrupt.c b/ta

Re: [Qemu-devel] [PATCH] vhost-blk: turn on pre-defined RO feature bit

2018-05-27 Thread Liu, Changpeng
> -Original Message- > From: Stefan Hajnoczi [mailto:stefa...@redhat.com] > Sent: Friday, May 25, 2018 6:20 PM > To: Liu, Changpeng > Cc: qemu-devel@nongnu.org; m...@redhat.com > Subject: Re: [PATCH] vhost-blk: turn on pre-defined RO feature bit > > On Tue, May 22, 2018 at 02:39:28PM +0

Re: [Qemu-devel] [PATCH] bochs-display: add missing break

2018-05-27 Thread Philippe Mathieu-Daudé
On 05/25/2018 01:53 AM, Gerd Hoffmann wrote: > Fixes: CID 1391291 > Signed-off-by: Gerd Hoffmann > --- > hw/display/bochs-display.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/hw/display/bochs-display.c b/hw/display/bochs-display.c > index c33524b558..1187d77576 100644 > --- a/hw/di

Re: [Qemu-devel] [PATCH 00/20] target/openrisc improvements

2018-05-27 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20180527141324.11937-1-richard.hender...@linaro.org Subject: [Qemu-devel] [PATCH 00/20] target/openrisc improvements === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1 tota

[Qemu-devel] [PATCH 16/20] target/openrisc: Log interrupts

2018-05-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target/openrisc/interrupt.c | 30 +- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/target/openrisc/interrupt.c b/target/openrisc/interrupt.c index e28042856a..138ad17f00 100644 --- a/target/openrisc/interrupt.c +++

[Qemu-devel] [PATCH 12/20] target/openrisc: Fix tlb flushing in mtspr

2018-05-27 Thread Richard Henderson
The previous code was confused, avoiding the flush of the old entry if the new entry is invalid. We need to flush the old page if the old entry is valid and the new page if the new entry is valid. This bug was masked by over-flushing elsewhere. Signed-off-by: Richard Henderson --- target/openr

[Qemu-devel] [PATCH 10/20] target/openrisc: Merge mmu_helper.c into mmu.c

2018-05-27 Thread Richard Henderson
With tlb_fill in mmu.c, we can simplify things further. Signed-off-by: Richard Henderson --- target/openrisc/mmu.c | 11 ++ target/openrisc/mmu_helper.c | 40 --- target/openrisc/Makefile.objs | 2 +- 3 files changed, 12 insertions(+), 41 deletio

[Qemu-devel] [PATCH 20/20] target/or1k: Add support in scripts/qemu-binfmt-conf.sh

2018-05-27 Thread Richard Henderson
Signed-off-by: Richard Henderson --- scripts/qemu-binfmt-conf.sh | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index 7ab7435fbd..75ed7c6b65 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt

[Qemu-devel] [PATCH 18/20] target/openrisc: Reorg tlb lookup

2018-05-27 Thread Richard Henderson
While openrisc has a split i/d tlb, qemu does not. Perform a lookup on both i & d tlbs in parallel and put the composite rights into qemu's tlb. This avoids ping-ponging the qemu tlb between EXEC and READ. Signed-off-by: Richard Henderson --- target/openrisc/cpu.h | 8 -- target/openrisc/mmu

[Qemu-devel] [PATCH 09/20] target/openrisc: Remove indirect function calls for mmu

2018-05-27 Thread Richard Henderson
There is no reason to use an indirect branch instead of simply testing the SR bits that control mmu state. Signed-off-by: Richard Henderson --- target/openrisc/cpu.h | 11 - target/openrisc/cpu.c | 4 -- target/openrisc/interrupt.c| 2 - target/openrisc/in

[Qemu-devel] [PATCH 13/20] target/openrisc: Fix cpu_mmu_index

2018-05-27 Thread Richard Henderson
The code in cpu_mmu_index does not properly honor SR_DME. This bug has workarounds elsewhere in that we flush the tlb more often than necessary, on the state changes that should be reflected in a change of mmu_index. Fixing this means that we can respect the mmu_index that is given to tlb_flush.

[Qemu-devel] [PATCH 17/20] target/openrisc: Increase the TLB size

2018-05-27 Thread Richard Henderson
The architecture supports 128 TLB entries. There is no reason not to provide all of them. In the process we need to fix a bug that failed to parameterize the configuration register that tells the operating system the number of entries. Signed-off-by: Richard Henderson --- target/openrisc/cpu.h

[Qemu-devel] [PATCH 19/20] target/openrisc: Add print_insn_or1k

2018-05-27 Thread Richard Henderson
Rather than emit disassembly while translating, reuse the generated decoder to build a separate disassembler. Signed-off-by: Richard Henderson --- target/openrisc/cpu.h | 1 + target/openrisc/cpu.c | 6 ++ target/openrisc/disas.c | 171 ++

[Qemu-devel] [PATCH 15/20] target/openrisc: Stub out handle_mmu_fault for softmmu

2018-05-27 Thread Richard Henderson
This hook is only used by CONFIG_USER_ONLY. Signed-off-by: Richard Henderson --- target/openrisc/mmu.c | 35 +-- 1 file changed, 5 insertions(+), 30 deletions(-) diff --git a/target/openrisc/mmu.c b/target/openrisc/mmu.c index ee3016a8b9..2f1f16fd6b 100644 --- a/

[Qemu-devel] [PATCH 05/20] target/openrisc: Split out is_user

2018-05-27 Thread Richard Henderson
This allows us to limit the amount of ifdefs and isolate the test for usermode. Signed-off-by: Richard Henderson --- target/openrisc/translate.c | 27 --- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/target/openrisc/translate.c b/target/openrisc/transla

[Qemu-devel] [PATCH 11/20] target/openrisc: Reduce tlb to a single dimension

2018-05-27 Thread Richard Henderson
While we had defines for *_WAY, we didn't define more than 1. Reduce the complexity by eliminating this unused dimension. Signed-off-by: Richard Henderson --- target/openrisc/cpu.h| 6 ++ target/openrisc/machine.c| 6 ++ target/openrisc/mmu.c| 30 ---

[Qemu-devel] [PATCH 08/20] target/openrisc: Merge tlb allocation into CPUOpenRISCState

2018-05-27 Thread Richard Henderson
There is no reason to allocate this separately. This was probably copied from target/mips which makes the same mistake. While doing so, move tlb into the clear-on-reset range. While not all of the TLB bits are guaranteed zero on reset, all of the valid bits are cleared, and the rest of the bits

[Qemu-devel] [PATCH 04/20] target/openrisc: Link more translation blocks

2018-05-27 Thread Richard Henderson
Track direct jumps via dc->jmp_pc_imm. Use that in preference to jmp_pc when possible. Emit goto_tb in that case, and lookup_and_goto_tb otherwise. Signed-off-by: Richard Henderson --- target/openrisc/translate.c | 82 + 1 file changed, 46 insertions(+), 36

[Qemu-devel] [PATCH 03/20] target/openrisc: Fix singlestep_enabled

2018-05-27 Thread Richard Henderson
We failed to store to cpu_pc before raising the exception, which caused us to re-execute the same insn that we stepped. Signed-off-by: Richard Henderson --- target/openrisc/translate.c | 35 +-- 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/targe

[Qemu-devel] [PATCH 14/20] target/openrisc: Use identical sizes for ITLB and DTLB

2018-05-27 Thread Richard Henderson
The sizes are already the same, however, we can improve things if they are identical by design. Signed-off-by: Richard Henderson --- target/openrisc/cpu.h| 10 -- target/openrisc/machine.c| 4 ++-- target/openrisc/mmu.c| 4 ++-- target/openrisc/sys_helper.c | 16 +++

[Qemu-devel] [PATCH 06/20] target/openrisc: Exit the TB after l.mtspr

2018-05-27 Thread Richard Henderson
A store to SR changes interrupt state, which should return to the main loop to recognize that state. Signed-off-by: Richard Henderson --- target/openrisc/translate.c | 24 +++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/target/openrisc/translate.c b/target/

[Qemu-devel] [PATCH 07/20] target/openrisc: Form the spr index from tcg

2018-05-27 Thread Richard Henderson
Rather than pass base+offset to the helper, pass the full index. In most cases the base is r0 and optimization yields a constant. Signed-off-by: Richard Henderson --- target/openrisc/helper.h | 4 ++-- target/openrisc/sys_helper.c | 9 +++-- target/openrisc/translate.c | 16 +-

[Qemu-devel] [PATCH 01/20] target/openrisc: Remove DISAS_JUMP & DISAS_TB_JUMP

2018-05-27 Thread Richard Henderson
These values are unused. Signed-off-by: Richard Henderson --- target/openrisc/translate.c | 4 1 file changed, 4 deletions(-) diff --git a/target/openrisc/translate.c b/target/openrisc/translate.c index e7c96ca990..f4f2f37e28 100644 --- a/target/openrisc/translate.c +++ b/target/openrisc/t

[Qemu-devel] [PATCH 02/20] target/openrisc: Use exit_tb instead of CPU_INTERRUPT_EXITTB

2018-05-27 Thread Richard Henderson
No need to use the interrupt mechanisms when we can simply exit the tb directly. Signed-off-by: Richard Henderson --- target/openrisc/interrupt_helper.c | 3 +-- target/openrisc/translate.c| 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/target/openrisc/interrup

[Qemu-devel] [PATCH 00/20] target/openrisc improvements

2018-05-27 Thread Richard Henderson
This is almost a grab-bag of little improvements to the port. patches 1-3: Fix singlestepping for gdbstub. This has apparently never worked, as the first commit has the same bug of not advancing the pc when stepping. patches 4-5: Exit the TB after l.mtspr insns. In particular, storing t

[Qemu-devel] [Bug 1396052] Re: migration failed when running BurnInTest in guest

2018-05-27 Thread Thomas Huth
** Changed in: qemu Status: Incomplete => Triaged -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1396052 Title: migration failed when running BurnInTest in guest Status in QEMU: Triaged B

Re: [Qemu-devel] [PATCH] configure: print virglrenderer version

2018-05-27 Thread Ján Tomko
On Fri, May 25, 2018 at 05:36:09PM +0200, Marc-André Lureau wrote: Signed-off-by: Marc-André Lureau --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Ján Tomko Jano signature.asc Description: Digital signature

Re: [Qemu-devel] [PATCH] bochs-display: add missing break

2018-05-27 Thread Ján Tomko
On Fri, May 25, 2018 at 06:53:44AM +0200, Gerd Hoffmann wrote: Fixes: CID 1391291 Signed-off-by: Gerd Hoffmann --- hw/display/bochs-display.c | 1 + 1 file changed, 1 insertion(+) Reviewed-by: Ján Tomko Jano signature.asc Description: Digital signature

Re: [Qemu-devel] [PATCH] migration: use g_free for ram load bitmap

2018-05-27 Thread Ján Tomko
On Fri, May 25, 2018 at 09:50:42AM +0800, Peter Xu wrote: Buffers allocated with bitmap_new() should be freed with g_free(). Both reported by Coverity: *** CID 1391300: API usage errors (ALLOC_FREE_MISMATCH) /migration/ram.c: 3517 in ram_dirty_bitmap_reload() 3511 * the last one to s