[Qemu-devel] [PATCH v6 06/14] target/arm: Filter cycle counter based on PMCCFILTR_EL0

2018-10-10 Thread Aaron Lindsay
The pmu_counter_enabled and pmu_op_start/finish functions are generic (as opposed to PMCCNTR-specific) to allow for the implementation of other events. Signed-off-by: Aaron Lindsay Reviewed-by: Peter Maydell --- target/arm/cpu.c | 3 ++ target/arm/cpu.h | 22 +++- target/arm/help

[Qemu-devel] [PATCH v6 03/14] migration: Add post_save function to VMStateDescription

2018-10-10 Thread Aaron Lindsay
In some cases it may be helpful to modify state before saving it for migration, and then modify the state back after it has been saved. The existing pre_save function provides half of this functionality. This patch adds a post_save function to provide the second half. Signed-off-by: Aaron Lindsay

[Qemu-devel] [PATCH v6 13/14] target/arm: Implement PMSWINC

2018-10-10 Thread Aaron Lindsay
Signed-off-by: Aaron Lindsay --- target/arm/helper.c | 39 +-- 1 file changed, 37 insertions(+), 2 deletions(-) diff --git a/target/arm/helper.c b/target/arm/helper.c index 89ceb34cb9..6c2a899009 100644 --- a/target/arm/helper.c +++ b/target/arm/helper.c @@ -9

[Qemu-devel] [PATCH v6 14/14] target/arm: Send interrupts on PMU counter overflow

2018-10-10 Thread Aaron Lindsay
Setup a QEMUTimer to get a callback when we expect counters to next overflow and trigger an interrupt at that time. Signed-off-by: Aaron Lindsay --- target/arm/cpu.c| 11 target/arm/cpu.h| 7 +++ target/arm/helper.c | 126 +--- 3 files chan

[Qemu-devel] [PATCH v6 12/14] target/arm: PMU: Set PMCR.N to 4

2018-10-10 Thread Aaron Lindsay
This both advertises that we support four counters and enables them because the pmu_num_counters() reads this value from PMCR. Signed-off-by: Aaron Lindsay --- target/arm/helper.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/target/arm/helper.c b/target/arm/helper.

[Qemu-devel] [PATCH v6 10/14] target/arm: Finish implementation of PM[X]EVCNTR and PM[X]EVTYPER

2018-10-10 Thread Aaron Lindsay
Add arrays to hold the registers, the definitions themselves, access functions, and logic to reset counters when PMCR.P is set. Update filtering code to support counters other than PMCCNTR. Support migration with raw read/write functions. Signed-off-by: Aaron Lindsay Signed-off-by: Aaron Lindsay

Re: [Qemu-devel] [PATCH] machine: fix a typo

2018-10-10 Thread Eduardo Habkost
On Wed, Oct 10, 2018 at 09:10:25AM -0700, Li Qiang wrote: > Cc: qemu-triv...@nongnu.org > Signed-off-by: Li Qiang Queued, thanks. -- Eduardo

Re: [Qemu-devel] [PATCH v3 4/4] MAINTAINERS: Voluntary to review hobbyist MIPS contributions

2018-10-10 Thread Philippe Mathieu-Daudé
Eric corrected s/Voluntary/Volunteer/ in the subject line. On 9/30/18 11:47 PM, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé > --- > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index ce7c351afa..2708745bf7 100644 >

Re: [Qemu-devel] [PATCH v3 0/4] mips: Increase the insn_flags holder size and clean mips-defs.h

2018-10-10 Thread Philippe Mathieu-Daudé
Ping? On 9/30/18 11:47 PM, Philippe Mathieu-Daudé wrote: > After noticing Fredrik patch [1] clashes with an ongoing work, I shared my > concerns after the current limitations of CPUMIPSState::insn_flags, having > 1 bit left to store more 'Chip specific instructions'. > > Since v2: https://lists.g

Re: [Qemu-devel] [PATCH v2 0/3] tests/vm: Improvements when KVM is not available

2018-10-10 Thread Philippe Mathieu-Daudé
Ping? On 10/1/18 1:23 AM, Philippe Mathieu-Daudé wrote: > Hi Fam, > > Since v1: > http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg03411.html > - rebased on master > - added get_default_jobs (Fam) > - dropped 'When using TCG, wait longer for a VM to start' > > Few patches I added whil

