Re: [Qemu-devel] [PATCH v3 2/5] util: introduce threaded workqueue

2018-11-25 Thread Xiao Guangrong
On 11/23/18 7:02 PM, Dr. David Alan Gilbert wrote: +#include "qemu/osdep.h" +#include "qemu/bitmap.h" +#include "qemu/threaded-workqueue.h" + +#define SMP_CACHE_BYTES 64 That's architecture dependent isn't it? Yes, it's arch dependent indeed. I just used 64 for simplification and i

Re: [Qemu-devel] [PATCH for-3.1 17/25] MAINTAINERS: Add a missing entry to SPICE

2018-11-25 Thread Gerd Hoffmann
On Sun, Nov 25, 2018 at 09:49:52PM +0100, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 2795135a09..28e5038c73 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS >

Re: [Qemu-devel] [PATCH v5 04/36] ppc/xive: introduce the XiveRouter model

2018-11-25 Thread David Gibson
On Fri, Nov 23, 2018 at 11:28:24AM +0100, Cédric Le Goater wrote: > On 11/23/18 2:10 AM, David Gibson wrote: > > On Thu, Nov 22, 2018 at 05:50:07PM +1100, Benjamin Herrenschmidt wrote: > >> On Thu, 2018-11-22 at 15:44 +1100, David Gibson wrote: > >>> > >>> Sorry, didn't think of this in my first

Re: [Qemu-devel] [PATCH v5 06/36] ppc/xive: add support for the END Event State buffers

2018-11-25 Thread David Gibson
On Fri, Nov 23, 2018 at 08:28:42AM +0100, Cédric Le Goater wrote: > On 11/23/18 5:36 AM, David Gibson wrote: > > On Thu, Nov 22, 2018 at 10:58:56PM +0100, Cédric Le Goater wrote: > >> On 11/22/18 6:13 AM, David Gibson wrote: > >>> On Fri, Nov 16, 2018 at 11:56:59AM +0100, Cédric Le Goater wrote: >

Re: [Qemu-devel] [PATCH v5 02/36] ppc/xive: add support for the LSI interrupt sources

2018-11-25 Thread David Gibson
On Fri, Nov 23, 2018 at 02:28:35PM +0100, Cédric Le Goater wrote: > > +/* > + * Returns whether the event notification should be forwarded. > + */ > +static bool xive_source_lsi_trigger(XiveSource *xsrc, uint32_t > srcno) > >>> > >>> What exactly "trigger" means isn't

Re: [Qemu-devel] [PATCH 1/5] VFIO KABI for migration interface

2018-11-25 Thread Tian, Kevin
> From: Kirti Wankhede [mailto:kwankh...@nvidia.com] > Sent: Friday, November 23, 2018 4:02 AM > [...] > > > > I looked at the explanations in this patch, but still didn't get the > > intention, > e.g.: > > > > + * - VFIO_DEVICE_STATE_MIGRATION_SETUP: > > + * Transition VFIO device in

Re: [Qemu-devel] [question] live migration about redir-usb

2018-11-25 Thread linzhecheng
> -Original Message- > From: Gerd Hoffmann [mailto:kra...@redhat.com] > Sent: Monday, November 26, 2018 2:46 PM > To: linzhecheng > Cc: qemu-devel@nongnu.org; wangxin (U) ; > Zhoujian (jay) > Subject: Re: [Qemu-devel] [question] live migration about redir-usb > > On Mon, Nov 26, 2018

Re: [Qemu-devel] [question] live migration about redir-usb

2018-11-25 Thread Gerd Hoffmann
On Mon, Nov 26, 2018 at 02:29:12AM +, linzhecheng wrote: > Hi, Gerd > I have read this discussion thread about live migration in tcp mode. > https://bugzilla.redhat.com/show_bug.cgi?id=1254971 > Only spice redirection supports live migration not, but why not tcp mode? > Does usbredirserver not

