Re: [PATCH 0/9] linux-user: Update syscall numbers to kernel 5.5 level

2020-02-12 Thread Laurent Vivier
Le 04/02/2020 à 13:07, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > Hello, folks! > > This series is a spin-off of another larger linux-user series > that become too large to handle, hence these patches related to > syscall numbers are now in this, separate, series. > > Now

Re: [PATCH v3 07/17] hw/arm/allwinner: add Security Identifier device

2020-02-12 Thread Niek Linnenbank
Hi Corey, On Thu, Feb 6, 2020 at 10:09 PM Niek Linnenbank wrote: > Hi Corey, > > On Mon, Feb 3, 2020 at 2:10 PM Corey Minyard wrote: > >> On Sun, Feb 02, 2020 at 10:27:49PM +0100, Niek Linnenbank wrote: >> > Hi Corey, >> > >> > Thanks for reviewing! >> > >> > On Mon, Jan 20, 2020 at 6:59 PM

Re: [PATCH 2/9] linux-user: arm: Update syscall numbers to kernel 5.5 level

2020-02-12 Thread Laurent Vivier
Le 04/02/2020 à 13:07, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > Update arm syscall numbers based on Linux kernel v5.5. > > CC: Peter Maydell > Signed-off-by: Aleksandar Markovic > --- > linux-user/arm/syscall_nr.h | 44 > 1

Re: Question: SiFive U SPI and SD

2020-02-12 Thread Alistair Francis
On Mon, Feb 10, 2020 at 7:51 AM Bin Meng wrote: > > Hi Nikita, > > On Sun, Feb 9, 2020 at 10:56 PM Nikita Ermakov wrote: > > > > Hello! > > > > I am trying to make an SD card working on the sifive_u > > (hw/riscv/sifive_u.c) SoC machine. > > As far as I understand there is no way to connect an

Re: [PATCH 5/9] linux-user: mips: Update syscall numbers to kernel 5.5 level

2020-02-12 Thread Laurent Vivier
Le 04/02/2020 à 13:07, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > Update mips syscall numbers based on Linux kernel tag v5.5. > > CC: Aurelien Jarno > CC: Aleksandar Rikalo > Signed-off-by: Aleksandar Markovic > --- > linux-user/mips/cpu_loop.c | 78 >

[PULL 0/2] Usb 20200212 patches

2020-02-12 Thread Gerd Hoffmann
The following changes since commit e18e5501d8ac692d32657a3e1ef545b14e72b730: Merge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-virtiofs-20200210' into staging (2020-02-10 18:09:14 +) are available in the Git repository at: git://git.kraxel.org/qemu tags/usb-20200212-pull

[PULL 2/2] uas: fix super speed bMaxPacketSize0

2020-02-12 Thread Gerd Hoffmann
For usb2 bMaxPacketSize0 is "n", for usb3 it is "1 << n", so it must be 9 not 64 ... rom "Universal Serial Bus 3.1 Specification": If the device is operating at Gen X speed, the bMaxPacketSize0 field shall be set to 09H indicating a 512-byte maximum packet. An Enhanced SuperSpeed device

[PULL 1/2] usb-host: wait for cancel complete

2020-02-12 Thread Gerd Hoffmann
After canceling transfers call into libvirt so it can process the request, and wait for it to complete. Also cancel all pending transfers before exiting qemu. Buglink: https://bugzilla.redhat.com//show_bug.cgi?id=1749745 Signed-off-by: Gerd Hoffmann Message-id:

Re: [PATCH v12 Kernel 1/7] vfio: KABI for migration interface for device state

2020-02-12 Thread Kirti Wankhede
On 2/10/2020 10:55 PM, Alex Williamson wrote: On Sat, 8 Feb 2020 01:12:28 +0530 Kirti Wankhede wrote: - Defined MIGRATION region type and sub-type. - Defined vfio_device_migration_info structure which will be placed at 0th offset of migration region to get/set VFIO device related

Re: [PATCH v12 Kernel 4/7] vfio iommu: Implementation of ioctl to for dirty pages tracking.

2020-02-12 Thread Kirti Wankhede
On 2/10/2020 10:55 PM, Alex Williamson wrote: On Sat, 8 Feb 2020 01:12:31 +0530 Kirti Wankhede wrote: VFIO_IOMMU_DIRTY_PAGES ioctl performs three operations: - Start pinned and unpinned pages tracking while migration is active - Stop pinned and unpinned dirty pages tracking. This is also

Re: [PATCH v1 5/5] travis.yml: Test the s390-ccw build, too

2020-02-12 Thread Philippe Mathieu-Daudé
On 2/7/20 12:39 PM, Alex Bennée wrote: From: Thomas Huth Since we can now use a s390x host on Travis, we can also build and test the s390-ccw bios images there. For this we have to make sure that roms/SLOF is checked out, too, and then move the generated *.img files to the right location

Re: [PATCH v1 3/5] tests/rcutorture: better document locking of stats

2020-02-12 Thread Philippe Mathieu-Daudé
On 2/7/20 12:39 PM, Alex Bennée wrote: This is pure code motion with no functional effect. Signed-off-by: Alex Bennée --- tests/rcutorture.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tests/rcutorture.c b/tests/rcutorture.c index

Re: [PATCH v1 2/5] tests/rcutorture: update usage hint