[Qemu-devel] [PATCH v3] python: Use io.StringIO

2018-10-10 Thread Philippe Mathieu-Daudé
Both Python 2.7 and 3 support the same io.StringIO to handle unicode strings. Use the common form to use indistinctly Python 2.7 or 3. http://python-future.org/compatible_idioms.html#stringio This fixes running tests on the Fedora Docker image, which uses Python3 since 356dc290f: $ make docke

[Qemu-devel] [PATCH 2/3] hw/pci-bridge/ioh3420: Remove unuseful header

2018-10-10 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-bridge/ioh3420.h | 6 -- hw/pci-bridge/ioh3420.c | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 hw/pci-bridge/ioh3420.h diff --git a/hw/pci-bridge/ioh3420.h b/hw/pci-bridge/ioh3420.h deleted file mode 100644 index

[Qemu-devel] [PATCH 0/3] pci: Add missing include and remove unuseful code

2018-10-10 Thread Philippe Mathieu-Daudé
Hi Michael, these are obvious cleanups patches. I might ressurect David's old series later: https://lists.gnu.org/archive/html/qemu-devel/2017-11/msg05277.html Regards, Phil. Philippe Mathieu-Daudé (3): hw/pci-bridge/xio3130: Remove unused functions hw/pci-bridge/ioh3420: Remove unuseful he

[Qemu-devel] [PATCH 3/3] hw/pci: Add missing include

2018-10-10 Thread Philippe Mathieu-Daudé
Noted while refactoring: CC mips-softmmu/hw/mips/gt64xxx_pci.o In file included from include/hw/pci-host/gt64xxx.h:2, from hw/mips/gt64xxx_pci.c:30: include/hw/pci/pci_bus.h:23:5: error: unknown type name ‘PCIIOMMUFunc’ PCIIOMMUFunc iommu_fn;

[Qemu-devel] [PATCH 1/3] hw/pci-bridge/xio3130: Remove unused functions

2018-10-10 Thread Philippe Mathieu-Daudé
Introduced in 48ebf2f90f8 and faf1e708d5b, these functions were never used. Remove them. Signed-off-by: Philippe Mathieu-Daudé --- hw/pci-bridge/xio3130_downstream.h | 11 --- hw/pci-bridge/xio3130_upstream.h | 10 -- hw/pci-bridge/xio3130_downstream.c | 28 +---

Re: [Qemu-devel] [Qemu-block] [PATCH v3] python: Use io.StringIO

2018-10-10 Thread Paolo Bonzini
On 10/10/2018 23:31, Philippe Mathieu-Daudé wrote: > Both Python 2.7 and 3 support the same io.StringIO to > handle unicode strings. > > Use the common form to use indistinctly Python 2.7 or 3. > > http://python-future.org/compatible_idioms.html#stringio > > This fixes running tests on the Fedor

[Qemu-devel] [PATCH 1/2] mailmap: Fix Reimar Döffinger name

2018-10-10 Thread Philippe Mathieu-Daudé
This probably happened when interpreting the utf8 name as latin1. Fixes dbbaaff6867 and f4e94dfefb6. Signed-off-by: Philippe Mathieu-Daudé --- .mailmap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.mailmap b/.mailmap index 2c2b9b1205..6f2ff22a45 100644 --- a/.mailmap ++

[Qemu-devel] [PATCH 2/2] mailmap: Split 'prefered emails' from 'original git import' section

2018-10-10 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- .mailmap | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/.mailmap b/.mailmap index 6f2ff22a45..8475adf799 100644 --- a/.mailmap +++ b/.mailmap @@ -4,26 +4,31 @@ # into proper addresses so that they are counted p

[Qemu-devel] [PATCH 0/2] mailmap: Sort and clean an utf8 encoding issue

2018-10-10 Thread Philippe Mathieu-Daudé
Hi, This amazing series sort a bit the mailmap sections, then fix Reimar Döffinger name from 2 missed commits. Regards, Phil. Philippe Mathieu-Daudé (2): mailmap: Fix Reimar Döffinger name mailmap: Split 'prefered emails' from 'original git import' section .mailmap | 24 +++---