Re: [Qemu-devel] [PATCH] 9p: fix QEMU crash when renaming files

2018-11-25 Thread P J P
+-- On Thu, 22 Nov 2018, Greg Kurz wrote --+ | When using the 9P2000.u version of the protocol, the following shell | command line in the guest can cause QEMU to crash: | | while true; do rm -rf aa; mkdir -p a/b & touch a/b/c & mv a aa; done | | With 9P2000.u, file renaming is handled by the

[Qemu-devel] [PATCH] kvm: Use KVM_GET_MSR_INDEX_LIST for MSR_IA32_ARCH_CAPABILITIES support

2018-11-25 Thread Bandan Das
When writing to guest's MSR_IA32_ARCH_CAPABILITIES, check whether it's supported in the guest using the KVM_GET_MSR_INDEX_LIST ioctl. Fixes: d86f963694df27f11b3681ffd225c9362de1b634 Suggested-by: Eduardo Habkost Tested-by: baldu...@units.it Signed-off-by: Bandan Das --- target/i386/kvm.c |

[Qemu-devel] [PATCH] file-posix: Check effective size in truncate operation

2018-11-25 Thread zhenwei pi
Function raw_co_truncate does not check effective size for BLK device file, and QEMU may notify guest without any size changing. Two cases can be reproduced easily by qmp command: CASE 1: 1, create a logical volume(12M) by LVM, and guest uses this volume as "vdb" 2, run qmp command : virsh

Re: [Qemu-devel] [PATCH] gtk: sync guest display updates to host display refresh

2018-11-25 Thread Chen Zhang via Qemu-devel
Update refresh interval upon frame tick; Add callback of window state events to adjust refresh rate during iconified. The callback handle is saved in struct VirtualConsole for its removal when the window is iconified. Signed-off-by: Chen Zhang --- include/ui/gtk.h | 1 + ui/gtk.c | 48

[Qemu-devel] [PATCH] riscv/cpu: use device_class_set_parent_realize

2018-11-25 Thread Mao Zhongyi
Signed-off-by: Mao Zhongyi --- target/riscv/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index a025a0a3ba..5e8a2cb2ba 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -330,8 +330,8 @@ static void

Re: [Qemu-devel] [PATCH V5_resend 0/7] nvdimm: support MAP_SYNC for memory-backend-file

2018-11-25 Thread Yi Zhang
Ping for any review/comments Thanks Yi On 2018-11-20 at 15:47:58 +0800, Zhang Yi wrote: > Linux 4.15 introduces a new mmap flag MAP_SYNC, which can be used to > guarantee the write persistence to mmap'ed files supporting DAX (e.g., > files on ext4/xfs file system mounted with '-o dax'). > > A

[Qemu-devel] [question] live migration about redir-usb

2018-11-25 Thread linzhecheng
Hi, Gerd I have read this discussion thread about live migration in tcp mode. https://bugzilla.redhat.com/show_bug.cgi?id=1254971 Only spice redirection supports live migration not, but why not tcp mode? Does usbredirserver not support it or qemu?

Re: [Qemu-devel] [PATCH] Xen PCI passthrough: fix passthrough failure when irq map failure

2018-11-25 Thread Zhao Yan
Hi Roger and Jan, Thanks for your review. You are right. I'll try the way to report PCI_INTERRUPT_PIN as 0 to the guest. Thanks Yan On Fri, Nov 23, 2018 at 03:26:44AM -0700, Jan Beulich wrote: > >>> On 23.11.18 at 11:19, wrote: > > Adding Jan in case he has an opinion on my reply below. > > I

Re: [Qemu-devel] [PATCH] hw/arm/stm32f205: Fix the UART and Timer region size