2020-02-12 Thread Philippe Mathieu-Daudé
On 2/7/20 12:39 PM, Alex Bennée wrote: Although documented in the comments we don't display all the various invocations we can in the usage. Signed-off-by: Alex Bennée --- tests/rcutorture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/rcutorture.c

Re: [PATCH 6/9] linux-user: sh4: Update syscall numbers to kernel 5.5 level

2020-02-12 Thread Laurent Vivier
Le 04/02/2020 à 13:07, Aleksandar Markovic a écrit : > From: Aleksandar Markovic > > Update sh4 syscall numbers based on Linux kernel v5.5. > > CC: Aurelien Jarno > Signed-off-by: Aleksandar Markovic > --- > linux-user/sh4/syscall_nr.h | 48 > + >

[PATCH v2] tests/acceptance/machine_sparc_leon3: Do not run HelenOS test by default

2020-02-12 Thread Philippe Mathieu-Daudé
The www.helenos.org server is slow and downloading the Leon3 binary takes too long [*]. Do not include this test in the default suite. Similarly to commit 471c97a69b: Currently the Avocado framework does not distinct the time spent downloading assets vs. the time spent running a test. With

[PATCH v2] tests/acceptance/machine_sparc_leon3: Do not run HelenOS test by default

2020-02-12 Thread Philippe Mathieu-Daudé
The www.helenos.org server is slow and downloading the Leon3 binary takes too long [*]. Do not include this test in the default suite. Similarly to commit 471c97a69b: Currently the Avocado framework does not distinct the time spent downloading assets vs. the time spent running a test. With

[PATCH] tests/acceptance/machine_sparc_leon3: Do not run HelenOS test by default

2020-02-12 Thread Philippe Mathieu-Daudé
The www.helenos.org server is slow and downloading the Leon3 binary takes too long [*]. Do not include this test in the default suite. Similarly to commit 471c97a69b: Currently the Avocado framework does not distinct the time spent downloading assets vs. the time spent running a test. With

[PATCH] tests/docker: Install tools to cross-debug and build Linux kernels

2020-02-12 Thread Philippe Mathieu-Daudé
From: Philippe Mathieu-Daudé We often run Linux kernels to test QEMU. We sometimes need to build them manually to use non-default features. We only miss the tiny 'bc' tool. The ncurses library is helpful to run 'make menuconfig'. Finally, gdb-multiarch allow us to debug a TCG guest when its

[PATCH 2/3] tests/docker: Remove obsolete VirGL --with-glx configure option

2020-02-12 Thread Philippe Mathieu-Daudé
The GLX configure option has been removed in 71c75f201d [*]. We missed that when updating to v0.7.0 in commit fab3220f97. This silents: configure: creating ./config.status config.status: creating virglrenderer.pc ... configure: WARNING: unrecognized options: --with-glx [*]

[PATCH 1/3] tests/docker: Update VirGL git repository URL

2020-02-12 Thread Philippe Mathieu-Daudé
freedesktop.org is moving to a GitLab instance, use the new url. - https://www.fooishbar.org/blog/gitlab-fdo-introduction/ - https://gitlab.freedesktop.org/freedesktop/freedesktop/-/wikis/home Signed-off-by: Philippe Mathieu-Daudé --- tests/docker/dockerfiles/debian-amd64.docker | 2 +- 1 file

[PATCH 3/3] tests/docker: Update VirGL to v0.8.0

2020-02-12 Thread Philippe Mathieu-Daudé
Building the qemu:debian-amd64 fails when building VirGL: make[2]: Entering directory '/usr/src/virglrenderer/src/gallium/auxiliary' CC cso_cache/cso_cache.lo CC cso_cache/cso_hash.lo CC os/os_misc.lo CC util/u_debug.lo CC

[PATCH 0/3] tests/docker: Fix linking with VirGL

2020-02-12 Thread Philippe Mathieu-Daudé
We link with VirGL in our debian-amd64 (cross-host) docker image. This series includes few fixes to keep testing it. Philippe Mathieu-Daudé (3): tests/docker: Update VirGL git repository URL tests/docker: Remove obsolete VirGL --with-glx configure option tests/docker: Update VirGL to

How do UEFI on Windows host

2020-02-12 Thread Jerry Geis
How do I start a UEFI install (centos 8) for UEFI with 4.2.0 on Windows host ??? I can do a regular install just fine. I desire to do UEFI install. Thanks, Jerry

Re: [PATCH v2 21/35] target/riscv: Add hypvervisor trap support

2020-02-12 Thread Palmer Dabbelt
On Fri, 31 Jan 2020 17:02:30 PST (-0800), Alistair Francis wrote: Signed-off-by: Alistair Francis --- target/riscv/cpu_helper.c | 69 +-- 1 file changed, 59 insertions(+), 10 deletions(-) diff --git a/target/riscv/cpu_helper.c b/target/riscv/cpu_helper.c

Re: [PATCH 2/2] target/arm: Use tcg_gen_gvec_5_ptr for sve FMLA/FCMLA

2020-02-12 Thread Richard Henderson
On 2/12/20 2:50 AM, Alex Bennée wrote: > > Richard Henderson writes: > >> Now that we can pass 7 parameters, do not encode register >> operands within simd_data. > > What defines the upper limit? Is it the ABI of the backend or just the > efficiency of implementing the prologue for the call?