[Qemu-devel] [PATCH v5 00/10] linux-user: strace improvements

2018-10-10 Thread Philippe Mathieu-Daudé
Hi Laurent, Few patches I'v been writting while trying to figure out this issue: http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html As usual with linux-user files, this series will trigger some checkpatch benign warnings. Regards, Phil. Since v4: - rebased on master (no change

[Qemu-devel] [PATCH v5 03/10] linux-user/strace: Add print_timezone()

2018-10-10 Thread Philippe Mathieu-Daudé
Suggested-by: Laurent Vivier Signed-off-by: Philippe Mathieu-Daudé --- linux-user/strace.c | 21 + 1 file changed, 21 insertions(+) diff --git a/linux-user/strace.c b/linux-user/strace.c index c95557bf83..10ae22263c 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c

[Qemu-devel] [PATCH v5 07/10] linux-user/strace: Add print_sockfd()

2018-10-10 Thread Philippe Mathieu-Daudé
Extract common print_sockfd() from various socket related syscalls. Signed-off-by: Philippe Mathieu-Daudé --- linux-user/strace.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/linux-user/strace.c b/linux-user/strace.c index 425c06d169..5435d01569 100644

[Qemu-devel] [PATCH v5 01/10] linux-user/syscall: Verify recvfrom(addr) is user-writable

2018-10-10 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Tested-By: Guido Günther Reviewed-by: Laurent Vivier --- linux-user/syscall.c | 5 + 1 file changed, 5 insertions(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index ae3c0dfef7..ea503381aa 100644 --- a/linux-user/syscall.c +++ b/linux-use

[Qemu-devel] [PATCH v5 02/10] linux-user/strace: Display invalid pointer in print_timeval()

2018-10-10 Thread Philippe Mathieu-Daudé
Suggested-by: Laurent Vivier Signed-off-by: Philippe Mathieu-Daudé --- linux-user/strace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linux-user/strace.c b/linux-user/strace.c index 33f4a506a2..c95557bf83 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -

[Qemu-devel] [PATCH v5 04/10] linux-user/strace: Improve settimeofday()

2018-10-10 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Tested-By: Guido Günther Reviewed-by: Laurent Vivier --- linux-user/strace.c| 13 + linux-user/strace.list | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/linux-user/strace.c b/linux-user/strace.c index 10ae22263c..ca

[Qemu-devel] [PATCH v5 05/10] linux-user/syscall: Introduce target_sockaddr_nl

2018-10-10 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Tested-By: Guido Günther --- linux-user/syscall_defs.h | 7 +++ linux-user/syscall.c | 6 -- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/linux-user/syscall_defs.h b/linux-user/syscall_defs.h index 18d434d6dc..8ddeec1bae 10064

[Qemu-devel] [PATCH v5 06/10] linux-user/strace: Dump AF_NETLINK sockaddr content

2018-10-10 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé Tested-By: Guido Günther --- linux-user/strace.c | 37 + 1 file changed, 37 insertions(+) diff --git a/linux-user/strace.c b/linux-user/strace.c index ca2cd75993..425c06d169 100644 --- a/linux-user/strace.c +++ b/linux-us

[Qemu-devel] [PATCH v5 08/10] linux-user/strace: Let print_sockaddr() have a 'last' argument

2018-10-10 Thread Philippe Mathieu-Daudé
If the format is not the syscall last argument, a comma is append. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Laurent Vivier --- linux-user/strace.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/linux-user/strace.c b/linux-user/strace.c index 5435d01569.

Re: [Qemu-devel] [PATCH] oslib-posix: Use MAP_STACK in qemu_alloc_stack() on OpenBSD

2018-10-10 Thread Brad Smith
On 10/9/2018 11:04 AM, Kamil Rytarowski wrote: On 09.10.2018 16:12, Peter Maydell wrote: On 9 October 2018 at 14:52, Kamil Rytarowski wrote: On 07.10.2018 17:37, Brad Smith wrote: Use MAP_STACK in qemu_alloc_stack() on OpenBSD. Added to -current and will be in our soon to be 6.4 release. M

Re: [Qemu-devel] [PATCH v9 0/6] monitor: enable OOB by default

2018-10-10 Thread Peter Xu
On Wed, Oct 10, 2018 at 03:27:34PM -0500, Eric Blake wrote: > On 10/10/18 2:26 PM, Eric Blake wrote: > > > > > On the other hand, when I'm trying to use a qemu binary with these > > patches applied, libvirt is hanging when trying to probe the > > capabilities of the binary, waiting for a response

Re: [Qemu-devel] [PATCH v4 02/11] qga-win: handle NULL values

2018-10-10 Thread Michael Roth
Quoting Tomáš Golembiovský (2018-10-04 06:22:29) > Handle returned NULLs properly to: > - avoid crashes in serialization. > - properly report errors to the caller > > Signed-off-by: Tomáš Golembiovský > --- > qga/commands-win32.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) >

