Re: [Qemu-devel] [PATCH v5 45/49] tests/tcg/Makefile: update to be called from Makefile.target

2018-05-26 Thread Philippe Mathieu-Daudé
Hi Alex, On 05/25/2018 11:19 AM, Alex Bennée wrote: > This make is now invoked from each individual target make with the > appropriate CC and EXTRA_CFLAGS set for each guest. It then includes > additional Makefile.targets from: > > - tests/tcg/multiarch (always) > -

Re: [Qemu-devel] [PATCH 2/4] sparp_pci: simplify how the PCI LSIs are allocated

2018-05-26 Thread Greg Kurz
On Fri, 18 May 2018 18:44:03 +0200 Cédric Le Goater wrote: > PCI LSIs are today allocated one by one using the IRQ alloc_block > routine. Change the code sequence to first allocate a PCI_NUM_PINS > block. It will help us providing a generic IRQ framework to the > machine. > >

[Qemu-devel] [[Qemu devel] RFC] hw/net: Add Smartfusion2 emac block

2018-05-26 Thread Subbaraya Sundeep
Modelled Ethernet MAC of Smartfusion2 SoC. Micrel KSZ8051 PHY is present on Emcraft's SOM kit hence same PHY is emulated. Signed-off-by: Subbaraya Sundeep --- hw/arm/msf2-soc.c | 21 +- hw/net/Makefile.objs | 1 + hw/net/mss-emac.c | 544

[Qemu-devel] [[Qemu devel] RFC] hw/net: Add Smartfusion2 emac block

2018-05-26 Thread Subbaraya Sundeep
Modelled Ethernet MAC of Smartfusion2 SoC. Micrel KSZ8051 PHY is present on Emcraft's SOM kit hence same PHY is emulated. Signed-off-by: Subbaraya Sundeep --- hw/arm/msf2-soc.c | 21 +- hw/net/Makefile.objs | 1 + hw/net/mss-emac.c | 544

Re: [Qemu-devel] [PATCH] spapr: don't call KVM_PPC_CONFIGURE_V3_MMU if HPT is in userspace

2018-05-26 Thread Greg Kurz
On Fri, 25 May 2018 16:13:13 +0200 Laurent Vivier wrote: > On 25/05/2018 14:54, Greg Kurz wrote: > > Since the kernel commit "dbfcf3cb9c68 powerpc/64: Call H_REGISTER_PROC_TBL > > when running as a HPT guest on POWER9", a nested guest running with PR KVM > > hangs at boot: >

Re: [Qemu-devel] [PATCH 01/13] 9p: linux: Fix a couple Linux assumptions