Re: [PATCH v1 0/5] testing/next (rcutorture and misc tweaks)

2020-02-12 Thread Alex Bennée
Alex Bennée writes: > Hi, > > The current state of testing/next is mostly a rubber duck exercise as > I tried to figure out what might cause the rcutorture test to fail. > The only real practical change is asserting we are never about to > reset and existing active RCU structure. So far I

Re: [PATCH v4 4/4] target/riscv: add vector configure instruction

2020-02-12 Thread Richard Henderson
On 2/12/20 12:09 AM, LIU Zhiwei wrote: > > > On 2020/2/12 0:56, Richard Henderson wrote: >> On 2/10/20 8:12 AM, LIU Zhiwei wrote: >>>   static inline void cpu_get_tb_cpu_state(CPURISCVState *env, target_ulong >>> *pc, >>> -    target_ulong *cs_base, uint32_t

Re: [PATCH] target/i386: enable monitor and ucode revision with -cpu max

2020-02-12 Thread Eduardo Habkost
On Wed, Feb 12, 2020 at 04:23:29PM +0100, Paolo Bonzini wrote: > These two features were incorrectly tied to host_cpuid_required rather than > cpu->max_features. As a result, -cpu max was not enabling either MONITOR > features or ucode revision. > > Signed-off-by: Paolo Bonzini Reviewed-by:

[PATCH 3/3] pnv/phb3: Add missing break statement

2020-02-12 Thread Greg Kurz
We obviously don't want to print out an error message if addr points to a valid register. Reported-by: Coverity CID 1419391 Missing break in switch Fixes: 9ae1329ee2fe "ppc/pnv: Add models for POWER8 PHB3 PCIe Host bridge" Signed-off-by: Greg Kurz --- hw/pci-host/pnv_phb3_pbcq.c |1 + 1

Re: [PATCH qemu v6 5/6] spapr: Allow changing offset for -kernel image

2020-02-12 Thread Fabiano Rosas
Alexey Kardashevskiy writes: > This allows moving the kernel in the guest memory. The option is useful > for step debugging (as Linux is linked at 0x0); it also allows loading > grub which is normally linked to run at 0x2. > +1, as this fixes half of the '-S' debugging issue. > This uses

[PATCH 1/3] pnv/phb3: Convert 1u to 1ull

2020-02-12 Thread Greg Kurz
As reported by Coverity defect CID 1419397, the 'j' variable goes up to 63 and shouldn't be used to left shift a 32-bit integer. The result of the operation goes to a 64-bit integer : use a 64-bit constant. Reported-by: Coverity CID 1419397 Bad bit shift operation Fixes: 9ae1329ee2fe "ppc/pnv:

[PATCH 2/3] pnv/phb4: Fix error path in pnv_pec_realize()

2020-02-12 Thread Greg Kurz
Obviously, we want to pass _err so that we can check it then line below, not errp. Reported-by: Coverity CID 1419395 'Constant' variable guards dead code Fixes: 4f9924c4d4cf "ppc/pnv: Add models for POWER9 PHB4 PCIe Host bridge" Signed-off-by: Greg Kurz --- hw/pci-host/pnv_phb4_pec.c |2 +-

[PATCH 0/3] pnv: Fix a couple of issues reported by Coverity

2020-02-12 Thread Greg Kurz
This fixes some issues in the PHB3 and PHB4 code that was merged recently. -- Greg --- Greg Kurz (3): pnv/phb3: Convert 1u to 1ull pnv/phb4: Fix error path in pnv_pec_realize() pnv/phb3: Add missing break statement hw/pci-host/pnv_phb3_msi.c |2 +-

Re: [PULL 34/35] target/ppc: Use probe_write for DCBZ

2020-02-12 Thread Greg Kurz
On Mon, 3 Feb 2020 17:11:22 +1100 David Gibson wrote: > From: Richard Henderson > > Using probe_write instead of tlb_vaddr_to_host means that we > process watchpoints and notdirty pages more efficiently. > > Signed-off-by: Richard Henderson > Message-Id:

Question about (and problem with) pflash data access

2020-02-12 Thread Guenter Roeck
Hi, I have been playing with pflash recently. For the most part it works, but I do have an odd problem when trying to instantiate pflash on sx1. My data file looks as follows. 000 0001 020 * 0002000 0002

Re: [PATCH qemu v6 2/6] ppc/spapr: Move GPRs setup to one place

2020-02-12 Thread Fabiano Rosas
Alexey Kardashevskiy writes: > At the moment "pseries" starts in SLOF which only expects the FDT blob > pointer in r3. As we are going to introduce a OpenFirmware support in > QEMU, we will be booting OF clients directly and these expect a stack > pointer in r1, the OF entry point in r5 and in

Re: [PATCH] MAINTAINERS: Orphan MIPS KVM CPUs

2020-02-12 Thread Philippe Mathieu-Daudé
Cc'ing qemu-trivial@ & Paolo. On Sat, Dec 21, 2019 at 5:42 PM James Hogan wrote: > > I haven't been active for 18 months, and don't have the hardware set up > to test KVM for MIPS, so mark it as orphaned and remove myself as > maintainer. Hopefully somebody from MIPS can pick this up. > >

[Bug 1857811] Re: qemu user static binary seems to lack support for network namespace.

2020-02-12 Thread Laurent Vivier
I've copied the file portage-2.3.84/build/lib.linux- x86_64-3.7/portage/util/netlink.py from portage to my local directory and run the following script: cat > rtnetlink.py < bind(3, {sa_family=AF_NETLINK, nl_pid=0, nl_groups=}, 12) = 0 sendto(3, {{len=38, type=0x12 /* NLMSG_??? */,

Re: [PATCH v2 1/7] exec: Fix for qemu_ram_resize() callback

2020-02-12 Thread David Hildenbrand
On 12.02.20 18:07, Shameerali Kolothum Thodi wrote: > > >> -Original Message- >> From: David Hildenbrand [mailto:da...@redhat.com] >> Sent: 10 February 2020 09:54 >> To: Shameerali Kolothum Thodi ; >> Igor Mammedov >> Cc: peter.mayd...@linaro.org; xiaoguangrong.e...@gmail.com; >>

Re: [PATCH v2 fixed 00/16] Ram blocks with resizable anonymous allocations under POSIX

2020-02-12 Thread David Hildenbrand
On 12.02.20 14:42, David Hildenbrand wrote: > We already allow resizable ram blocks for anonymous memory, however, they > are not actually resized. All memory is mmaped() R/W, including the memory > exceeding the used_length, up to the max_length. > > When resizing, effectively only the boundary

[Bug 1862986] [NEW] qemu-s390x crashes when run on aarch64

2020-02-12 Thread Marco
Public bug reported: All tested versions (2.11 and 4.2) qemu-s390x crashes with a segfault when run on an aarch64 odroid Ubuntu. Steps to reproduce: root@odroid:~/workspace/bitcoin-core# /usr/local/bin/qemu-s390x

Re: [PATCH] docs: Fix virtiofsd.1 location

2020-02-12 Thread Peter Maydell
On Wed, 12 Feb 2020 at 16:51, Philippe Mathieu-Daudé wrote: > We stopped testing in-tree builds 2 months ago: > > commit bc4486fb233573e77b6e9ad6d6379afb5e37ad8c > Author: Paolo Bonzini > Date: Wed Dec 11 15:33:49 2019 +0100 > > ci: build out-of-tree > > Most developers are using

RE: [RFC PATCH 29/66] Hexagon opcode data structures

2020-02-12 Thread Taylor Simpson
> -Original Message- > From: Philippe Mathieu-Daudé > Sent: Tuesday, February 11, 2020 1:41 AM > To: Taylor Simpson ; qemu-devel@nongnu.org > Cc: richard.hender...@linaro.org; laur...@vivier.eu; riku.voi...@iki.fi; > aleksandar.m.m...@gmail.com > Subject: Re: [RFC PATCH 29/66] Hexagon

[PULL 5/5] MAINTAINERS: Add maintainer entry for Goldfish RTC

2020-02-12 Thread Palmer Dabbelt
From: Anup Patel Add myself as Goldfish RTC maintainer until someone else is willing to maintain it. Signed-off-by: Anup Patel Reviewed-by: Alistair Francis Signed-off-by: Palmer Dabbelt --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS

[PULL 4/5] riscv: virt: Use Goldfish RTC device

2020-02-12 Thread Palmer Dabbelt
From: Anup Patel We extend QEMU RISC-V virt machine by adding Goldfish RTC device to it. This will allow Guest Linux to sync it's local date/time with Host date/time via RTC device. Signed-off-by: Anup Patel Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt Reviewed-by: Alistair Francis

[PULL] RISC-V Patches for the 5.0 Soft Freeze, Part 2

2020-02-12 Thread Palmer Dabbelt
The following changes since commit 81a23caf47956778c5a5056ad656d1ef92bf9659: Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging (2020-02-10 17:08:51 +) are available in the Git repository at: g...@github.com:palmer-dabbelt/qemu.git

[PULL 1/5] riscv/virt: Add syscon reboot and poweroff DT nodes

2020-02-12 Thread Palmer Dabbelt
From: Anup Patel The SiFive test device found on virt machine can be used by generic syscon reboot and poweroff drivers available in Linux kernel. This patch updates FDT generation in virt machine so that Linux kernel can probe and use generic syscon drivers. Signed-off-by: Anup Patel

[PULL 3/5] hw: rtc: Add Goldfish RTC device

2020-02-12 Thread Palmer Dabbelt
From: Anup Patel This patch adds model for Google Goldfish virtual platform RTC device. We will be adding Goldfish RTC device to the QEMU RISC-V virt machine for providing real date-time to Guest Linux. The corresponding Linux driver for Goldfish RTC device is already available in upstream

[PULL 2/5] riscv: Separate FPU register size from core register size in gdbstub [v2]

2020-02-12 Thread Palmer Dabbelt
From: Keith Packard The size of the FPU registers is dictated by the 'f' and 'd' features, not the core processor register size. Processors with the 'd' feature have 64-bit FPU registers. Processors without the 'd' feature but with the 'f' feature have 32-bit FPU registers. Signed-off-by: Keith

RE: [PATCH v2 1/7] exec: Fix for qemu_ram_resize() callback

2020-02-12 Thread Shameerali Kolothum Thodi
> -Original Message- > From: David Hildenbrand [mailto:da...@redhat.com] > Sent: 10 February 2020 09:54 > To: Shameerali Kolothum Thodi ; > Igor Mammedov > Cc: peter.mayd...@linaro.org; xiaoguangrong.e...@gmail.com; > m...@redhat.com; shannon.zha...@gmail.com; qemu-devel@nongnu.org; >

Re: [PATCH] docs: Fix virtiofsd.1 location

2020-02-12 Thread Philippe Mathieu-Daudé
On 2/12/20 5:02 PM, Peter Maydell wrote: On Wed, 12 Feb 2020 at 14:28, Daniel P. Berrangé wrote: On Wed, Feb 12, 2020 at 02:18:19PM +, Peter Maydell wrote: On Wed, 12 Feb 2020 at 13:16, Miroslav Rezanina wrote: Patch 6a7e2bbee5 docs: add virtiofsd(1) man page introduced new man page

RE: [PATCH v3 0/4] linux-user: fix use of SIGRTMIN

2020-02-12 Thread Taylor Simpson
Tested-by: Taylor Simpson > -Original Message- > From: Laurent Vivier > Sent: Wednesday, February 12, 2020 6:57 AM > To: qemu-devel@nongnu.org > Cc: Aleksandar Markovic ; Laurent Vivier > ; Matus Kysel ; > milos.stojano...@rt-rk.com; Riku Voipio ; Josh Kunz > ; Taylor Simpson ; Peter

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-12 Thread Philippe Mathieu-Daudé
On 2/12/20 5:43 PM, Laurent Vivier wrote: Le 12/02/2020 à 17:08, Philippe Mathieu-Daudé a écrit : On 2/12/20 5:03 PM, Laurent Vivier wrote: Le 12/02/2020 à 16:56, Philippe Mathieu-Daudé a écrit : On 2/4/20 10:19 PM, Laurent Vivier wrote: "The purpose of this option is to allow an application

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-12 Thread Laurent Vivier
Le 12/02/2020 à 17:08, Philippe Mathieu-Daudé a écrit : > On 2/12/20 5:03 PM, Laurent Vivier wrote: >> Le 12/02/2020 à 16:56, Philippe Mathieu-Daudé a écrit : >>> On 2/4/20 10:19 PM, Laurent Vivier wrote: "The purpose of this option is to allow an application to obtain the security

[PULL 8/9] target/i386: check for availability of MSR_IA32_UCODE_REV as an emulated MSR

2020-02-12 Thread Paolo Bonzini
Even though MSR_IA32_UCODE_REV has been available long before Linux 5.6, which added it to the emulated MSR list, a bug caused the microcode version to revert to 0x1 on INIT. As a result, processors other than the bootstrap processor would not see the host microcode revision; some Windows

[PULL 9/9] target/i386: enable monitor and ucode revision with -cpu max

2020-02-12 Thread Paolo Bonzini
These two features were incorrectly tied to host_cpuid_required rather than cpu->max_features. As a result, -cpu max was not enabling either MONITOR features or ucode revision. Signed-off-by: Paolo Bonzini --- target/i386/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PULL 1/9] vl: Don't mismatch g_strsplit()/g_free()

