Re: [Qemu-devel] [Qemu-ppc] [PATCH] spapr: drop redundant statement in spapr_populate_drconf_memory()

2018-11-24 Thread David Gibson
On Fri, Nov 23, 2018 at 09:04:19AM +0100, Greg Kurz wrote: > On Fri, 23 Nov 2018 11:20:37 +1100 > David Gibson wrote: > > > On Thu, Nov 22, 2018 at 03:31:36PM +0100, Greg Kurz wrote: > > > Signed-off-by: Greg Kurz > > > > Applied to ppc-for-3.2. > > > > AFAIK, next release will be 4.0.

Re: [Qemu-devel] [RFC PATCH v2 2/3] kvm-all: Introduce kvm_set_singlestep

2018-11-24 Thread David Gibson
On Wed, Nov 21, 2018 at 04:13:46PM -0200, Fabiano Rosas wrote: > This will be used in a future patch to implement an > architecture-specific single step mechanism for POWER. > > Signed-off-by: Fabiano Rosas > --- > accel/kvm/kvm-all.c | 10 ++ > exec.c | 1 + >

Re: [Qemu-devel] [PATCH v5 23/24] hw/pvrdma: Do not clean resources on shutdown

2018-11-24 Thread Marcel Apfelbaum
On 11/22/18 2:14 PM, Yuval Shaia wrote: All resources are already cleaned at rm_fini phase. Signed-off-by: Yuval Shaia --- hw/rdma/rdma_backend.c | 21 + 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/hw/rdma/rdma_backend.c b/hw/rdma/rdma_backend.c

Re: [Qemu-devel] [PATCH v5 17/24] hw/pvrdma: Fill error code in command's response

2018-11-24 Thread Marcel Apfelbaum
On 11/22/18 2:13 PM, Yuval Shaia wrote: Driver checks error code let's set it. Signed-off-by: Yuval Shaia --- hw/rdma/vmw/pvrdma_cmd.c | 67 1 file changed, 48 insertions(+), 19 deletions(-) diff --git a/hw/rdma/vmw/pvrdma_cmd.c

Re: [Qemu-devel] [PATCH v5 23/24] hw/pvrdma: Do not clean resources on shutdown

2018-11-24 Thread Yuval Shaia
On Thu, Nov 22, 2018 at 02:14:01PM +0200, Yuval Shaia wrote: > All resources are already cleaned at rm_fini phase. Please ignore this patch, i will squash it to patch #5. > > Signed-off-by: Yuval Shaia > --- > hw/rdma/rdma_backend.c | 21 + > 1 file changed, 1

Re: [Qemu-devel] [PATCH v4 17/23] hw/pvrdma: Fill error code in command's response

2018-11-24 Thread Marcel Apfelbaum
On 11/18/18 2:28 PM, Yuval Shaia wrote: Driver checks error code let's set it. Signed-off-by: Yuval Shaia --- hw/rdma/vmw/pvrdma_cmd.c | 67 1 file changed, 48 insertions(+), 19 deletions(-) diff --git a/hw/rdma/vmw/pvrdma_cmd.c

Re: [Qemu-devel] [PATCH v3 17/23] hw/pvrdma: Fill error code in command's response

2018-11-24 Thread Marcel Apfelbaum
On 11/18/18 10:24 AM, Yuval Shaia wrote: On Sat, Nov 17, 2018 at 02:22:31PM +0200, Marcel Apfelbaum wrote: On 11/13/18 9:13 AM, Yuval Shaia wrote: Driver checks error code let's set it. Signed-off-by: Yuval Shaia --- hw/rdma/vmw/pvrdma_cmd.c | 67

Re: [Qemu-devel] [PATCH v5 05/24] hw/rdma: Add support for MAD packets

2018-11-24 Thread Yuval Shaia
On Sun, Nov 25, 2018 at 09:05:17AM +0200, Marcel Apfelbaum wrote: > > > On 11/22/18 2:13 PM, Yuval Shaia wrote: > > MAD (Management Datagram) packets are widely used by various modules > > both in kernel and in user space for example the rdma_* API which is > > used to create and maintain

Re: [Qemu-devel] [PATCH v5 13/24] hw/pvrdma: Make sure PCI function 0 is vmxnet3