Re: [Qemu-devel] [PATCH v4 01/11] qga-win: fix crashes when PCI info cannot be retrived

2018-10-10 Thread Michael Roth
Quoting Tomáš Golembiovský (2018-10-04 06:22:28) > The guest-get-fsinfo command collects also information about PCI > controller where the disk is attached. When this fails for some reasons > it tries to return just the partial information. However in certain > cases the pointer to the structure wa

Re: [Qemu-devel] [PATCH v2 0/2] delay monitor iothread creation

2018-10-10 Thread Peter Xu
On Fri, Sep 28, 2018 at 09:58:30AM +0200, Wolfgang Bumiller wrote: > The early monitor iothread creation conflicts with the -daemonize option > causing crashes at shutdown of a daemonized qemu instance. > These patches will delay the creation to when a monitor using it is > actually spawned. > > W

[Qemu-devel] [Bug 1797262] [NEW] qemu arm no longer able to boot RPI Kernels

2018-10-10 Thread Rob Thomas
Public bug reported: Since RPi Kernel 1.20170427, qemu is no longer able to emulate the Rasberry Pi, as the linux kernel is complaining about timing issues. Old kernel output - https://pastebin.com/wvkneNNF New kernel output - https://pastebin.com/QTwgCkV2 Note that the actual error is caused by

Re: [Qemu-devel] [PATCH v2 4/7] scripts/qemu.py: set predefined machine type based on arch

2018-10-10 Thread Cleber Rosa
On 10/10/18 11:47 AM, Cleber Rosa wrote: > > > On 10/10/18 10:28 AM, Eduardo Habkost wrote: >> On Wed, Oct 10, 2018 at 10:15:15AM -0400, Cleber Rosa wrote: >>> >>> >>> On 10/10/18 9:59 AM, Cleber Rosa wrote: On 10/10/18 9:46 AM, Eduardo Habkost wrote: > On Wed, Oct 10, 2018

Re: [Qemu-devel] [PATCH 2/2] mailmap: Split 'prefered emails' from 'original git import' section

2018-10-10 Thread Eric Blake
On 10/10/18 5:29 PM, Philippe Mathieu-Daudé wrote: In the subject: s/prefered/preferred/ Signed-off-by: Philippe Mathieu-Daudé --- .mailmap | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) + +# This section is to track prefered (or last up to date) email for

Re: [Qemu-devel] [PATCH v4 01/11] qga-win: fix crashes when PCI info cannot be retrived

2018-10-10 Thread Eric Blake
On 10/4/18 6:22 AM, Tomáš Golembiovský wrote: In the subject: s/retrived/retrieved/ The guest-get-fsinfo command collects also information about PCI controller where the disk is attached. When this fails for some reasons it tries to return just the partial information. However in certain cases

Re: [Qemu-devel] [PATCH v9 0/6] monitor: enable OOB by default

2018-10-10 Thread Eric Blake
On 10/10/18 7:05 PM, Peter Xu wrote: other than the command line that is hanging: /home/eblake/qemu/x86_64-softmmu/qemu-system-x86_64 -S -no-user-config -nodefaults -nographic -machine none,accel=kvm:tcg -qmp unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,nowait -pidfile /var/lib/l

Re: [Qemu-devel] [PATCH 1/1] i386: Add new model of Cascadelake-Server