2020-02-12 Thread Paolo Bonzini
From: Pan Nengyuan It's a mismatch between g_strsplit and g_free, it will cause a memory leak as follow: [root@localhost]# ./aarch64-softmmu/qemu-system-aarch64 -accel help Accelerators supported in QEMU binary: tcg kvm =

[PULL 4/9] minikconf: accept alnum identifiers

2020-02-12 Thread Paolo Bonzini
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Signed-off-by: Paolo Bonzini --- scripts/minikconf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/minikconf.py b/scripts/minikconf.py index 40ae1989e1..febd9a479f 100644 --- a/scripts/minikconf.py +++

[PULL 7/9] target/i386: fix TCG UCODE_REV access

2020-02-12 Thread Paolo Bonzini
This was a very interesting semantic conflict that caused git to move the MSR_IA32_UCODE_REV read to helper_wrmsr. Not a big deal, but still should be fixed... Fixes: 4e45aff398 ("target/i386: add a ucode-rev property", 2020-01-24) Message-id: <20200206171022.9289-1-pbonz...@redhat.com>

[PULL 6/9] build: move TARGET_GPROF to config-host.mak

2020-02-12 Thread Paolo Bonzini
TARGET_GPROF is the same for all targets, write it to config-host.mak instead. Reviewed-by: Alex Bennée Reviewed-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Message-id: <20200204161104.21077-1-pbonz...@redhat.com> Signed-off-by: Paolo Bonzini --- bsd-user/syscall.c | 6 +++---