2018-11-24 Thread Marcel Apfelbaum
On 11/22/18 2:13 PM, Yuval Shaia wrote: Guest driver enforces it, we should also. Signed-off-by: Yuval Shaia --- hw/rdma/vmw/pvrdma.h | 2 ++ hw/rdma/vmw/pvrdma_main.c | 12 2 files changed, 14 insertions(+) diff --git a/hw/rdma/vmw/pvrdma.h b/hw/rdma/vmw/pvrdma.h

Re: [Qemu-devel] [PATCH v5 11/24] hw/pvrdma: Add support to allow guest to configure GID table

2018-11-24 Thread Marcel Apfelbaum
On 11/22/18 2:13 PM, Yuval Shaia wrote: The control over the RDMA device's GID table is done by updating the device's Ethernet function addresses. Usually the first GID entry is determined by the MAC address, the second by the first IPv6 address and the third by the IPv4 address. Other

Re: [Qemu-devel] [PATCH v5 05/24] hw/rdma: Add support for MAD packets

2018-11-24 Thread Marcel Apfelbaum
On 11/22/18 2:13 PM, Yuval Shaia wrote: MAD (Management Datagram) packets are widely used by various modules both in kernel and in user space for example the rdma_* API which is used to create and maintain "connection" layer on top of RDMA uses several types of MAD packets. For more

Re: [Qemu-devel] [PATCH v2 15/21] pci-bridge/dec: Convert sysbus initfunction to realize function

2018-11-24 Thread maozy
Hi, Philippe On 11/24/18 12:37 AM, Philippe Mathieu-Daudé wrote: Hi Mao, On 23/11/18 16:30, Mao Zhongyi wrote: Use DeviceClass rather than SysBusDeviceClass in pci_dec_21154_device_class_init(). Cc: da...@gibson.dropbear.id.au Cc: m...@redhat.com Cc: marcel.apfelb...@gmail.com Cc:

Re: [Qemu-devel] [PATCH v6 07/13] fpu: introduce hardfloat

2018-11-24 Thread Emilio G. Cota
On Sun, Nov 25, 2018 at 01:25:25 +0100, Aleksandar Markovic wrote: > > Note: some architectures (at least PPC, there might be others) clear > > the status flags passed to softfloat before most FP operations. This > > precludes the use of hardfloat, so to avoid introducing a performance > >

Re: [Qemu-devel] [PATCH 22/22] core/sysbus: remove the SysBusDeviceClass::initpath

