[PULL 5/5] multi-process: fix usage information

2021-09-27 Thread Laurent Vivier
From: Dongli Zhang >From source code, the 'devid' of x-remote-object should be one of devices in remote QEMU process. Signed-off-by: Dongli Zhang Reviewed-by: Jagannathan Raman Reviewed-by: Laurent Vivier Message-Id: <20210713004718.20381-1-dongli.zh...@oracle.com> Signed-off-by: Laurent Vivi

[PULL 3/5] hmp: Unbreak "change vnc"

2021-09-27 Thread Laurent Vivier
From: Markus Armbruster HMP command "change vnc" can take the password as argument, or prompt for it: (qemu) change vnc password 123 (qemu) change vnc password Password: *** (qemu) This regressed in commit cfb5387a1d "hmp: remove "change vnc TARGET" command", v6.0.0. (qemu)

Re: [PATCH 1/2] bsd-user: Only process meson rules on BSD host

2021-09-27 Thread Daniel P . Berrangé
On Mon, Sep 27, 2021 at 12:01:02AM +0200, Philippe Mathieu-Daudé wrote: > Reported-by: Warner Losh > Signed-off-by: Philippe Mathieu-Daudé > --- > bsd-user/meson.build | 4 > 1 file changed, 4 insertions(+) > > diff --git a/bsd-user/meson.build b/bsd-user/meson.build > index 03695493408..a

Re: [PATCH 1/2] bsd-user: Only process meson rules on BSD host

2021-09-27 Thread Peter Maydell
On Mon, 27 Sept 2021 at 10:40, Philippe Mathieu-Daudé wrote: > > On Mon, Sep 27, 2021 at 11:15 AM Peter Maydell > wrote: > > On Sun, 26 Sept 2021 at 23:04, Philippe Mathieu-Daudé > > wrote: > > > Reported-by: Warner Losh > > > Signed-off-by: Philippe Mathieu-Daudé > > > --- > > > bsd-user/m

[PULL 1/5] docs/nvdimm: Update nvdimm option value in machine example

2021-09-27 Thread Laurent Vivier
From: Pankaj Gupta Update nvdimm option value in example command from "-machine pc,nvdimm" to "-machine pc,nvdimm=on" as former complains with the below error: "qemu-system-x86_64: -machine pc,nvdimm: Expected '=' after parameter 'nvdimm'" Reviewed-by: Laurent Vivier Signed-off-by: Pankaj Gupt

[PULL 2/5] hw/loader: Restrict PC_ROM_* definitions to hw/i386/pc

2021-09-27 Thread Laurent Vivier
From: Philippe Mathieu-Daudé The PC_ROM_* definitions are only used by the PC machine, and are irrelevant to the other architectures / machines. Reduce their scope by moving them to hw/i386/pc.c. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Laurent Vivier Message-Id: <20210917185949.2244

Re: gitlab-ci: amd64-opensuse-leap-container job failing

2021-09-27 Thread Philippe Mathieu-Daudé
On 9/27/21 10:35, Daniel P. Berrangé wrote: > On Sun, Sep 26, 2021 at 07:23:56PM +0200, Philippe Mathieu-Daudé wrote: >> Hi, >> >> FYI the OpenSUSE job is failing since few days, i.e.: >> https://gitlab.com/qemu-project/qemu/-/jobs/1622345026 > It isn't confined to only SuSE. In libvirt we've had

Re: gitlab-ci: amd64-opensuse-leap-container job failing

2021-09-27 Thread Al Cho
On Mon, 2021-09-27 at 09:35 +0100, Daniel P. Berrangé wrote: > On Sun, Sep 26, 2021 at 07:23:56PM +0200, Philippe Mathieu-Daudé wrote: > > Hi, > > > > FYI the OpenSUSE job is failing since few days, i.e.: > > https://gitlab.com/qemu-project/qemu/-/jobs/1622345026 > > > >   Retrieving repository '

Re: [PATCH 1/2] bsd-user: Only process meson rules on BSD host

2021-09-27 Thread Philippe Mathieu-Daudé
On Mon, Sep 27, 2021 at 11:15 AM Peter Maydell wrote: > On Sun, 26 Sept 2021 at 23:04, Philippe Mathieu-Daudé wrote: > > Reported-by: Warner Losh > > Signed-off-by: Philippe Mathieu-Daudé > > --- > > bsd-user/meson.build | 4 > > 1 file changed, 4 insertions(+) > > > > diff --git a/bsd-us

Re: [PULL 1/5] hw/pcie-root-port: Fix hotplug for PCI devices requiring IO