[PULL 3/9] Remove support for CLOCK_MONOTONIC not being defined

2020-02-12 Thread Paolo Bonzini
From: Peter Maydell Some older parts of QEMU's codebase assume that CLOCK_MONOTONIC might not be defined by the host OS, and have workarounds to deal with this. However, more recently (notably in commit 50290c002c045280f8d for qemu-img in mid-2019, but also much earlier in 2011 in commit

[PULL 5/9] exec: do not define use_icount for user-mode emulation

2020-02-12 Thread Paolo Bonzini
use_icount is also defined by stubs/cpu-get-icount.c, we do not need to have a useless definition in exec.c. Signed-off-by: Paolo Bonzini Message-id: <20200204161036.20889-1-pbonz...@redhat.com> Reviewed-by: Alex Bennée --- exec.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[PULL 0/9] Mini misc patches queue for 2020-02-12

2020-02-12 Thread Paolo Bonzini
The following changes since commit 7bd9d0a9e26c7a3c67c0f174f0009ba19969b158: Merge remote-tracking branch 'remotes/huth-gitlab/tags/pull-request-2020-02-04' into staging (2020-02-04 16:12:31 +) are available in the Git repository at: git://github.com/bonzini/qemu.git tags/for-upstream

[PULL 2/9] seqlock: fix seqlock_write_unlock_impl function