2018-11-24 Thread maozy
On 11/24/18 2:19 AM, Peter Maydell wrote: On Fri, 23 Nov 2018 at 18:16, Eduardo Habkost wrote: I think this is good enough for now (as long as there's a comment like Peter suggested). Allowing parent_realize to be NULL would be inconvenient to all code that uses parent_realize today. It

Re: [Qemu-devel] [PATCH v6 07/13] fpu: introduce hardfloat

2018-11-24 Thread Aleksandar Markovic
Hi, Emilio. > Note: some architectures (at least PPC, there might be others) clear > the status flags passed to softfloat before most FP operations. This > precludes the use of hardfloat, so to avoid introducing a performance > regression for those targets, we add a flag to disable hardfloat. >

[Qemu-devel] [PATCH v6 13/13] hardfloat: implement float32/64 comparison

2018-11-24 Thread Emilio G. Cota
Performance results for fp-bench: Host: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - before: cmp-single: 110.98 MFlops cmp-double: 107.12 MFlops - after: cmp-single: 506.28 MFlops cmp-double: 524.77 MFlops Note that flattening both eq and eq_signaling versions would give us extra performance

[Qemu-devel] [PATCH v6 07/13] fpu: introduce hardfloat

2018-11-24 Thread Emilio G. Cota
The appended paves the way for leveraging the host FPU for a subset of guest FP operations. For most guest workloads (e.g. FP flags aren't ever cleared, inexact occurs often and rounding is set to the default [to nearest]) this will yield sizable performance speedups. The approach followed here

[Qemu-devel] [PATCH v6 08/13] hardfloat: implement float32/64 addition and subtraction

2018-11-24 Thread Emilio G. Cota
Performance results (single and double precision) for fp-bench: 1. Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - before: add-single: 135.07 MFlops add-double: 131.60 MFlops sub-single: 130.04 MFlops sub-double: 133.01 MFlops - after: add-single: 443.04 MFlops add-double: 301.95 MFlops sub-single:

[Qemu-devel] [PATCH v6 09/13] hardfloat: implement float32/64 multiplication

2018-11-24 Thread Emilio G. Cota
Performance results for fp-bench: 1. Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - before: mul-single: 126.91 MFlops mul-double: 118.28 MFlops - after: mul-single: 258.02 MFlops mul-double: 197.96 MFlops 2. ARM Aarch64 A57 @ 2.4GHz - before: mul-single: 37.42 MFlops mul-double: 38.77 MFlops -

[Qemu-devel] [PATCH v6 11/13] hardfloat: implement float32/64 fused multiply-add

2018-11-24 Thread Emilio G. Cota
Performance results for fp-bench: 1. Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - before: fma-single: 74.73 MFlops fma-double: 74.54 MFlops - after: fma-single: 203.37 MFlops fma-double: 169.37 MFlops 2. ARM Aarch64 A57 @ 2.4GHz - before: fma-single: 23.24 MFlops fma-double: 23.70 MFlops - after:

[Qemu-devel] [PATCH v6 06/13] tests/fp: add fp-bench

2018-11-24 Thread Emilio G. Cota
These microbenchmarks will allow us to measure the performance impact of FP emulation optimizations. Note that we can measure both directly the impact on the softfloat functions (with "-t soft"), or the impact on an emulated workload (call with "-t host" and run under qemu user-mode).

[Qemu-devel] [PATCH v6 03/13] target/tricore: use float32_is_denormal

2018-11-24 Thread Emilio G. Cota
Reviewed-by: Bastian Koppelmann Signed-off-by: Emilio G. Cota --- target/tricore/fpu_helper.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/target/tricore/fpu_helper.c b/target/tricore/fpu_helper.c index df162902d6..31df462e4a 100644 ---

[Qemu-devel] [PATCH v6 04/13] softfloat: rename canonicalize to sf_canonicalize

2018-11-24 Thread Emilio G. Cota
glibc >= 2.25 defines canonicalize in commit eaf5ad0 (Add canonicalize, canonicalizef, canonicalizel., 2016-10-26). Given that we'll be including soon, prepare for this by prefixing our canonicalize() with sf_ to avoid clashing with the libc's canonicalize(). Reported-by: Bastian Koppelmann

[Qemu-devel] [PATCH v6 10/13] hardfloat: implement float32/64 division

2018-11-24 Thread Emilio G. Cota
Performance results for fp-bench: 1. Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - before: div-single: 34.84 MFlops div-double: 34.04 MFlops - after: div-single: 275.23 MFlops div-double: 216.38 MFlops 2. ARM Aarch64 A57 @ 2.4GHz - before: div-single: 9.33 MFlops div-double: 9.30 MFlops - after:

[Qemu-devel] [PATCH v6 01/13] fp-test: pick TARGET_ARM to get its specialization

2018-11-24 Thread Emilio G. Cota
This gets rid of the muladd errors due to not raising the invalid flag. - Before: Errors found in f64_mulAdd, rounding near_even, tininess before rounding: +000.0 +7FF.0 +7FF.F => +7FF.F . expected -7FF.F v [...] -

[Qemu-devel] [PATCH v6 00/13] hardfloat

2018-11-24 Thread Emilio G. Cota
v5: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02793.html Changes since v5: - Rebase on rth/tcg-next-for-4.0 - Use QEMU_FLATTEN instead of __attribute__((flatten)) - Merge rth's cleanups (thanks!). With this, we now use a union to hold {float|float32} or {double|float64} types,

[Qemu-devel] [PATCH v6 12/13] hardfloat: implement float32/64 square root

2018-11-24 Thread Emilio G. Cota
Performance results for fp-bench: Host: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz - before: sqrt-single: 42.30 MFlops sqrt-double: 22.97 MFlops - after: sqrt-single: 311.42 MFlops sqrt-double: 311.08 MFlops Here USE_FP makes a huge difference for f64's, with throughput going from ~200 MFlops to

[Qemu-devel] [PATCH v6 02/13] softfloat: add float{32, 64}_is_{de, }normal

2018-11-24 Thread Emilio G. Cota
This paves the way for upcoming work. Reviewed-by: Bastian Koppelmann Reviewed-by: Alex Bennée Signed-off-by: Emilio G. Cota --- include/fpu/softfloat.h | 20 1 file changed, 20 insertions(+) diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h index

[Qemu-devel] [PATCH v6 05/13] softfloat: add float{32, 64}_is_zero_or_normal

2018-11-24 Thread Emilio G. Cota
These will gain some users very soon. Signed-off-by: Emilio G. Cota --- include/fpu/softfloat.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h index 9eeccd88a5..38a5e99cf3 100644 --- a/include/fpu/softfloat.h +++

Re: [Qemu-devel] [PATCH] hax: Support for Linux hosts

2018-11-24 Thread Kamil Rytarowski
On 22.11.2018 08:24, Kamil Rytarowski wrote: > On 16.11.2018 13:52, Paolo Bonzini wrote: >> On 14/11/18 14:04, Alexandro Sanchez Bach wrote: >>> Intel HAXM supports now 32-bit and 64-bit Linux hosts. This patch includes >>> the corresponding userland changes. >>> >>> Since the Darwin userland

Re: [Qemu-devel] [qemu-s390x] [PATCH 0/3] vfio-ccw: support hsch/csch (kernel part)

2018-11-24 Thread Halil Pasic
On Thu, 22 Nov 2018 17:54:29 +0100 Cornelia Huck wrote: > [This is the Linux kernel part, git tree is available at > https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/vfio-ccw.git > vfio-ccw-caps > > The companion QEMU patches are available at > https://github.com/cohuck/qemu

[Qemu-devel] [Bug 1804961] Re: qemu-system-aarch64: Windows 10 ARM64 BSoD on boot while using virt-3.0

2018-11-24 Thread GH Cao
** Description changed: When I emulate a virt-3.0 machine, Windows 10 BSoD on boot, with the error code being ACPI_BIOS_ERROR(0x00A5), virt-2.12 boots fine. Windows Build: 10.0.17134.1 QEMU version: 3.0.0 Commandline: qemu-system-aarch64 -M virt -accel tcg,thread=multi -cpu

[Qemu-devel] [Bug 1804961] [NEW] qemu-system-aarch64: Windows 10 ARM64 BSoD on boot while using virt-3.0

2018-11-24 Thread GH Cao
Public bug reported: When I emulate a virt-3.0 machine, Windows 10 BSoD on boot, with the error code being ACPI_BIOS_ERROR(0x00A5), virt-2.12 boots fine. Windows Build: 10.0.17134.1 QEMU version: 3.0.0 Commandline: qemu-system-aarch64 -M virt -accel tcg,thread=multi -cpu cortex-a57 -smp 2

[Qemu-devel] [Bug 1802465] Re: typing string via VNC is unreliable

2018-11-24 Thread Gao
In my case the problem is quite subtle. Nearly every time we send the key strokes, the guest os keeps receiving space or tab or new line character. And ending part of the text is truncated, where the truncated part is fixed depending on the keystrokes we are sending. Additionally, the

Re: [Qemu-devel] [PATCH V8 00/10] add pvpanic mmio support

2018-11-24 Thread no-reply
Hi, This series failed docker-mingw@fedora build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally. Type: series Subject: [Qemu-devel] [PATCH V8 00/10] add pvpanic mmio support Message-id:

Re: [Qemu-devel] [PATCH 10/10] pvpanic : update pvpanic document

2018-11-24 Thread peng.hao2
I'm sorry to sent patches with unmodified title. Please ignore patch 1-10. I will re-send. >Add mmio support info in docs/specs/pvpanic.txt. > >Signed-off-by: Peng Hao >--- >docs/specs/pvpanic.txt | 18 +++--- >1 file changed, 15 insertions(+), 3 deletions(-) > >diff --git

[Qemu-devel] [PATCH V8 00/10] add pvpanic mmio support

2018-11-24 Thread Peng Hao
The first patches are simple cleanups: - patch 1 move the pvpanic device with the 'ocmmon objects' so we compile it once for the x86/arm/aarch64 archs, - patch 2 simply renames ISA fields/definitions to generic ones. Then instead of add/use the MMIO pvpanic

[Qemu-devel] [PATCH V8 03/10] hw/misc/pvpanic: Add the MMIO interface

2018-11-24 Thread Peng Hao
Add pvpanic new type "TYPE_PVPANIC_MMIO" Signed-off-by: Peng Hao --- hw/misc/pvpanic.c | 36 include/hw/misc/pvpanic.h | 15 +++ 2 files changed, 47 insertions(+), 4 deletions(-) diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c index

[Qemu-devel] [PATCH V8 07/10] hw/misc/pvpanic: add configure query interface

2018-11-24 Thread Peng Hao
Add configure query interface for pvpanic-mmio. Signed-off-by: Peng Hao --- include/hw/misc/pvpanic.h | 4 1 file changed, 4 insertions(+) diff --git a/include/hw/misc/pvpanic.h b/include/hw/misc/pvpanic.h index 066c707..1f20775 100644 --- a/include/hw/misc/pvpanic.h +++

[Qemu-devel] [PATCH V8 05/10] hw/arm/virt: Use the pvpanic device

2018-11-24 Thread Peng Hao
Add pvpanic device in arm virt machine. Signed-off-by: Peng Hao --- default-configs/arm-softmmu.mak | 1 + hw/arm/virt.c | 22 ++ include/hw/arm/virt.h | 1 + 3 files changed, 24 insertions(+) diff --git a/default-configs/arm-softmmu.mak

[Qemu-devel] [PATCH V8 9/10] hw/misc/pvpanic: realize the configure interface

2018-11-24 Thread Peng Hao
Add configure interface for pvpanic-mmio. In qemu command line use -device pvpanic-mmio to enable the device. Signed-off-by: Peng Hao --- hw/arm/virt-acpi-build.c | 5 - hw/arm/virt.c| 7 +++ hw/misc/pvpanic.c| 1 + 3 files changed, 8 insertions(+), 5 deletions(-)

[Qemu-devel] [PATCH V8 02/10] hw/misc/pvpanic: Cosmetic renaming

2018-11-24 Thread Peng Hao
From: Philippe Mathieu-Daudé To ease the MMIO device addition in the next patch, rename: - ISA_PVPANIC_DEVICE -> PVPANIC_ISA_DEVICE. - MemoryRegion io -> mr. Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Peng Hao --- hw/misc/pvpanic.c | 28 1 file changed,

[Qemu-devel] [PATCH V8 10/10] pvpanic : update pvpanic document

2018-11-24 Thread Peng Hao
Add mmio support info in docs/specs/pvpanic.txt. Signed-off-by: Peng Hao --- docs/specs/pvpanic.txt | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt index c7bbacc..2d06ee5 100644 --- a/docs/specs/pvpanic.txt

[Qemu-devel] [PATCH V8 04/10] hw/misc/pvpanic: moving structure definition to header file

2018-11-24 Thread Peng Hao
Move structure definition to header file uniformly Signed-off-by: Peng Hao --- hw/misc/pvpanic.c | 16 include/hw/misc/pvpanic.h | 15 +++ 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c index

[Qemu-devel] [PATCH V8 08/10] hw/misc/pvpanic: preparing for adding configure interface

2018-11-24 Thread Peng Hao
Prepare for pvpanic-mmio configure interface. Signed-off-by: Peng Hao --- hw/arm/sysbus-fdt.c | 2 ++ hw/arm/virt.c | 1 + hw/misc/pvpanic.c | 7 +++ include/hw/misc/pvpanic.h | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) diff --git

[Qemu-devel] [PATCH V8 06/10] hw/arm/virt: add pvpanic device in virt acpi table

2018-11-24 Thread Peng Hao
Add pvpanic device in virt acpi table, so when kenrel command line uses acpi=force, kernel can get info from acpi table. Signed-off-by: Peng Hao --- hw/arm/virt-acpi-build.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c

[Qemu-devel] [PATCH V8 01/10] hw/misc/pvpanic: Build the pvpanic device in $(common-obj)

2018-11-24 Thread Peng Hao
From: Philippe Mathieu-Daudé The 'pvpanic' ISA device can be use by any machine with an ISA bus. Reviewed-by: Peter Maydell Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Peng Hao --- hw/misc/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Qemu-devel] [PATCH 06/10] hw/arm/virt: add pvpanic device in virt acpi table

2018-11-24 Thread Peng Hao
Add pvpanic device in virt acpi table, so when kenrel command line uses acpi=force, kernel can get info from acpi table. Signed-off-by: Peng Hao --- hw/arm/virt-acpi-build.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c

[Qemu-devel] [PATCH 08/10] hw/misc/pvpanic: preparing for adding configure interface

2018-11-24 Thread Peng Hao
Prepare for pvpanic-mmio configure interface. Signed-off-by: Peng Hao --- hw/arm/sysbus-fdt.c | 2 ++ hw/arm/virt.c | 1 + hw/misc/pvpanic.c | 7 +++ include/hw/misc/pvpanic.h | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) diff --git