2018-10-10 Thread Liu, Jingqi
> -Original Message- > From: Eduardo Habkost [mailto:ehabk...@redhat.com] > Sent: Thursday, October 11, 2018 4:35 AM > To: Liu, Jingqi > Cc: Xu, Tao3 ; pbonz...@redhat.com; r...@twiddle.net; > qemu-devel@nongnu.org; Robert Hoo > Subject: Re: [PATCH 1/1] i386: Add new model of Cascadelake-

[Qemu-devel] [PATCH v2 03/12] net: cadence_gem: Use uint32_t for 32bit descriptor words

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Use uint32_t instead of unsigned to describe 32bit descriptor words. Reviewed-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Edgar E. Iglesias --- hw/net/cadence_gem.c | 42 ++-- include/hw/net/cadence

[Qemu-devel] [PATCH v2 01/12] net: cadence_gem: Disable TSU feature bit

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Disable the Timestamping Unit feature bit since QEMU does not yet support it. This allows guest SW to correctly probe for its existance. Reviewed-by: Alistair Francis Signed-off-by: Edgar E. Iglesias --- hw/net/cadence_gem.c | 2 +- 1 file changed, 1 insertion(+), 1

[Qemu-devel] [PATCH v2 05/12] net: cadence_gem: Add support for extended descriptors

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Add support for extended descriptors with optional 64bit addressing and timestamping. QEMU will not yet provide timestamps (always leaving the valid timestamp bit as zero). Reviewed-by: Alistair Francis Signed-off-by: Edgar E. Iglesias --- hw/net/cadence_gem.c

[Qemu-devel] [PATCH v2 04/12] net: cadence_gem: Add macro with max number of descriptor words

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Add macro with max number of DMA descriptor words. No functional change. Reviewed-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Edgar E. Iglesias --- hw/net/cadence_gem.c | 4 ++-- include/hw/net/cadence_gem.h | 5 - 2 files cha

[Qemu-devel] [PATCH v2 02/12] net: cadence_gem: Announce availability of priority queues

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Announce the availability of the various priority queues. This fixes an issue where guest kernels would miss to configure secondary queues due to inproper feature bits. Reviewed-by: Alistair Francis Signed-off-by: Edgar E. Iglesias --- hw/net/cadence_gem.c | 6 +-

[Qemu-devel] [PATCH v2 08/12] net: cadence_gem: Announce 64bit addressing support

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Announce 64bit addressing support. Reviewed-by: Alistair Francis Signed-off-by: Edgar E. Iglesias --- hw/net/cadence_gem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/net/cadence_gem.c b/hw/net/cadence_gem.c index 550225c15b..7f96de4aff 1

[Qemu-devel] [PATCH v2 09/12] target-arm: powerctl: Enable HVC when starting CPUs to EL2

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" When QEMU provides the equivalent of the EL3 firmware, we need to enable HVCs in scr_el3 when turning on CPUs that target EL2. Reviewed-by: Peter Maydell Signed-off-by: Edgar E. Iglesias --- target/arm/arm-powerctl.c | 10 ++ 1 file changed, 10 insertions(+)

[Qemu-devel] [PATCH v2 00/12] arm: Add first models of Xilinx Versal SoC

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" This patch series adds initial support for Xilinx's Versal SoC. Xilinx is introducing Versal, an adaptive compute acceleration platform (ACAP), built on 7nm FinFET process technology. Versal ACAPs combine Scalar Processing Engines, Adaptable Hardware Engines, and Intelli

[Qemu-devel] [PATCH v2 10/12] target/arm: Add the Cortex-A72

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Add the ARM Cortex-A72. Signed-off-by: Edgar E. Iglesias --- target/arm/cpu64.c | 66 +++--- 1 file changed, 63 insertions(+), 3 deletions(-) diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index db71504cb5..44fdf0f6fa 100

Re: [Qemu-devel] [PATCH v9 0/6] monitor: enable OOB by default

2018-10-10 Thread Peter Xu
On Wed, Oct 10, 2018 at 08:17:41PM -0500, Eric Blake wrote: > On 10/10/18 7:05 PM, Peter Xu wrote: > > > > other than the command line that is hanging: > > > > > > /home/eblake/qemu/x86_64-softmmu/qemu-system-x86_64 -S -no-user-config > > > -nodefaults -nographic -machine none,accel=kvm:tcg -qmp