2021-09-27 Thread Daniel P . Berrangé
On Tue, Aug 03, 2021 at 04:52:03PM -0400, Michael S. Tsirkin wrote: > From: Marcel Apfelbaum > > Q35 has now ACPI hotplug enabled by default for PCI(e) devices. > As opposed to native PCIe hotplug, guests like Fedora 34 > will not assign IO range to pcie-root-ports not supporting > native hotplug

Re: [PATCH v2 0/6] iotests: update environment and linting configuration

2021-09-27 Thread Kevin Wolf
Am 24.09.2021 um 20:13 hat John Snow geschrieben: > On Thu, Sep 23, 2021 at 2:07 PM John Snow wrote: > > > GitLab: https://gitlab.com/jsnow/qemu/-/commits/python-package-iotest-pt1 > > CI: https://gitlab.com/jsnow/qemu/-/pipelines/376236687 > > > > This series partially supersedes: > > [PATCH v

Re: [PATCH 1/2] bsd-user: Only process meson rules on BSD host

2021-09-27 Thread Peter Maydell
On Sun, 26 Sept 2021 at 23:04, Philippe Mathieu-Daudé wrote: > > Reported-by: Warner Losh > Signed-off-by: Philippe Mathieu-Daudé > --- > bsd-user/meson.build | 4 > 1 file changed, 4 insertions(+) > > diff --git a/bsd-user/meson.build b/bsd-user/meson.build > index 03695493408..a7607e1c88

Re: [PATCH 00/16] Acceptance Tests: use Avocado 91.0 features and other improvements

2021-09-27 Thread Pavel Dovgalyuk
Hi, Cleber! What about record/replay tests from 25.06? On 24.09.2021 21:54, Cleber Rosa wrote: This is a collection of patches for the Acceptance Tests to leverage some of the features of Avocado 91.0. With the Avocado version bump by itself, there would be a change in the default "test runner

Re: [PATCH] hw/misc: Add a virtual pci device to dynamically attach memory to QEMU

2021-09-27 Thread David Hildenbrand
On 27.09.21 10:27, Stefan Hajnoczi wrote: On Sun, Sep 26, 2021 at 10:16:14AM +0800, David Dai wrote: Add a virtual pci to QEMU, the pci device is used to dynamically attach memory to VM, so driver in guest can apply host memory in fly without virtualization management software's help, such as li

Re: [PATCH 11/11] Deprecate stable non-JSON -device and -object

2021-09-27 Thread Peter Maydell
On Fri, 24 Sept 2021 at 10:14, Kevin Wolf wrote: > > We want to switch both from QemuOpts to the keyval parser in the future, > which results in some incompatibilities, mainly around list handling. > Mark the non-JSON version of both as unstable syntax so that management > tools switch to JSON and

Re: [PATCH] hw/arm/virt: Allow additions to the generated device tree

2021-09-27 Thread Peter Maydell
On Sun, 26 Sept 2021 at 19:55, Simon Glass wrote: > In the case of U-Boot at least, it uses the devicetree for > configuration (it is a boot loader, so there is no user space to > provide configuration). So the current setup is not sufficient to boot > it correctly in all cases. On the other hand,

Re: gitlab-ci: amd64-opensuse-leap-container job failing

2021-09-27 Thread Daniel P . Berrangé
On Sun, Sep 26, 2021 at 07:23:56PM +0200, Philippe Mathieu-Daudé wrote: > Hi, > > FYI the OpenSUSE job is failing since few days, i.e.: > https://gitlab.com/qemu-project/qemu/-/jobs/1622345026 > > Retrieving repository 'Main Repository' metadata > [..

Re: [PATCH] hw/misc: Add a virtual pci device to dynamically attach memory to QEMU

2021-09-27 Thread Stefan Hajnoczi
On Sun, Sep 26, 2021 at 10:16:14AM +0800, David Dai wrote: > Add a virtual pci to QEMU, the pci device is used to dynamically attach memory > to VM, so driver in guest can apply host memory in fly without virtualization > management software's help, such as libvirt/manager. The attached memory is >

Re: [PATCH 11/11] Deprecate stable non-JSON -device and -object

2021-09-27 Thread Daniel P . Berrangé
On Mon, Sep 27, 2021 at 10:15:43AM +0200, Paolo Bonzini wrote: > On 24/09/21 11:04, Kevin Wolf wrote: > > We want to switch both from QemuOpts to the keyval parser in the future, > > which results in some incompatibilities, mainly around list handling. > > Mark the non-JSON version of both as unsta