[Qemu-devel] [PATCH 02/10] hw/misc/pvpanic: Cosmetic renaming

2018-11-24 Thread Peng Hao
To ease the MMIO device addition in the next patch, rename: - ISA_PVPANIC_DEVICE -> PVPANIC_ISA_DEVICE. - MemoryRegion io -> mr. Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Peng Hao --- hw/misc/pvpanic.c | 28 1 file changed, 16 insertions(+), 12

[Qemu-devel] [PATCH 04/10] hw/misc/pvpanic: moving structure definition to header file

2018-11-24 Thread Peng Hao
Move structure definition to header file uniformly Signed-off-by: Peng Hao --- hw/misc/pvpanic.c | 16 include/hw/misc/pvpanic.h | 15 +++ 2 files changed, 15 insertions(+), 16 deletions(-) diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c index

[Qemu-devel] [PATCH 01/10] hw/misc/pvpanic: Build the pvpanic device in $(common-obj)

2018-11-24 Thread Peng Hao
The 'pvpanic' ISA device can be use by any machine with an ISA bus. Reviewed-by: Peter Maydell Signed-off-by: Philippe Mathieu-Daudé Signed-off-by: Peng Hao --- hw/misc/Makefile.objs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/misc/Makefile.objs

[Qemu-devel] [PATCH 10/10] pvpanic : update pvpanic document