[Qemu-devel] [PATCH v2 06/12] net: cadence_gem: Add support for selecting the DMA MemoryRegion

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Add support for selecting the Memory Region that the GEM will do DMA to. Signed-off-by: Edgar E. Iglesias --- hw/net/cadence_gem.c | 59 ++-- include/hw/net/cadence_gem.h | 2 ++ 2 files changed, 39 insertions(+), 22 deletions(

[Qemu-devel] [PATCH v2 07/12] net: cadence_gem: Implement support for 64bit descriptor addresses

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Implement support for 64bit descriptor addresses. Reviewed-by: Alistair Francis Signed-off-by: Edgar E. Iglesias --- hw/net/cadence_gem.c | 47 1 file changed, 39 insertions(+), 8 deletions(-) diff --git a/hw/net/cadence_

[Qemu-devel] [PATCH v2 11/12] hw/arm: versal: Add a model of Xilinx Versal SoC

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Add a model of Xilinx Versal SoC. Signed-off-by: Edgar E. Iglesias --- default-configs/aarch64-softmmu.mak | 1 + hw/arm/Makefile.objs| 1 + hw/arm/xlnx-versal.c| 324 include/hw/arm/xlnx-versal.h

[Qemu-devel] [PATCH v2 12/12] hw/arm: versal: Add a virtual Xilinx Versal board

2018-10-10 Thread Edgar E. Iglesias
From: "Edgar E. Iglesias" Add a virtual Xilinx Versal board. This board is based on the Xilinx Versal SoC. The exact details of what peripherals are attached to this board will remain in control of QEMU. QEMU will generate an FDT on the fly for Linux and other software to auto-discover periphera

Re: [Qemu-devel] [PATCH v2 2/3] tests/vm: Do not abuse parallelism when KVM is not available

2018-10-10 Thread Fam Zheng
On Mon, 10/01 01:23, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé > --- > v2: Add get_default_jobs (Fam suggestion) > --- > tests/vm/basevm.py | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(-) > > diff --git a/tests/vm/basevm.py b/tests/vm/basevm.py

Re: [Qemu-devel] [Qemu-block] [PATCH v2] nvme: correct locking around completion

2018-10-10 Thread Fam Zheng
On Wed, 10/10 13:19, Paolo Bonzini wrote: > On 09/10/2018 21:37, John Snow wrote: > > > > > > On 08/14/2018 02:27 AM, Paolo Bonzini wrote: > >> nvme_poll_queues is already protected by q->lock, and > >> AIO callbacks are invoked outside the AioContext lock. > >> So remove the acquire/release pair

Re: [Qemu-devel] [Qemu-block] [PATCH v2] nvme: correct locking around completion

2018-10-10 Thread Fam Zheng
On Wed, 10/10 13:19, Paolo Bonzini wrote: > On 09/10/2018 21:37, John Snow wrote: > > > > > > On 08/14/2018 02:27 AM, Paolo Bonzini wrote: > >> nvme_poll_queues is already protected by q->lock, and > >> AIO callbacks are invoked outside the AioContext lock. > >> So remove the acquire/release pair

Re: [Qemu-devel] [PATCH v2 4/7] scripts/qemu.py: set predefined machine type based on arch

2018-10-10 Thread Eduardo Habkost
On Wed, Oct 10, 2018 at 08:17:26PM -0400, Cleber Rosa wrote: > > > On 10/10/18 11:47 AM, Cleber Rosa wrote: > > > > > > On 10/10/18 10:28 AM, Eduardo Habkost wrote: > >> On Wed, Oct 10, 2018 at 10:15:15AM -0400, Cleber Rosa wrote: > >>> > >>> > >>> On 10/10/18 9:59 AM, Cleber Rosa wrote: >

[Qemu-devel] [PATCH v2 1/1] hw/arm/virt: provide a model property in the fdt

2018-10-10 Thread Heinrich Schuchardt
According to the "Devicetree Specification, Release v0.2" 'model' is a required property of the root node. Some software like the Debian flash-kernel package rely on this property to identify boards. The patch sets the model property to 'qemu,virt'. Signed-off-by: Heinrich Schuchardt --- v2

Re: [Qemu-devel] [PATCH v2 4/7] scripts/qemu.py: set predefined machine type based on arch

2018-10-10 Thread Cleber Rosa
On 10/10/18 11:42 PM, Eduardo Habkost wrote: > On Wed, Oct 10, 2018 at 08:17:26PM -0400, Cleber Rosa wrote: >> >> >> On 10/10/18 11:47 AM, Cleber Rosa wrote: >>> >>> >>> On 10/10/18 10:28 AM, Eduardo Habkost wrote: On Wed, Oct 10, 2018 at 10:15:15AM -0400, Cleber Rosa wrote: > > >>>

Re: [Qemu-devel] [PATCH v5 0/5] Connect a PCIe host and graphics support to RISC-V

2018-10-10 Thread Andrea Bolognani
On Wed, 2018-10-10 at 12:53 -0700, Alistair wrote: > On 10/10/2018 11:47 AM, Stephen Bates wrote: > > > Strange. Is there any reason you need to use the e1000? The VirtIO > > > networking device works for me. > > > > As per above. The e1000 is there to test PCIe not networking. Unless I'

Re: [Qemu-devel] [PATCH v5 0/5] Connect a PCIe host and graphics support to RISC-V

2018-10-10 Thread Andrea Bolognani
On Wed, 2018-10-10 at 10:57 -0700, Alistair wrote: > On 10/10/2018 05:26 AM, Andrea Bolognani wrote: > > * what should libvirt look for to figure out whether or not a RISC-V > >guest will have PCI support? For aarch64 we look for the presence > >of the 'gpex-pcihost' device, but of course t

[Qemu-devel] [QEMU-PPC] [PATCH V3 2/3] target/ppc: Add one reg id for ptcr

2018-10-10 Thread Suraj Jitindar Singh
The ptcr (partition table control register) is used to store the address and size of the partition table. For nested kvm-hv we have a level 1 guest register the location of it's partition table with the hypervisor. Thus to support migration we need to be able to read this out of kvm and restore it

[Qemu-devel] [QEMU-PPC] [PATCH V3 0/3] ppc/spapr: Add support for nested kvm-hv

2018-10-10 Thread Suraj Jitindar Singh
This patch series adds the qemu support for running nested kvm-hv on a POWER9 platform with appropriate hypervisor support and migration of these guests. That is, the ability to run kvm-hv guests as guests of an operating system which is itself a kvm-hv guest. The host (L0 hypervisor) and level 1

[Qemu-devel] [QEMU-PPC] [PATCH V3 3/3] ppc/spapr_caps: Add SPAPR_CAP_NESTED_KVM_HV

2018-10-10 Thread Suraj Jitindar Singh
Add the spapr cap SPAPR_CAP_NESTED_KVM_HV to be used to control the availability of nested kvm-hv to the level 1 (L1) guest. Assuming a hypervisor with support enabled an L1 guest can be allowed to use the kvm-hv module (and thus run it's own kvm-hv guests) by setting: -machine pseries,cap-nested-

[Qemu-devel] [QEMU-PPC] [PATCH V3 1/3] target/ppc: Update linux-headers for v4.19-rc7

2018-10-10 Thread Suraj Jitindar Singh
Signed-off-by: Suraj Jitindar Singh --- linux-headers/asm-powerpc/kvm.h | 1 + linux-headers/linux/kvm.h | 1 + 2 files changed, 2 insertions(+) diff --git a/linux-headers/asm-powerpc/kvm.h b/linux-headers/asm-powerpc/kvm.h index 1b32b56a03..8c876c166e 100644 --- a/linux-headers/asm-powerp

Re: [Qemu-devel] [PATCH v2 2/2] monitor: delay monitor iothread creation

2018-10-10 Thread Markus Armbruster
Peter Xu writes: > On Fri, Sep 28, 2018 at 01:00:26PM +0400, Marc-André Lureau wrote: >> Hi >> >> On Fri, Sep 28, 2018 at 12:02 PM Wolfgang Bumiller >> wrote: >> > >> > Commit d32749deb615 moved the call to monitor_init_globals() >> > to before os_daemonize(), making it an unsuitable place to >

<    1   2   3