2020-02-12 Thread Paolo Bonzini
From: Luc Michel The seqlock write unlock function was incorrectly calling seqlock_write_begin() instead of seqlock_write_end(), and was releasing the lock before incrementing the sequence. This could lead to a race condition and a corrupted sequence number becoming odd even though the lock is

[Bug 1862979] [NEW] Cannot Create Socket Networking in Windows Host using Multicast

2020-02-12 Thread Faisal Al-Humaimidi
Public bug reported: Hello QEMU devs, I am trying to create a simulated VLAN using socket networking, and the only way to connect multiple networks in QEMU using socket networking is by using the multicast `mcast` option of the `socket` network backend. However, when I try use the following

RE: [PATCH 1/2] tcg: Add tcg_gen_gvec_5_ptr

2020-02-12 Thread Taylor Simpson
Reviewed-by: Taylor Simpson > -Original Message- > From: Richard Henderson > Sent: Tuesday, February 11, 2020 8:52 PM > To: qemu-devel@nongnu.org > Cc: peter.mayd...@linaro.org; alex.ben...@linaro.org; Taylor Simpson > > Subject: [PATCH 1/2] tcg: Add tcg_gen_gvec_5_ptr > > Extend the

RE: [PATCH 2/2] target/arm: Use tcg_gen_gvec_5_ptr for sve FMLA/FCMLA

2020-02-12 Thread Taylor Simpson
Reviewed-by: Taylor Simpson > -Original Message- > From: Richard Henderson > Sent: Tuesday, February 11, 2020 8:52 PM > To: qemu-devel@nongnu.org > Cc: peter.mayd...@linaro.org; alex.ben...@linaro.org; Taylor Simpson > > Subject: [PATCH 2/2] target/arm: Use tcg_gen_gvec_5_ptr for sve >

Re: [PATCH] hw/char/exynos4210_uart: Fix memleaks in exynos4210_uart_init

2020-02-12 Thread Eduardo Habkost
On Wed, Feb 12, 2020 at 08:39:55AM +0100, Philippe Mathieu-Daudé wrote: > Cc'ing Eduardo & Markus. > > On 2/12/20 7:44 AM, Chenqun (kuhn) wrote: > > > -Original Message- > > > From: Philippe Mathieu-Daudé [mailto:phi...@redhat.com] > > > Sent: Wednesday, February 12, 2020 2:16 PM > > >

[PULL 09/10] ui: deprecate legacy -show-cursor option