2018-11-24 Thread Peng Hao
Add mmio support info in docs/specs/pvpanic.txt. Signed-off-by: Peng Hao --- docs/specs/pvpanic.txt | 18 +++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt index c7bbacc..2d06ee5 100644 --- a/docs/specs/pvpanic.txt

[Qemu-devel] [PATCH 05/10] hw/arm/virt: Use the pvpanic device

2018-11-24 Thread Peng Hao
Add pvpanic device in arm virt machine. Signed-off-by: Peng Hao --- default-configs/arm-softmmu.mak | 1 + hw/arm/virt.c | 22 ++ include/hw/arm/virt.h | 1 + 3 files changed, 24 insertions(+) diff --git a/default-configs/arm-softmmu.mak

[Qemu-devel] [PATCH] hw/misc/pvpanic: realize the configure interface

2018-11-24 Thread Peng Hao
Add configure interface for pvpanic-mmio. In qemu command line use -device pvpanic-mmio to enable the device. Signed-off-by: Peng Hao --- hw/arm/virt-acpi-build.c | 5 - hw/arm/virt.c| 7 +++ hw/misc/pvpanic.c| 1 + 3 files changed, 8 insertions(+), 5 deletions(-)

[Qemu-devel] [PATCH 03/10] hw/misc/pvpanic: Add the MMIO interface

2018-11-24 Thread Peng Hao
Add pvpanic new type "TYPE_PVPANIC_MMIO" Signed-off-by: Peng Hao --- hw/misc/pvpanic.c | 36 include/hw/misc/pvpanic.h | 15 +++ 2 files changed, 47 insertions(+), 4 deletions(-) diff --git a/hw/misc/pvpanic.c b/hw/misc/pvpanic.c index

[Qemu-devel] [PATCH 07/10] hw/misc/pvpanic: add configure query interface

2018-11-24 Thread Peng Hao
Add configure query interface for pvpanic-mmio. Signed-off-by: Peng Hao --- include/hw/misc/pvpanic.h | 4 1 file changed, 4 insertions(+) diff --git a/include/hw/misc/pvpanic.h b/include/hw/misc/pvpanic.h index 066c707..1f20775 100644 --- a/include/hw/misc/pvpanic.h +++