2018-11-25 Thread Seth K
Thanks for all your help and I'm glad to contribute. Seth On Tue, Nov 20, 2018 at 12:15 PM Alistair Francis wrote: > On Mon, Nov 19, 2018 at 3:35 AM Philippe Mathieu-Daudé > wrote: > > > > On Mon, Nov 19, 2018 at 12:08 PM Peter Maydell > wrote: > > > On 19 November 2018 at 10:43, Philippe

Re: [Qemu-devel] [PATCH for-3.1 08/25] MAINTAINERS: Add a missing entry for the Old World machines

2018-11-25 Thread David Gibson
On Sun, Nov 25, 2018 at 09:49:43PM +0100, Philippe Mathieu-Daudé wrote: > Signed-off-by: Philippe Mathieu-Daudé Acked-by: David Gibson > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 81a22b2ccf..aa51ae813b 100644 > ---

Re: [Qemu-devel] [PATCH v5 07/14] tests: Add bbc:microbit / nRF51 test suite

2018-11-25 Thread Steffen Görtz
Hi Thomas, thank you for your remarks! >> +int main(int argc, char **argv) >> +{ >> +int ret; >> + >> +g_test_init(, , NULL); >> + >> +global_qtest = qtest_initf("-machine microbit"); >> + >> +qtest_add_func("/microbit/nrf51/nvmc", test_nrf51_nvmc); >> + >> +ret =

Re: [Qemu-devel] [PATCH for-4.0 v2 04/37] tcg: Add TCG_TARGET_NEED_LDST_OOL_LABELS

2018-11-25 Thread Emilio G. Cota
On Fri, Nov 23, 2018 at 15:45:25 +0100, Richard Henderson wrote: > This variant of tcg-ldst.inc.c allows the entire thunk to be > moved out-of-line, with caching across TBs within a region. > > Signed-off-by: Richard Henderson > --- (snip) > +++ b/tcg/tcg-ldst-ool.inc.c (snip) > +typedef struct

Re: [Qemu-devel] [PATCH for-4.0 v2 00/37] tcg: Assorted cleanups

2018-11-25 Thread Emilio G. Cota
On Fri, Nov 23, 2018 at 15:45:21 +0100, Richard Henderson wrote: > This includes everything queued so far -- softmmu out-of-line > patches Reviewed-by: Emilio G. Cota for patches 1-9. I am sad to report that on a Skylake host, this series gives a ~10% average slowdown for x86_64-softmmu

Re: [Qemu-devel] [PATCH v5 05/14] hw/nvram/nrf51_nvm: Add nRF51 non-volatile memories

2018-11-25 Thread Steffen Görtz
Hi Peter, thank you for your remarks! >> +}; >> + >> +static uint64_t ficr_read(void *opaque, hwaddr offset > >> +value &= ~(NRF51_PAGE_SIZE - 1); >> +if (value < (s->flash_size - NRF51_PAGE_SIZE)) { >> +memset(s->storage + value / 4, 0xFF,

[Qemu-devel] [PULL 0/4] target/xtensa fixes for 3.1

2018-11-25 Thread Max Filippov
-xtensa.git tags/20181125-xtensa for you to fetch changes up to 895e4897e278572e5265e0333f5e9864be2704a6: MAINTAINERS: add missing xtensa patterns (2018-11-22 21:16:43 -0800) xtensa fixes for 3.1: - fix register counting logic for linux

[Qemu-devel] [PATCH] nvme: Only generate interupt if warranted

2018-11-25 Thread Guenter Roeck
So far the code generates interrupts even if it doesn't pass any new information to the user. This can result in spurious interrupts as sometimes observed with Linux. Only generate interrupts if warranted, ie if anything new is passed to the emulated code. Signed-off-by: Guenter Roeck ---

Re: [Qemu-devel] [PATCH for-3.1 06/25] MAINTAINERS: Add a missing entry for the Xilinx S3A-DSP 1800 machine

2018-11-25 Thread Philippe Mathieu-Daudé
On 25/11/18 23:50, Peter Maydell wrote: > On Sun, 25 Nov 2018 at 20:51, Philippe Mathieu-Daudé > wrote: >> >> Signed-off-by: Philippe Mathieu-Daudé >> --- >> MAINTAINERS | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/MAINTAINERS b/MAINTAINERS >> index 4e396cbe71..aa17e9bbd3 100644

Re: [Qemu-devel] [PATCH for-3.1 16/25] MAINTAINERS: Add missing entries for the MPS2 machine

2018-11-25 Thread Peter Maydell
On Sun, 25 Nov 2018 at 20:52, Philippe Mathieu-Daudé wrote: > > Missed in de343bb632a. > > Signed-off-by: Philippe Mathieu-Daudé > --- > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index e04f2f1a44..2795135a09 100644 > --- a/MAINTAINERS >

Re: [Qemu-devel] [PATCH for-3.1 15/25] MAINTAINERS: Add missing entries for the Canon DIGIC machine

2018-11-25 Thread Peter Maydell
On Sun, 25 Nov 2018 at 20:52, Philippe Mathieu-Daudé wrote: > > This pattern now also matches: > - include/hw/timer/digic-timer.h > - include/hw/char/digic-uart.h > > Signed-off-by: Philippe Mathieu-Daudé > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS

Re: [Qemu-devel] [PATCH for-3.1 06/25] MAINTAINERS: Add a missing entry for the Xilinx S3A-DSP 1800 machine

2018-11-25 Thread Peter Maydell
On Sun, 25 Nov 2018 at 20:51, Philippe Mathieu-Daudé wrote: > > Signed-off-by: Philippe Mathieu-Daudé > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 4e396cbe71..aa17e9bbd3 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -822,6

Re: [Qemu-devel] [PATCH v7 01/16] hw/cpu: introduce CPU clusters

2018-11-25 Thread Philippe Mathieu-Daudé
Hi Eduardo, On 23/11/18 19:10, Eduardo Habkost wrote: > Hi, > > Sorry for not reviewing this series earlier. I just stumbled > upon this part of the code: > > On Fri, Nov 23, 2018 at 10:17:14AM +0100, Luc Michel wrote: >> This commit adds the cpu-cluster type. It aims at gathering CPUs from >>

Re: [Qemu-devel] [PATCH v7 02/16] gdbstub: introduce GDB processes

2018-11-25 Thread Philippe Mathieu-Daudé
On 23/11/18 10:17, Luc Michel wrote: > Add a structure GDBProcess that represent processes from the GDB > semantic point of view. > > CPUs can be split into different processes, by grouping them under > different cpu-cluster objects. Each occurrence of a cpu-cluster object > implies the

Re: [Qemu-devel] [PATCH v7 03/16] gdbstub: add multiprocess support to '?' packets

2018-11-25 Thread Philippe Mathieu-Daudé
Hi Luc, On 23/11/18 10:17, Luc Michel wrote: > The gdb_get_cpu_pid() function does the PID lookup for the given CPU. It > checks if the CPU is a direct child of a CPU cluster. If it is, the > returned PID is the cluster ID plus one (cluster IDs start at 0, GDB > PIDs at 1). When the CPU is not a

[Qemu-devel] [PATCH for-3.1 24/25] MAINTAINERS: Use my work email to review Build and test automation patches

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ad82c0377c..c616861ca3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2388,7 +2388,7 @@ Build and test automation Build and test automation

Re: [Qemu-devel] [PATCH v7 12/16] gdbstub: add support for vAttach packets

2018-11-25 Thread Philippe Mathieu-Daudé
On 23/11/18 10:17, Luc Michel wrote: > Add support for the vAttach packets. In multiprocess mode, GDB sends > them to attach to additional processes. > > Signed-off-by: Luc Michel > Reviewed-by: Edgar E. Iglesias > Acked-by: Alistair Francis Reviewed-by: Philippe Mathieu-Daudé > --- >

[Qemu-devel] [PATCH for-3.1 23/25] MAINTAINERS: Add an entry for the Dino machine

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index a248c8c564..ad82c0377c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -879,6 +879,15 @@ F: hw/core/loader-fit.c F: hw/mips/boston.c F:

Re: [Qemu-devel] [PATCH v7 16/16] arm/xlnx-zynqmp: put APUs and RPUs in separate CPU clusters

2018-11-25 Thread Philippe Mathieu-Daudé
On 23/11/18 10:17, Luc Michel wrote: > Create two separate CPU clusters for APUs and RPUs. > > Signed-off-by: Luc Michel > Reviewed-by: Edgar E. Iglesias > --- > include/hw/arm/xlnx-zynqmp.h | 3 +++ > hw/arm/xlnx-zynqmp.c | 21 + > 2 files changed, 20

[Qemu-devel] [PATCH for-3.1 22/25] MAINTAINERS: Add a missing entry to the New World machines

2018-11-25 Thread Philippe Mathieu-Daudé
The CHRP NVRAM has his own section, but since the New World section contains the mac_nvram.c, it makes sens to also monitor the corresponding header. Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[Qemu-devel] [PATCH for-3.1 17/25] MAINTAINERS: Add a missing entry to SPICE

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2795135a09..28e5038c73 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1736,6 +1736,7 @@ F: ui/spice-*.c F: audio/spiceaudio.c F: hw/display/qxl* F:

[Qemu-devel] [PATCH for-3.1 21/25] MAINTAINERS: Add a missing entry for the NVDIMM device

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 26727c1561..92691589b1 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1475,6 +1475,7 @@ S: Maintained F: hw/acpi/nvdimm.c F: hw/mem/nvdimm.c F:

[Qemu-devel] [PATCH for-3.1 16/25] MAINTAINERS: Add missing entries for the MPS2 machine

2018-11-25 Thread Philippe Mathieu-Daudé
Missed in de343bb632a. Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e04f2f1a44..2795135a09 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -587,6 +587,8 @@ F: hw/misc/mps2-*.c F:

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

2018-11-25 Thread no-reply
Hi, This series failed docker-quick@centos7 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:

[Qemu-devel] [PATCH for-3.1 19/25] MAINTAINERS: Add a missing entry to the QMP section

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index ac5d25491f..c73dde10a5 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1887,6 +1887,7 @@ S: Supported F: qmp.c F: monitor.c F: docs/devel/*qmp-* +F:

Re: [Qemu-devel] [PATCH v7 13/16] gdbstub: processes initialization on new peer connection

2018-11-25 Thread Philippe Mathieu-Daudé
On 23/11/18 10:17, Luc Michel wrote: > When a new connection is established, we set the first process to be > attached, and the others detached. The first CPU of the first process > is selected as the current CPU. > > Signed-off-by: Luc Michel > Reviewed-by: Alistair Francis > Reviewed-by:

[Qemu-devel] [PATCH for-3.1 15/25] MAINTAINERS: Add missing entries for the Canon DIGIC machine

2018-11-25 Thread Philippe Mathieu-Daudé
This pattern now also matches: - include/hw/timer/digic-timer.h - include/hw/char/digic-uart.h Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index eab0fb9742..e04f2f1a44 100644 --- a/MAINTAINERS +++

[Qemu-devel] [PATCH for-3.1 18/25] MAINTAINERS: Add missing entries for the QObject section

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 28e5038c73..ac5d25491f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1846,12 +1846,18 @@ S: Supported F: qobject/ F:

[Qemu-devel] [PATCH for-3.1 13/25] MAINTAINERS: Add missing entries to VFIO

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bfe71f2555..e124792557 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1326,6 +1326,8 @@ M: Alex Williamson S: Supported F: hw/vfio/* F: include/hw/vfio/

[Qemu-devel] [PATCH for-3.1 25/25] MAINTAINERS: Remove duplicate entries of qemu-devel@nongnu.org

2018-11-25 Thread Philippe Mathieu-Daudé
The list is always selected by the 'All patches CC here' section. Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 13 - 1 file changed, 13 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index c616861ca3..9d6dae71ff 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -109,7

[Qemu-devel] [PATCH for-3.1 14/25] MAINTAINERS: Add missing entries to the vhost section

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index e124792557..eab0fb9742 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1359,6 +1359,7 @@ M: Michael S. Tsirkin S: Supported F: hw/*/*vhost* F:

[Qemu-devel] [PATCH for-3.1 09/25] MAINTAINERS: Add a missing entry for the sun4m machines

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa51ae813b..ba9cd9ac2b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1013,6 +1013,7 @@ F: hw/misc/eccmemctl.c F: hw/misc/slavio_misc.c F:

[Qemu-devel] [PATCH for-3.1 06/25] MAINTAINERS: Add a missing entry for the Xilinx S3A-DSP 1800 machine

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 4e396cbe71..aa17e9bbd3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -822,6 +822,7 @@ petalogix_s3adsp1800 M: Edgar E. Iglesias S: Maintained F:

[Qemu-devel] [PATCH for-3.1 20/25] MAINTAINERS: Add missing test entries to the Cryptography section

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c73dde10a5..26727c1561 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1978,6 +1978,8 @@ F: crypto/ F: include/crypto/ F: tests/test-crypto-* F:

[Qemu-devel] [PATCH for-3.1 12/25] MAINTAINERS: Add missing entries to the PC Chipset section

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9f89e37a1e..bfe71f2555 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1126,11 +1126,13 @@ F: hw/timer/hpet* F: hw/timer/i8254* F: hw/timer/mc146818rtc*

[Qemu-devel] [PATCH for-3.1 07/25] MAINTAINERS: Add a missing entry for the Fulong 2E machine

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa17e9bbd3..81a22b2ccf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -864,6 +864,7 @@ R: Stefan Markovic S: Odd Fixes F: hw/mips/mips_fulong2e.c F:

[Qemu-devel] [PATCH for-3.1 08/25] MAINTAINERS: Add a missing entry for the Old World machines

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 81a22b2ccf..aa51ae813b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -936,6 +936,7 @@ F: hw/ppc/mac_oldworld.c F: hw/pci-host/grackle.c F: hw/misc/macio/

[Qemu-devel] [PATCH for-3.1 11/25] MAINTAINERS: Add missing entries for the PC machines

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d9cddb0cc8..9f89e37a1e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1101,6 +1101,10 @@ F: hw/acpi/ich9.c F: include/hw/acpi/ich9.h F:

[Qemu-devel] [PATCH for-3.1 10/25] MAINTAINERS: Add missing entries for the sun4u machines

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ba9cd9ac2b..d9cddb0cc8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1019,6 +1019,10 @@ Sun4u M: Mark Cave-Ayland S: Maintained F: hw/sparc64/sun4u.c

[Qemu-devel] [PATCH for-3.1 05/25] MAINTAINERS: Add missing entries for the Jazz machine

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 007f89f126..4e396cbe71 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -835,6 +835,8 @@ M: Hervé Poussineau R: Stefan Markovic S: Maintained F:

[Qemu-devel] [PATCH for-3.1 04/25] MAINTAINERS: Add missing entries for the Xilinx ZynqMP machine

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3b9996ab2c..007f89f126 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -711,6 +711,9 @@ L: qemu-...@nongnu.org S: Maintained F: hw/*/xlnx*.c F:

[Qemu-devel] [PATCH for-3.1 03/25] MAINTAINERS: Add missing entries to the X86 section (AMD SEV)

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ae12323647..3b9996ab2c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -300,8 +300,10 @@ F: target/i386/ F: tests/tcg/i386/ F: tests/tcg/x86_64/ F:

[Qemu-devel] [PATCH for-3.1 02/25] MAINTAINERS: Add a missing entry to the SPARC CPU

2018-11-25 Thread Philippe Mathieu-Daudé
Signed-off-by: Philippe Mathieu-Daudé --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6c4f25fb05..ae12323647 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -281,6 +281,7 @@ S: Maintained F: target/sparc/ F: hw/sparc/ F: hw/sparc64/ +F:

[Qemu-devel] [PATCH for-3.1 00/25] MAINTAINERS: Add various missing entries

2018-11-25 Thread Philippe Mathieu-Daudé
Hi, This cleanup effort is inspired by Markus "Full list of unmaintained files" from the "MAINTAINERS leaves too many files uncovered" thread: https://lists.gnu.org/archive/html/qemu-devel/2018-11/msg04270.html Regards, Phil. Philippe Mathieu-Daudé (25): MAINTAINERS: Fix ACPI tests data

[Qemu-devel] [PATCH for-3.1 01/25] MAINTAINERS: Fix ACPI tests data files path

2018-11-25 Thread Philippe Mathieu-Daudé
Missed while moving those files in 438c78dab75. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Igor Mammedov --- MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1032406c56..6c4f25fb05 100644 --- a/MAINTAINERS +++

Re: [Qemu-devel] [PATCH] Fix for crashes and non-responsive UI on macOS Mojave

2018-11-25 Thread Peter Maydell
On Thu, 22 Nov 2018 at 07:32, Gerd Hoffmann wrote: > > Hi, > > > Something somewhere in this call chain should have taken > > the iothread lock, I assume, but I'm not sure where. > > > > Gerd -- what are the rules of the UI subsystem regarding > > multiple threads, and what threads are allowed

Re: [Qemu-devel] [PATCH v5 07/36] ppc/xive: introduce the XIVE interrupt thread context

2018-11-25 Thread Cédric Le Goater
On 11/23/18 6:08 AM, David Gibson wrote: > On Fri, Nov 16, 2018 at 11:57:00AM +0100, Cédric Le Goater wrote: >> Each POWER9 processor chip has a XIVE presenter that can generate four >> different exceptions to its threads: >> >> - hypervisor exception, >> - O/S exception >> - Event-Based

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

2018-11-25 Thread Paolo Bonzini
On 25/11/18 00:50, Kamil Rytarowski wrote: > 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

Re: [Qemu-devel] [PATCH v1 00/16] packed ring virtio-net backend support

2018-11-25 Thread Wei Xu
On Fri, Nov 23, 2018 at 01:57:37PM +0800, Wei Xu wrote: > On Thu, Nov 22, 2018 at 06:57:31PM +0100, Maxime Coquelin wrote: > > Hi Wei, > > > > I just tested your series with Tiwei's v3, and it fails > > with ctrl vq enabled: > > qemu-system-x86_64: virtio-net ctrl missing headers > > OK, I

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

2018-11-25 Thread Yuval Shaia
> > err = cmd_handlers[dsr_info->req->hdr.cmd].exec(dev, dsr_info->req, > > -dsr_info->rsp); > > +dsr_info->rsp); > > out: > > set_reg_val(dev, PVRDMA_REG_ERR, err); > > post_interrupt(dev,

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

2018-11-25 Thread Yuval Shaia
On Sun, Nov 25, 2018 at 09:29:19AM +0200, Marcel Apfelbaum wrote: > > > 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

Re: [Qemu-devel] [PULL 01/22] target/ppc: add external PID support

2018-11-25 Thread David Gibson
On Mon, Nov 19, 2018 at 04:39:29PM +, Peter Maydell wrote: > On 15 November 2018 at 10:22, Peter Maydell wrote: > > Hi; Coverity reports an issue (CID1396864) with this function: > > > >> +/* dcbfep (external PID dcbf) */ > >> +static void gen_dcbfep(DisasContext *ctx) > >> +{ > >> +/*