2018-05-26 Thread Philippe Mathieu-Daudé
Hi Keno, On 05/26/2018 02:23 AM, k...@juliacomputing.com wrote: > From: Keno Fischer > > - Guard two Linux only headers. > - Define `ENOATTR` only if not only defined >(it's defined in system headers on Darwin). > > Signed-off-by: Keno Fischer

Re: [Qemu-devel] [PATCH 01/13] 9p: linux: Fix a couple Linux assumptions

2018-05-26 Thread Peter Maydell
On 26 May 2018 at 07:30, Philippe Mathieu-Daudé wrote: > Hi Keno, > > On 05/26/2018 02:23 AM, k...@juliacomputing.com wrote: >> From: Keno Fischer >> >> - Guard two Linux only headers. >> - Define `ENOATTR` only if not only defined >>(it's defined

Re: [Qemu-devel] [PATCH 09/13] 9p: darwin: Provide a compatibility definition for XATTR_SIZE_MAX

2018-05-26 Thread Peter Maydell
On 26 May 2018 at 06:23, wrote: > From: Keno Fischer > > Signed-off-by: Keno Fischer > --- > hw/9pfs/9p.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c > index

Re: [Qemu-devel] [Bug 1768246] [NEW] cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount' failed.

2018-05-26 Thread John Paul Adrian Glaubitz
This bug also affects GHC on qemu-sh4: checking version of ghc... ./configure: line 3199: 55879 Segmentation fault "${WithGhc-ghc}" --version > conftestghc 2>&1 8.2.2 qemu-sh4-static: /build/qemu-fWXVPw/qemu-2.12+dfsg/accel/tcg/cpu-exec.c:648: cpu_loop_exec_tb: Assertion `use_icount'

Re: [Qemu-devel] [PATCH v1 22/30] RISC-V: Add misa runtime write support

2018-05-26 Thread Richard Henderson
On 05/22/2018 05:15 PM, Michael Clark wrote: > +/* Suppress 'C' if next instruction is not aligned > + TODO: this should check next_pc */ > +if ((val & RVC) && (GETPC() & ~3) != 0) { > +val &= ~RVC; > +} This is checking the host PC, which is useless. Isn't this

[Qemu-devel] Not able to install QNX into a VM

2018-05-26 Thread info
Hi all, I tried to create a VM for QNX in a Virtualbox first. It installed successfully, but then could not boot from the virtual HDD. I googled, and found a couple of posts about how at some point VB and QEMU both implemented the busmaster bit for storage controllers and that broke QNX and

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

2018-05-26 Thread z08687
I think the bug is still there. And I have repaired it myself. Migration process need wait all nbd-flying-data completion before bdrv_invalidate_cache_all was called. The solution is working well but not graceful,so I didn't commit to open source community. -- You received this bug

Re: [Qemu-devel] [PATCH 09/13] 9p: darwin: Provide a compatibility definition for XATTR_SIZE_MAX

2018-05-26 Thread Keno Fischer
> > +#if defined(CONFIG_DARWIN) && !defined(XATTR_SIZE_MAX) > > +/* Darwin doesn't seem to define a maximum xattr size in its user > > + user space header, but looking at the kernel source, HFS supports > > + up to INT32_MAX, so use that as the maximum. > > +*/ > > +#define XATTR_SIZE_MAX

Re: [Qemu-devel] [PATCH 0/6] Update Linux headers to 4.17-rc6

2018-05-26 Thread no-reply
Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20180525132755.21839-1-peter.mayd...@linaro.org Subject: [Qemu-devel] [PATCH 0/6] Update Linux headers to 4.17-rc6 === TEST SCRIPT BEGIN === #!/bin/bash BASE=base n=1

Re: [Qemu-devel] [PATCH 01/13] 9p: linux: Fix a couple Linux assumptions

2018-05-26 Thread Keno Fischer
>>> diff --git a/fsdev/file-op-9p.h b/fsdev/file-op-9p.h >>> index 3fa062b..a13e729 100644 >>> --- a/fsdev/file-op-9p.h >>> +++ b/fsdev/file-op-9p.h >>> @@ -16,7 +16,9 @@ >>> >>> #include >>> #include >>> +#ifdef CONFIG_LINUX >> >> What about a less restrictive: >> >> #ifndef __APPLE__ > > In

Re: [Qemu-devel] [[Qemu devel] RFC] hw/net: Add Smartfusion2 emac block

2018-05-26 Thread Philippe Mathieu-Daudé
On 05/26/2018 06:53 AM, Subbaraya Sundeep wrote: > Modelled Ethernet MAC of Smartfusion2 SoC. > Micrel KSZ8051 PHY is present on Emcraft's SOM kit hence same > PHY is emulated. > > Signed-off-by: Subbaraya Sundeep > --- > hw/arm/msf2-soc.c | 21 +- >

[Qemu-devel] [Bug 1649233] Re: scrolling does not work once mouse is grabbed

2018-05-26 Thread Krupp
I am also having trouble with this bug. I have QEMU version 2.11.1 on kubuntu. I have the same symptoms as above, and would be willing to assist in troubleshooting. The mouse I am using has two side buttons for forward and back on web-browsing and a scroll wheel with scroll button. I am using