2020-02-12 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann Reviewed-by: Ján Tomko --- vl.c | 2 ++ qemu-deprecated.texi | 5 + 2 files changed, 7 insertions(+) diff --git a/vl.c b/vl.c index 62efcd15c0bf..001be469c2e9 100644 --- a/vl.c +++ b/vl.c @@ -3562,6 +3562,8 @@ int main(int argc, char **argv,

[PULL 10/10] ui/cocoa: Drop workarounds for pre-10.12 OSX

2020-02-12 Thread Gerd Hoffmann
From: Peter Maydell Our official OSX support policy covers the last two released versions. Currently that is 10.14 and 10.15. We also may work on older versions, but don't guarantee it. In commit 50290c002c045280f8d in mid-2019 we introduced some uses of CLOCK_MONOTONIC which incidentally

[PULL 07/10] ui/gtk: implement show-cursor option

2020-02-12 Thread Gerd Hoffmann
When specified just set null_cursor to NULL so we get the default pointer instead of a blank pointer. Signed-off-by: Gerd Hoffmann Reviewed-by: Ján Tomko --- ui/gtk.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ui/gtk.c b/ui/gtk.c index

[PULL 03/10] ui: add show-cursor option

2020-02-12 Thread Gerd Hoffmann
When enabled, this forces showing the mouse cursor, i.e. do not hide the pointer on mouse grabs. Defaults to off. Signed-off-by: Gerd Hoffmann Reviewed-by: Markus Armbruster Reviewed-by: Ján Tomko --- qapi/ui.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qapi/ui.json

[PULL 06/10] ui/cocoa: switch to new show-cursor option

2020-02-12 Thread Gerd Hoffmann
Use DisplayOpts settings to set the new file-global cursor_hide variable, stop using the qemu-global cursor_hide variable. Signed-off-by: Gerd Hoffmann Reviewed-by: Ján Tomko --- ui/cocoa.m | 4 1 file changed, 4 insertions(+) diff --git a/ui/cocoa.m b/ui/cocoa.m index

[PULL 02/10] ui/gtk: Fix gd_refresh_rate_millihz() when widget window is not realized

2020-02-12 Thread Gerd Hoffmann
From: Philippe Mathieu-Daudé gtk_widget_get_window() returns NULL if the widget's window is not realized, and QEMU crashes. Example under gtk 3.22.30 (mate 1.20.1): qemu-system-x86_64: Gdk: gdk_window_get_origin: assertion 'GDK_IS_WINDOW (window)' failed (gdb) bt #0 0x7496cf70

[PULL 00/10] Ui 20200212 patches

2020-02-12 Thread Gerd Hoffmann
The following changes since commit e18e5501d8ac692d32657a3e1ef545b14e72b730: Merge remote-tracking branch 'remotes/dgilbert-gitlab/tags/pull-virtiofs-20200210' into staging (2020-02-10 18:09:14 +) are available in the Git repository at: git://git.kraxel.org/qemu tags/ui-20200212-pull

[PULL 04/10] ui: wire up legacy -show-cursor option

2020-02-12 Thread Gerd Hoffmann
Set new show-cursor display option when legacy -show-cursor is specified on the command line. Signed-off-by: Gerd Hoffmann Reviewed-by: Ján Tomko --- vl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vl.c b/vl.c index 7dcb0879c497..5419b3d68200 100644 --- a/vl.c +++ b/vl.c @@ -3554,6

[PULL 05/10] ui/sdl: switch to new show-cursor option

2020-02-12 Thread Gerd Hoffmann
Use DisplayOpts settings instead of cursor_hide global variable. Also make "-display sdl,show-cursor=on" work. Signed-off-by: Gerd Hoffmann Reviewed-by: Ján Tomko --- ui/sdl2.c | 16 vl.c | 10 ++ 2 files changed, 18 insertions(+), 8 deletions(-) diff --git

[PULL 08/10] ui: drop curor_hide global variable.

2020-02-12 Thread Gerd Hoffmann
No users left. Signed-off-by: Gerd Hoffmann Reviewed-by: Ján Tomko --- include/sysemu/sysemu.h | 1 - vl.c| 2 -- 2 files changed, 3 deletions(-) diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index 6358a324a711..7956e9054ade 100644 ---

[PULL 01/10] ui/gtk: Update gd_refresh_rate_millihz() to handle VirtualConsole

2020-02-12 Thread Gerd Hoffmann
From: Philippe Mathieu-Daudé Signed-off-by: Philippe Mathieu-Daudé Tested-by: Jan Kiszka Message-id: 20200208161048.11311-2-f4...@amsat.org Signed-off-by: Gerd Hoffmann --- ui/gtk.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ui/gtk.c b/ui/gtk.c index

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-12 Thread Philippe Mathieu-Daudé
On 2/12/20 5:03 PM, Laurent Vivier wrote: Le 12/02/2020 à 16:56, Philippe Mathieu-Daudé a écrit : On 2/4/20 10:19 PM, Laurent Vivier wrote: "The purpose of this option is to allow an application to obtain the security credentials of a Unix stream socket peer.  It is analogous to SO_PEERCRED

Re: [RFC v3 13/25] intel_iommu: modify x-scalable-mode to be string option

2020-02-12 Thread Peter Xu
On Wed, Feb 12, 2020 at 07:28:24AM +, Liu, Yi L wrote: > > From: Peter Xu > > Sent: Wednesday, February 12, 2020 3:44 AM > > To: Liu, Yi L > > Subject: Re: [RFC v3 13/25] intel_iommu: modify x-scalable-mode to be string > > option > > > > On Wed, Jan 29, 2020 at 04:16:44AM -0800, Liu, Yi L

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-12 Thread Laurent Vivier
Le 12/02/2020 à 16:56, Philippe Mathieu-Daudé a écrit : > On 2/4/20 10:19 PM, Laurent Vivier wrote: >> "The purpose of this option is to allow an application to obtain the >> security credentials of a Unix stream socket peer.  It is analogous to >> SO_PEERCRED (which provides authentication using

Re: [PATCH v30 00/22] Add RX archtecture support

2020-02-12 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200212130311.127515-1-ys...@users.sourceforge.jp/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [PATCH v30 00/22] Add RX archtecture support Message-id:

Re: [PATCH] docs: Fix virtiofsd.1 location

2020-02-12 Thread Peter Maydell
On Wed, 12 Feb 2020 at 14:28, Daniel P. Berrangé wrote: > > On Wed, Feb 12, 2020 at 02:18:19PM +, Peter Maydell wrote: > > On Wed, 12 Feb 2020 at 13:16, Miroslav Rezanina wrote: > > > > > > Patch 6a7e2bbee5 docs: add virtiofsd(1) man page introduced new man > > > page virtiofsd.1.

Re: [RFC v3 03/25] hw/iommu: introduce IOMMUContext

2020-02-12 Thread Peter Xu
On Wed, Feb 12, 2020 at 07:15:13AM +, Liu, Yi L wrote: [...] > While considering your suggestion on dropping one of the two abstract > layers. I came up a new proposal as below: > > We may drop the IOMMUContext in this series, and rename DualStageIOMMUObject > to HostIOMMUContext, which is

Re: [PATCH v2] linux-user: implement TARGET_SO_PEERSEC

2020-02-12 Thread Philippe Mathieu-Daudé
On 2/4/20 10:19 PM, Laurent Vivier wrote: "The purpose of this option is to allow an application to obtain the security credentials of a Unix stream socket peer. It is analogous to SO_PEERCRED (which provides authentication using standard Unix credentials of pid, uid and gid), and extends this

Re: [PATCH v30 00/22] Add RX archtecture support

2020-02-12 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200212130311.127515-1-ys...@users.sourceforge.jp/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [PATCH v30 00/22] Add RX archtecture support Message-id:

Re: [PATCH v2] virtio: increase virtuqueue size for virtio-scsi and virtio-blk

2020-02-12 Thread Stefan Hajnoczi
On Tue, Feb 11, 2020 at 05:14:14PM +0300, Denis Plotnikov wrote: > The goal is to reduce the amount of requests issued by a guest on > 1M reads/writes. This rises the performance up to 4% on that kind of > disk access pattern. > > The maximum chunk size to be used for the guest disk accessing is

Re: [PATCH RFC 2/2] docs: rstfy vfio-ap documentation

2020-02-12 Thread Cornelia Huck
On Tue, 28 Jan 2020 19:01:42 +0100 Cornelia Huck wrote: > Move to system/, as this is mostly about configuring vfio-ap. > > Signed-off-by: Cornelia Huck > --- > MAINTAINERS | 2 +- > docs/system/index.rst| 1 + > docs/{vfio-ap.txt =>

Re: [PATCH] pc: remove erroneous seg_max_adjust setting for vhost-blk-device

2020-02-12 Thread Stefan Hajnoczi
On Tue, Feb 11, 2020 at 05:07:58PM +0300, Denis Plotnikov wrote: > vhost-blk-device isn't a part of qemu.git > > Signed-off-by: Denis Plotnikov > --- > hw/core/machine.c | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Stefan Hajnoczi signature.asc Description: PGP signature

Re: [PATCH] tracing: only allow -trace to override -D if set

2020-02-12 Thread Stefan Hajnoczi
On Tue, Feb 11, 2020 at 11:10:54AM +, Alex Bennée wrote: > Otherwise any -D settings the user may have made get ignored. > > Signed-off-by: Alex Bennée > --- > trace/control.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) Thanks, applied to my tracing tree:

Re: [RFC v3 16/25] intel_iommu: add PASID cache management infrastructure

2020-02-12 Thread Peter Xu
On Wed, Feb 12, 2020 at 08:37:30AM +, Liu, Yi L wrote: > > From: Peter Xu > > Sent: Wednesday, February 12, 2020 7:36 AM > > To: Liu, Yi L > > Subject: Re: [RFC v3 16/25] intel_iommu: add PASID cache management > > infrastructure > > > > On Wed, Jan 29, 2020 at 04:16:47AM -0800, Liu, Yi L

Re: [PATCH v30 00/22] Add RX archtecture support

2020-02-12 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200212130311.127515-1-ys...@users.sourceforge.jp/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [PATCH v30 00/22] Add RX archtecture support Message-id:

[PATCH] target/i386: enable monitor and ucode revision with -cpu max

2020-02-12 Thread Paolo Bonzini
These two features were incorrectly tied to host_cpuid_required rather than cpu->max_features. As a result, -cpu max was not enabling either MONITOR features or ucode revision. Signed-off-by: Paolo Bonzini --- target/i386/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH v30 00/22] Add RX archtecture support