Re: [PATCH 11/11] Deprecate stable non-JSON -device and -object

2021-09-27 Thread Paolo Bonzini
On 24/09/21 11:04, Kevin Wolf wrote: We want to switch both from QemuOpts to the keyval parser in the future, which results in some incompatibilities, mainly around list handling. Mark the non-JSON version of both as unstable syntax so that management tools switch to JSON and we can later make th

Re: Add LoongArch support to RISU?

2021-09-27 Thread Stefan Hajnoczi
On Sun, Sep 26, 2021 at 04:35:37PM +0200, Philippe Mathieu-Daudé wrote: > Hi, I meant to include the qemu-devel@ mailing list in Cc but forgot to... > Doing that now. > > On Sun, Sep 26, 2021 at 11:25 AM Song Gao wrote: > > > > Hi, Phil > > > > On 09/26/2021 04:25 PM, Philippe Mathieu-Daudé wrote

Re: [PATCH] configure: Loosen GCC requirement from 7.5.0 to 7.4.0

2021-09-27 Thread Daniel P . Berrangé
On Sun, Sep 26, 2021 at 07:22:14AM +, nia wrote: > As discussed in issue 614, we're shipping GCC 7.4.0 as the > system compiler in NetBSD 9, the most recent stable branch, > and are still actively interested in QEMU on this platform. > > The differences between GCC 7.5.0 and 7.4.0 are trivial.

Re: [PATCH v1 1/1] hw/riscv: shakti_c: Mark as not user creatable

2021-09-27 Thread Bin Meng
On Mon, Sep 27, 2021 at 3:13 PM Alistair Francis wrote: > > From: Alistair Francis > > Mark the shakti_c machine as not user creatable as it uses serial_hd. > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/639 > Signed-off-by: Alistair Francis > --- > hw/riscv/shakti_c.c | 2 ++ > 1

[PATCH v2 2/2] hw/dma: sifive_pdma: Don't run DMA when channel is disclaimed

2021-09-27 Thread Bin Meng
If Control.run bit is set while not preserving the Control.claim bit, the DMA transfer shall not be started. The following result is PDMA tested in U-Boot on Unleashed board: => mw.l 0x300 0x0 <= Disclaim channel 0 => mw.l 0x300 0x1 <= Claim chann

[PATCH v2 1/2] hw/dma: sifive_pdma: Fix Control.claim bit detection

2021-09-27 Thread Bin Meng
At present the codes detect whether the DMA channel is claimed by: claimed = !!s->chan[ch].control & CONTROL_CLAIM; As ! has higher precedence over & (bitwise and), this is essentially claimed = (!!s->chan[ch].control) & CONTROL_CLAIM; which is wrong, as any non-zero bit set in the control

Re: [PATCH 1/2] hw/dma: sifive_pdma: Improve code readability for "!!foo & bar"

2021-09-27 Thread Markus Armbruster
Bin Meng writes: > Hi Markus, > > On Mon, Sep 27, 2021 at 2:51 PM Markus Armbruster wrote: >> >> Bin Meng writes: >> >> > GCC seems to be strict about processing pattern like "!!for & bar". >> > When 'bar' is not 0 or 1, it complains with -Werror=parentheses: >> > >> > suggest parentheses aro

[PATCH v1 1/1] hw/riscv: shakti_c: Mark as not user creatable

2021-09-27 Thread Alistair Francis
From: Alistair Francis Mark the shakti_c machine as not user creatable as it uses serial_hd. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/639 Signed-off-by: Alistair Francis --- hw/riscv/shakti_c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/riscv/shakti_c.c b/hw/riscv/

Re: [PATCH v15] qapi: introduce 'query-x86-cpuid' QMP command.

2021-09-27 Thread Thomas Huth
On 22/09/2021 09.41, Vladimir Sementsov-Ogievskiy wrote: Ping. Hi! Any chance for this to land? Sorry if I missed the outcome of the discussion - but what about the idea to introduce this with a "x-" prefix first, since there was no 100% certainty that we really fully want to support this co

[PATCH v3] migration/rdma: Fix out of order wrid

2021-09-27 Thread Li Zhijian
destination: ../qemu/build/qemu-system-x86_64 -enable-kvm -netdev tap,id=hn0,script=/etc/qemu-ifup,downscript=/etc/qemu-ifdown -device e1000,netdev=hn0,mac=50:52:54:00:11:22 -boot c -drive if=none,file=./Fedora-rdma-server-migration.qcow2,id=drive-virtio-disk0 -device virtio-blk-pci,bus=pci.0,a

<    1   2   3   4