[Bug 1699567] Re: Qemu does not force SSE data alignment

2020-11-28 Thread Daniel Bokser
** Changed in: qemu Status: Incomplete => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1699567 Title: Qemu does not force SSE data alignment Status in QEMU: New Bug description: I

[Bug 1699567] Re: Qemu does not force SSE data alignment

2020-11-28 Thread Daniel Bokser
I am currently running into this bug on QEMU emulator version 5.1.0. movaps unaligned access works fine in qemu, when it should throw a GP. Likewise, the same code on physical hardware throws a GP. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscri

Re: [RFC PATCH-for-5.2 0/2] net: Do not accept packets with invalid huge size

2020-11-28 Thread Peter Maydell
On Fri, 27 Nov 2020 at 15:45, Philippe Mathieu-Daudé wrote: > > Hi, > > This is a simple attempt to avoid the following pattern: > > ssize_t pkt_size = get_pkt_size(); // returns errno > > // no check > > send_packet(size_t size=pkt_size); // size casted to unsigned >

Re: Ping2: [PATCH v2] Emulate dip switch language layout settings on SUN keyboard

2020-11-28 Thread Henrik Carlqvist
This is really annoying, no matter how I try I am unable to submit a valid patch. Some googling revealed that my patch had been rejected at https://patchew.org/QEMU/20200710201911.3a3e336c.hc...@poolhem.se/ The apply log points to line 104 which is broken in my patch, it looks like this: +} + s

Re: [PATCH v4 1/6] introduce 'background-snapshot' migration capability

2020-11-28 Thread Andrey Gruzdev
On 27.11.2020 22:55, Peter Xu wrote: On Thu, Nov 26, 2020 at 06:17:29PM +0300, Andrey Gruzdev wrote: Signed-off-by: Andrey Gruzdev The patch looks good to me, but again, any commit message would be more than welcomed... as long as it's not empty. :) Yep, agree. :) -- Andrey Gruzdev, Princ

Re: [PATCH 1/2] target/nios2: Move cpu_pic code into CPU object proper

2020-11-28 Thread Peter Maydell
On Sat, 28 Nov 2020 at 05:50, Wu, Wentong wrote: > The code looks ok to me, and I tested the changes on Zephyr project, it works > well. > > But, according > https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2sw_nii52006.pdf > , > The Nios II processor offers tw

Re: [PATCH v3] drivers/virt: vmgenid: add vm generation id driver

2020-11-28 Thread Mike Rapoport
Hi Adrian, Usually each version of a patch is a separate e-mail thread On Fri, Nov 27, 2020 at 08:26:02PM +0200, Catangiu, Adrian Costin wrote: > - Background > > The VM Generation ID is a feature defined by Microsoft (paper: > http://go.microsoft.com/fwlink/?LinkId=260709) and supported by > mu

Re: [PATCH] hw/arm/smmuv3: Fix up L1STD_SPAN decoding

2020-11-28 Thread Kunkun Jiang
Hi Eric, Friendly ping... :) On 2020/11/24 10:37, Kunkun Jiang wrote: Accroding to the SMMUv3 spec, the SPAN field of Level1 Stream Table Descriptor is 5 bits([4:0]). Fixes: 9bde7f0674f(hw/arm/smmuv3: Implement translate callback) Signed-off-by: Kunkun Jiang --- hw/arm/smmuv3-internal.h | 2

Re: [RFC v7 09/26] vfio: Force nested if iommu requires it

2020-11-28 Thread Kunkun Jiang
Hi Eric, @@ -1668,6 +1679,14 @@ static int vfio_connect_container(VFIOGroup *group, AddressSpace *as, VFIOContainer *container; int ret, fd; VFIOAddressSpace *space; +IOMMUMemoryRegion *iommu_mr; +bool nested = false; + +if (as != &address_space_memory && memory_regi

Re: [PATCH] block: Don't inactivate bs if it is aleady inactive

2020-11-28 Thread Vladimir Sementsov-Ogievskiy
24.11.2020 13:04, Tuguoyi wrote: The following steps will cause qemu assertion failure: - pause vm - save memory snapshot into local file through fd migration - do the above operation again will cause qemu assertion failure Hi! Why do you need such scenario? Isn't it more correct and safer to