2020-02-12 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200212130311.127515-1-ys...@users.sourceforge.jp/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [PATCH v30 00/22] Add RX archtecture support Message-id:

Re: [PATCH v30 00/22] Add RX archtecture support

2020-02-12 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200212130311.127515-1-ys...@users.sourceforge.jp/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [PATCH v30 00/22] Add RX archtecture support Message-id:

Re: [PATCH v30 00/22] Add RX archtecture support

2020-02-12 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200212130311.127515-1-ys...@users.sourceforge.jp/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [PATCH v30 00/22] Add RX archtecture support Message-id:

Re: [PATCH RFC 2/2] docs: rstfy vfio-ap documentation

2020-02-12 Thread Cornelia Huck
On Fri, 7 Feb 2020 16:32:18 +0100 Cornelia Huck wrote: > On Fri, 7 Feb 2020 12:43:03 + > Peter Maydell wrote: > > > On Tue, 28 Jan 2020 at 19:39, Cornelia Huck wrote: > > > > > > Move to system/, as this is mostly about configuring vfio-ap. > > > > > > Signed-off-by: Cornelia Huck

Re: [PATCH v30 00/22] Add RX archtecture support

2020-02-12 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20200212130311.127515-1-ys...@users.sourceforge.jp/ Hi, This series seems to have some coding style problems. See output below for more information: Subject: [PATCH v30 00/22] Add RX archtecture support Message-id:

Re: [PATCH] docs: Fix virtiofsd.1 location

2020-02-12 Thread Daniel P . Berrangé
On Wed, Feb 12, 2020 at 02:18:19PM +, Peter Maydell wrote: > On Wed, 12 Feb 2020 at 13:16, Miroslav Rezanina wrote: > > > > Patch 6a7e2bbee5 docs: add virtiofsd(1) man page introduced new man > > page virtiofsd.1. Unfortunately, wrong file location is used as > > source for install command.

<    1   2   3   4   >