Re: [PATCH 3/3] dtc: Update to version 1.6.1

2021-09-30 Thread Thomas Huth
On 27/08/2021 14.09, Thomas Huth wrote: The dtc submodule is currently pointing to non-release commit. It's nicer if submodules point to release versions instead and since dtc 1.6.1 is available now, let's update to that version. Signed-off-by: Thomas Huth --- dtc | 2 +- 1 file changed, 1 i

Re: TCG Floating Point Support (Work in Progress)

2021-09-30 Thread Matt
Clarification: In my previous message, I talked a lot about x87 emulation; I want to make clear that x87 is merely my motivator. The eventual goal of this TCG FP support is not only to enable fast x87 emulation, but to be generic and robust enough that other QEMU targets could be modified to utiliz

Re: [PATCH 0/1] vmx: Fix mapping

2021-09-30 Thread Richard W.M. Jones
More data: I found a colleague who has a Hyper-V instance with a Windows guest and he helped me to understand how Hyper-V represents generation IDs. Hyper-V has had support for generation IDs since long before Microsoft proposed the feature for standardization. Originally (I think pre-2013) Hyp

Re: [PATCH v2 0/8] i386: Assorted KVM PV and Hyper-V feature improvements

2021-09-30 Thread Vitaly Kuznetsov
Paolo Bonzini writes: > On 02/09/21 11:35, Vitaly Kuznetsov wrote: >> This is a continuation of "[PATCH 0/3] i386/kvm: Paravirtualized features >> usage >> enforcement" series, thus v2. >> >> This series implements several unrelated features but as there are code >> dependencies between them I'

[PATCH] failover: fix unplug pending detection

2021-09-30 Thread Laurent Vivier
Failover needs to detect the end of the PCI unplug to start migration after the VFIO card has been unplugged. To do that, a flag is set in pcie_cap_slot_unplug_request_cb() and reset in pcie_unplug_device(). But since 17858a169508 ("hw/acpi/ich9: Set ACPI PCI hot-plug as default on Q35") we h

Re: [PATCH v2 3/5] s390x: topology: CPU topology objects and structures

2021-09-30 Thread Pierre Morel
On 9/29/21 10:12 AM, Thomas Huth wrote: On 07/09/2021 14.45, Pierre Morel wrote: On 9/7/21 9:32 AM, Thomas Huth wrote: On 22/07/2021 19.42, Pierre Morel wrote: We use new objects to have a dynamic administration of the CPU topology. The highier level object is the S390 book. In a first i

Re: [PULL 00/20] NBD patches through 2021-09-27

2021-09-30 Thread Daniel P . Berrangé
On Wed, Sep 29, 2021 at 01:29:21PM -0500, Eric Blake wrote: > On Wed, Sep 29, 2021 at 05:03:08PM +0200, Paolo Bonzini wrote: > > On 29/09/21 15:58, Richard Henderson wrote: > > > > > > > /usr/bin/ld: /usr/lib64/libselinux.so: error adding symbols: file > > > in > > > > wrong format > >

Re: [PATCH v4 1/2] sev/i386: Introduce sev_add_kernel_loader_hashes for measured linux boot

2021-09-30 Thread Daniel P . Berrangé
On Thu, Sep 30, 2021 at 08:49:14AM +0300, Dov Murik wrote: > Add the sev_add_kernel_loader_hashes function to calculate the hashes of > the kernel/initrd/cmdline and fill a designated OVMF encrypted hash > table area. For this to work, OVMF must support an encrypted area to > place the data which

Re: [PATCH v3 1/3] QIOChannel: Add io_async_writev & io_async_flush callbacks

2021-09-30 Thread Daniel P . Berrangé
On Wed, Sep 29, 2021 at 04:06:33PM -0300, Leonardo Bras Soares Passos wrote: > Hello Peter, thanks for reviewing! > > On Tue, Sep 28, 2021 at 6:52 PM Peter Xu wrote: > > > > On Fri, Sep 24, 2021 at 06:16:04PM +0100, Daniel P. Berrangé wrote: > > > > +ssize_t qio_channel_async_writev(QIOChannel *i

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

2021-09-30 Thread Igor Mammedov
On Wed, 29 Sep 2021 17:47:37 -0400 "Michael S. Tsirkin" wrote: > On Wed, Sep 29, 2021 at 04:41:49PM +0300, Marcel Apfelbaum wrote: > > Hi Michael, > > > > On Mon, Sep 27, 2021 at 12:49 PM Michael S. Tsirkin wrote: > > > > On Mon, Sep 27, 2021 at 10:33:42AM +0100, Daniel P. Berrangé wrote:

Re: [PATCH 0/1] vmx: Fix mapping

2021-09-30 Thread Laszlo Ersek
On 09/30/21 09:33, Richard W.M. Jones wrote: > > More data: I found a colleague who has a Hyper-V instance with a > Windows guest and he helped me to understand how Hyper-V represents > generation IDs. Hyper-V has had support for generation IDs since long > before Microsoft proposed the feature f

Re: [PATCH v3 2/3] QIOChannelSocket: Implement io_async_write & io_async_flush

2021-09-30 Thread Daniel P . Berrangé
On Wed, Sep 29, 2021 at 04:32:12PM -0300, Leonardo Bras Soares Passos wrote: > Hello Daniel, > > On Fri, Sep 24, 2021 at 2:38 PM Daniel P. Berrangé > wrote: > [...] > > > @@ -154,6 +171,19 @@ int qio_channel_socket_connect_sync(QIOChannelSocket > > > *ioc, > > > return -1; > > > }

Re: [PATCH v3 05/13] qapi/parser: improve detection of '@symbol:' preface

2021-09-30 Thread Markus Armbruster
John Snow writes: > Leading and trailing whitespace are now discarded, addressing the FIXME > comment. A new error is raised to detect this accidental case. > > Parsing for args sections is left alone here; the 'name' variable is > moved into the only block where it is used. > > Signed-off-by: Jo

Re: [PULL 00/20] NBD patches through 2021-09-27

2021-09-30 Thread Richard W.M. Jones
On Wed, Sep 29, 2021 at 01:29:21PM -0500, Eric Blake wrote: > On Wed, Sep 29, 2021 at 05:03:08PM +0200, Paolo Bonzini wrote: > > On 29/09/21 15:58, Richard Henderson wrote: > > > > > > > /usr/bin/ld: /usr/lib64/libselinux.so: error adding symbols: file > > > in > > > > wrong format > >

Re: [PATCH 0/1] vmx: Fix mapping

2021-09-30 Thread Daniel P . Berrangé
On Thu, Sep 30, 2021 at 08:33:48AM +0100, Richard W.M. Jones wrote: > > More data: I found a colleague who has a Hyper-V instance with a > Windows guest and he helped me to understand how Hyper-V represents > generation IDs. Hyper-V has had support for generation IDs since long > before Microsoft

Re: [PATCH v3 06/13] qapi/parser: remove FIXME comment from _append_body_line

2021-09-30 Thread Markus Armbruster
John Snow writes: > True, we do not check the validity of this symbol -- but we don't check > the validity of definition names during parse, either -- that happens > later, during the expr check. I don't want to introduce a dependency on > expr.py:check_name_str here and introduce a cycle. > > In

[PATCH v3] nbd/server: Add --selinux-label option

2021-09-30 Thread Richard W.M. Jones
Under SELinux, Unix domain sockets have two labels. One is on the disk and can be set with commands such as chcon(1). There is a different label stored in memory (called the process label). This can only be set by the process creating the socket. When using SELinux + SVirt and wanting qemu to b

Re: [PATCH v3] nbd/server: Add --selinux-label option

2021-09-30 Thread Vladimir Sementsov-Ogievskiy
9/30/21 11:47, Richard W.M. Jones wrote: Under SELinux, Unix domain sockets have two labels. One is on the disk and can be set with commands such as chcon(1). There is a different label stored in memory (called the process label). This can only be set by the process creating the socket. When

Re: [PATCH 0/1] vmx: Fix mapping

2021-09-30 Thread Richard W.M. Jones
On Thu, Sep 30, 2021 at 09:47:01AM +0100, Daniel P. Berrangé wrote: > On Thu, Sep 30, 2021 at 08:33:48AM +0100, Richard W.M. Jones wrote: > > I propose we deprecate the guid parameter in: > > > > -device vmgenid,guid=8987940a-0951-2cc5-e815-10634ff550b9,id=vmgenid0 > > > > Instead it will be re

Re: [PATCH] failover: fix unplug pending detection

2021-09-30 Thread Ani Sinha
On Thu, 30 Sep 2021, Laurent Vivier wrote: > Failover needs to detect the end of the PCI unplug to start migration > after the VFIO card has been unplugged. > > To do that, a flag is set in pcie_cap_slot_unplug_request_cb() and reset in > pcie_unplug_device(). > > But since > 17858a169508 (

Re: [PATCH v3 08/13] qapi/parser: Introduce NullSection

2021-09-30 Thread Markus Armbruster
John Snow writes: > Here's the weird bit. QAPIDoc generally expects -- virtually everywhere > -- that it will always have a current section. The sole exception to > this is in the case that end_comment() is called, which leaves us with > *no* section. However, in this case, we also don't expect t

Re: TCG Floating Point Support (Work in Progress)

2021-09-30 Thread Alex Bennée
Matt writes: > Hello-- > > I'm excited to share that I have been developing support for TCG > floating point operations; specifically, to accelerate emulation of > x86 guest code which heavily exercises the x87 FPU for a game console > emulator project based on QEMU. So far, this work has shown

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

2021-09-30 Thread david.dai
On Wed, Sep 29, 2021 at 11:30:53AM +0200, David Hildenbrand (da...@redhat.com) wrote: > > On 27.09.21 14:28, david.dai wrote: > > On Mon, Sep 27, 2021 at 11:07:43AM +0200, David Hildenbrand > > (da...@redhat.com) wrote: > > > > > > CAUTION: This email originated from outside of the organizatio

Re: [PATCH] MAINTAINERS: add myself as a reviewer for KVM guest cpu related changes

2021-09-30 Thread Ani Sinha
I take this back. I’m not sure if I’ll have a lot of spare time to review patches in this area. Sadly there is no means to monitor changes/commits in a particular area without taking on review responsibilities. Essentially there has to be a “watchers” category. Badly needed IMHO. Someone mentioned

Re: [PATCH 0/6] Improve consistency of bus init function names

2021-09-30 Thread Peter Maydell
On Thu, 23 Sept 2021 at 13:11, Peter Maydell wrote: > > Currently we have a bit of a mishmash of different function > names for bus creation. There are two basic patterns: you > can have a function that allocates and returns a new bus > object; or you can have a function that takes a pointer to >

Re: [PATCH v3 09/13] qapi/parser: add import cycle workaround

2021-09-30 Thread Markus Armbruster
John Snow writes: > There is a cycle that exists in the QAPI generator: [schema -> expr -> "There is" or "there will be once we add strong type hints"? > parser -> schema]. It exists because the QAPIDoc class needs the names > of types defined by the schema module, but the schema module needs t

Re: [PATCH qemu v2] QEMU coding style mandates spaces for indentation. This change replaces TABs in block files.

2021-09-30 Thread Kevin Wolf
Am 29.09.2021 um 07:30 hat ~farzon geschrieben: > From: Farzon Lotfi > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/371 > > Signed-off-by: Farzon Lotfi Just picking one example, but it applies to most hunks of the patch: > diff --git a/block/parallels.c b/block/parallels.c > inde

Re: [PATCH] failover: fix unplug pending detection

2021-09-30 Thread Laurent Vivier
On 30/09/2021 11:24, Ani Sinha wrote: On Thu, 30 Sep 2021, Laurent Vivier wrote: Failover needs to detect the end of the PCI unplug to start migration after the VFIO card has been unplugged. To do that, a flag is set in pcie_cap_slot_unplug_request_cb() and reset in pcie_unplug_device(). Bu

Re: [PATCH v5] Prevent vhost-user-blk-test hang

2021-09-30 Thread Stefan Hajnoczi
On Thu, Sep 30, 2021 at 05:29:06AM +, Raphael Norwitz wrote: > On Tue, Sep 28, 2021 at 10:55:00AM +0200, Stefan Hajnoczi wrote: > > On Mon, Sep 27, 2021 at 05:17:01PM +, Raphael Norwitz wrote: > > > In the vhost-user-blk-test, as of now there is nothing stoping > > > vhost-user-blk in QEMU

Re: [PATCH v2 3/6] qapi/parser: add type hint annotations (QAPIDoc)

2021-09-30 Thread Markus Armbruster
John Snow writes: > On Tue, Sep 7, 2021 at 6:44 AM Markus Armbruster wrote: > >> John Snow writes: >> >> > Annotations do not change runtime behavior. >> > >> > This commit adds mostly annotations, but uses a TYPE_CHECKING runtime >> > check to conditionally import dependencies, which only trig

[PATCH v2] failover: fix unplug pending detection

2021-09-30 Thread Laurent Vivier
Failover needs to detect the end of the PCI unplug to start migration after the VFIO card has been unplugged. To do that, a flag is set in pcie_cap_slot_unplug_request_cb() and reset in pcie_unplug_device(). But since 17858a169508 ("hw/acpi/ich9: Set ACPI PCI hot-plug as default on Q35") we h

Re: [PATCH v4 1/2] sev/i386: Introduce sev_add_kernel_loader_hashes for measured linux boot

2021-09-30 Thread Dov Murik
On 30/09/2021 11:32, Daniel P. Berrangé wrote: > > Reviewed-by: Daniel P. Berrangé > Thanks! -Dov

Re: [PATCH v3 00/13] qapi: static typing conversion, pt5b

2021-09-30 Thread Markus Armbruster
John Snow writes: > Hello darkness my old friend; This is part five (b), and focuses on > QAPIDoc in parser.py. Looks basically ready except for PATCH 5, which we can chop off (I think), so you don't have to respin the whole series. "Basically" means we may want to tweak a few commit messages /

Re: [PULL 00/20] Q800 for 6.2 patches

2021-09-30 Thread Peter Maydell
On Wed, 29 Sept 2021 at 10:32, Laurent Vivier wrote: > > The following changes since commit 6b54a31bf7b403672a798b6443b1930ae6c74dea: > > Merge remote-tracking branch > 'remotes/jsnow-gitlab/tags/python-pull-request' into staging (2021-09-28 > 13:07:32 +0100) > > are available in the Git repos

Re: [RFC PATCH 00/10] security: Introduce qemu_security_policy_taint() API

2021-09-30 Thread Daniel P . Berrangé
On Tue, Sep 14, 2021 at 01:30:27PM +, P J P wrote: > Hello Philippe, all > > >On Thursday, 9 September, 2021, 03:58:40 pm IST, Daniel P. Berrangé > > wrote: > >On Thu, Sep 09, 2021 at 01:20:14AM +0200, Philippe Mathieu-Daudé wrote: > >> This series is experimental! The goal is to better limit

Re: Rust in Qemu BoF followup 2: Rust toolchain availability

2021-09-30 Thread Peter Maydell
On Thu, 30 Sept 2021 at 03:21, David Gibson wrote: > > Hi again all, > > I've now done.. or at least started... the second part of my followup > from the KVM Forum BoF on Rust in Qemu. > > I've extended the page at https://wiki.qemu.org/RustInQemu with > information on Rust toolchain availability.

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

2021-09-30 Thread David Hildenbrand
On 30.09.21 11:40, david.dai wrote: On Wed, Sep 29, 2021 at 11:30:53AM +0200, David Hildenbrand (da...@redhat.com) wrote: On 27.09.21 14:28, david.dai wrote: On Mon, Sep 27, 2021 at 11:07:43AM +0200, David Hildenbrand (da...@redhat.com) wrote: CAUTION: This email originated from outside of

Re: Rust in Qemu BoF followup 2: Rust toolchain availability

2021-09-30 Thread Daniel P . Berrangé
On Thu, Sep 30, 2021 at 11:59:42AM +1000, David Gibson wrote: > Hi again all, > > I've now done.. or at least started... the second part of my followup > from the KVM Forum BoF on Rust in Qemu. > > I've extended the page at https://wiki.qemu.org/RustInQemu with > information on Rust toolchain ava

Re: [PATCH] virtio-net : Add check for VIRTIO_NET_F_MAC

2021-09-30 Thread Michael Tokarev
30.09.2021 04:35, Cindy Lu wrote: [] so here come to the final question. which mac address has the higher priority? I think the NET_F_MAC bit means the hw mac address > command-line address. if the hw drivers want to change this. they can simply remove this bit. At the very least, qemu should N

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

2021-09-30 Thread Michael S. Tsirkin
On Thu, Sep 30, 2021 at 10:34:24AM +0200, Igor Mammedov wrote: > On Wed, 29 Sep 2021 17:47:37 -0400 > "Michael S. Tsirkin" wrote: > > > On Wed, Sep 29, 2021 at 04:41:49PM +0300, Marcel Apfelbaum wrote: > > > Hi Michael, > > > > > > On Mon, Sep 27, 2021 at 12:49 PM Michael S. Tsirkin > > > wrot

Re: [PATCH 0/3] KVM: qemu patches for few KVM features I developed

2021-09-30 Thread Maxim Levitsky
On Tue, 2021-09-14 at 18:52 +0300, Maxim Levitsky wrote: > These patches implement the qemu side logic to support > the KVM features I developed recently. > > First two patches are for features that are already accepted > upstream, and I already posted them on the qemu mailing list once. > > And

Re: [PATCH 3/3] dtc: Update to version 1.6.1

2021-09-30 Thread Greg Kurz
On Thu, 30 Sep 2021 09:10:12 +0200 Thomas Huth wrote: > On 27/08/2021 14.09, Thomas Huth wrote: > > The dtc submodule is currently pointing to non-release commit. It's nicer > > if submodules point to release versions instead and since dtc 1.6.1 is > > available now, let's update to that version.

Re: [PATCH 1/1] hw: aspeed_gpio: Fix pin I/O type declarations

2021-09-30 Thread Rashmica Gupta
On Thu, 2021-09-30 at 00:45 +, Peter Delevoryas wrote: > > > On Sep 28, 2021, at 3:53 AM, Damien Hedde > > wrote: > > > > > > > > On 9/28/21 05:24, p...@fb.com wrote: > > > From: Peter Delevoryas > > > Some of the pin declarations in the Aspeed GPIO module were > > > incorrect, > > > prob

Re: [PATCH qemu v2] QEMU coding style mandates spaces for indentation. This change replaces TABs in block files.

2021-09-30 Thread Vladimir Sementsov-Ogievskiy
9/30/21 12:46, Kevin Wolf wrote: Am 29.09.2021 um 07:30 hat ~farzon geschrieben: From: Farzon Lotfi Resolves: https://gitlab.com/qemu-project/qemu/-/issues/371 Signed-off-by: Farzon Lotfi Just picking one example, but it applies to most hunks of the patch: diff --git a/block/parallels.c

Re: [PATCH v2] hw/arm: sabrelite: Connect SPI flash CS line to GPIO3_19

2021-09-30 Thread Peter Maydell
On Mon, 27 Sept 2021 at 15:28, Xuzhou Cheng wrote: > > From: Xuzhou Cheng > > The Linux spi-imx driver does not work on QEMU. The reason is that the > state of m25p80 loops in STATE_READING_DATA state after receiving > RDSR command, the new command is ignored. Before sending a new command, > CS l

Re: [PATCH qemu v2] QEMU coding style mandates spaces for indentation. This change replaces TABs in block files.

2021-09-30 Thread Kevin Wolf
Am 30.09.2021 um 14:18 hat Vladimir Sementsov-Ogievskiy geschrieben: > 9/30/21 12:46, Kevin Wolf wrote: > > Am 29.09.2021 um 07:30 hat ~farzon geschrieben: > > > From: Farzon Lotfi > > > > > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/371 > > > > > > Signed-off-by: Farzon Lotfi >

Re: [PATCH v2 1/5] qemu/qarray.h: introduce QArray

2021-09-30 Thread Christian Schoenebeck
On Mittwoch, 29. September 2021 19:48:38 CEST Daniel P. Berrangé wrote: > On Wed, Sep 29, 2021 at 07:32:39PM +0200, Christian Schoenebeck wrote: > > On Dienstag, 28. September 2021 18:41:17 CEST Daniel P. Berrangé wrote: > > > On Tue, Sep 28, 2021 at 06:23:23PM +0200, Christian Schoenebeck wrote: >

[PATCH] gdbstub: Switch to the thread receiving a signal

2021-09-30 Thread Pavel Labath
Respond with Txxthread:; instead of a plain Sxx to indicate which thread received the signal. Otherwise, the debugger will associate it with the main one. Also automatically select this thread, as that is what gdb expects. Signed-off-by: Pavel Labath --- gdbstub.c

[PATCH v3 01/19] docs/devel: rename file for writing monitor commands

2021-09-30 Thread Daniel P . Berrangé
The file already covers writing HMP commands, in addition to the QMP commands, so it deserves a more general name. Signed-off-by: Daniel P. Berrangé --- docs/devel/index.rst| 2 +- ...riting-qmp-commands.rst => writing-monitor-commands.rst} | 6 +++--- 2 f

[PATCH v3 00/19] monitor: explicitly permit QMP commands to be added for all use cases

2021-09-30 Thread Daniel P . Berrangé
Previous postings: v1: https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg02295.html v2: https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg03703.html We are still adding HMP commands without any QMP counterparts. This is done because there are a reasonable number of scenarios whe

[PATCH v3 02/19] docs/devel: tweak headings in monitor command docs

2021-09-30 Thread Daniel P . Berrangé
The new headings reflect the intended structure of the document and will better suit additions that follow. Reviewed-by: Markus Armbruster Signed-off-by: Daniel P. Berrangé --- docs/devel/writing-monitor-commands.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/do

[PATCH v3 05/19] docs/devel: document expectations for HMP commands in the future

2021-09-30 Thread Daniel P . Berrangé
We no longer wish to have commands implemented in HMP only. All commands should start with a QMP implementation and the HMP merely be a shim around this. To reduce the burden of implementing QMP commands where there is low expectation of machine usage, requirements for QAPI modelling are relaxed pr

[PATCH v3 04/19] docs/devel: add example of command returning unstructured text

2021-09-30 Thread Daniel P . Berrangé
This illustrates how to add a QMP command returning unstructured text, following the guidelines added in the previous patch. The example uses a simplified version of 'info roms'. Signed-off-by: Daniel P. Berrangé --- docs/devel/writing-monitor-commands.rst | 87 - 1 file

[PATCH v3 03/19] docs/devel: document expectations for QAPI data modelling for QMP

2021-09-30 Thread Daniel P . Berrangé
Traditionally we have required that newly added QMP commands will model any returned data using fine grained QAPI types. This is good for commands that are intended to be consumed by machines, where clear data representation is very important. Commands that don't satisfy this have generally been ad

[PATCH v3 15/19] hmp: synchronize cpu state for lapic info

2021-09-30 Thread Daniel P . Berrangé
From: Dongli Zhang While the default "info lapic" always synchronizes cpu state ... mon_get_cpu() -> mon_get_cpu_sync(mon, true) -> cpu_synchronize_state(cpu) -> ioctl KVM_GET_LAPIC (taking KVM as example) ... the cpu state is not synchronized when the apic-id is available as argument.

[PATCH v3 06/19] monitor: remove 'info ioapic' HMP command

2021-09-30 Thread Daniel P . Berrangé
This command was turned into a no-op four years ago in commit 0c8465440d50c18a7bb13d0a866748f0593e193a Author: Peter Xu Date: Fri Dec 29 15:31:04 2017 +0800 hmp: obsolete "info ioapic" Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Daniel P. Berrangé --- hmp-commands-info.hx

[PATCH v3 09/19] qapi: introduce x-query-numa QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info numa" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is re

[PATCH v3 16/19] qapi: introduce x-query-lapic QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info lapic" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is r

[PATCH v3 07/19] qapi: introduce x-query-roms QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info roms" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is re

[PATCH v3 08/19] qapi: introduce x-query-profile QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info profile" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is

[PATCH v3 10/19] qapi: introduce x-query-usb QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info usb" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is rew

[PATCH v3 12/19] qapi: introduce x-query-ramblock QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info ramblock" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command i

[PATCH 7/7] docs: reorganize testing.rst

2021-09-30 Thread Paolo Bonzini
Clean up the heading levels to use === --- ~~~ ^^^ '''. Reorganize the outline for the Avocado part, and always include headings for the class names. Signed-off-by: Paolo Bonzini --- docs/devel/testing.rst | 146 + 1 file changed, 76 insertions(+), 70 del

[PATCH v3 14/19] qapi: introduce x-query-cmma QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info cmma" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is re

[PATCH v3 11/19] qapi: introduce x-query-rdma QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info rdma" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is re

[PATCH v3 18/19] qapi: introduce x-query-jit QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info jit" command. It is being added with an "x-" prefix because this QMP command is intended as an ad hoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is re

[PATCH v3 13/19] qapi: introduce x-query-skeys QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info skeys" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is r

[PATCH 2/7] docs: move notes inside the body of the document

2021-09-30 Thread Paolo Bonzini
Make all documents start with a heading. Signed-off-by: Paolo Bonzini --- docs/devel/multi-process.rst | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/devel/multi-process.rst b/docs/devel/multi-process.rst index 69699329d6..e5758a79ab 100644 --- a/d

[PATCH 3/7] docs: put "make" information together in build-system.rst

2021-09-30 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- docs/devel/build-system.rst | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/docs/devel/build-system.rst b/docs/devel/build-system.rst index 3baec158f2..0f636d620e 100644 --- a/docs/devel/build-system.rst +++ b/docs/devel

[PATCH 1/7] docs: name included files ".rst.inc"

2021-09-30 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- docs/devel/{ci-definitions.rst => ci-definitions.rst.inc} | 0 docs/devel/{ci-jobs.rst => ci-jobs.rst.inc} | 0 docs/devel/{ci-runners.rst => ci-runners.rst.inc} | 0 docs/devel/ci.rst | 6 +++--- 4 fil

[PATCH 5/7] docs: reorganize tcg-plugins.rst

2021-09-30 Thread Paolo Bonzini
Clean up the heading levels to use === --- ~~~, and create a new "writing plugins" section. Signed-off-by: Paolo Bonzini --- docs/devel/tcg-plugins.rst | 117 ++--- 1 file changed, 58 insertions(+), 59 deletions(-) diff --git a/docs/devel/tcg-plugins.rst b/docs/d

[PATCH v3 17/19] qapi: introduce x-query-irq QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info irq" command. It is being added with an "x-" prefix because this QMP command is intended as an adhoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command is rew

[PATCH 4/7] docs: reorganize qgraph.rst

2021-09-30 Thread Paolo Bonzini
Clean up the heading levels to use === --- ~~~, and move the command line building near to the other execution steps. Signed-off-by: Paolo Bonzini --- docs/devel/qgraph.rst | 132 +- 1 file changed, 67 insertions(+), 65 deletions(-) diff --git a/docs/deve

[PATCH v3 19/19] qapi: introduce x-query-opcount QMP command

2021-09-30 Thread Daniel P . Berrangé
This is a counterpart to the HMP "info opcount" command. It is being added with an "x-" prefix because this QMP command is intended as an ad hoc debugging tool and will thus not be modelled in QAPI as fully structured data, nor will it have long term guaranteed stability. The existing HMP command i

[PATCH 6/7] docs: move gcov section at the end of testing.rst

2021-09-30 Thread Paolo Bonzini
gcov testing applies to all tests, not just make check. Move it out of the make check section. Signed-off-by: Paolo Bonzini --- docs/devel/testing.rst | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/docs/devel/testing.rst b/docs/devel

Re: [PATCH v2 1/5] qemu/qarray.h: introduce QArray

2021-09-30 Thread Christian Schoenebeck
On Donnerstag, 30. September 2021 15:31:10 CEST Daniel P. Berrangé wrote: > On Thu, Sep 30, 2021 at 03:20:19PM +0200, Christian Schoenebeck wrote: > > On Mittwoch, 29. September 2021 19:48:38 CEST Daniel P. Berrangé wrote: > > > On Wed, Sep 29, 2021 at 07:32:39PM +0200, Christian Schoenebeck wrote:

Re: [PATCH v2 1/5] qemu/qarray.h: introduce QArray

2021-09-30 Thread Daniel P . Berrangé
On Thu, Sep 30, 2021 at 03:20:19PM +0200, Christian Schoenebeck wrote: > On Mittwoch, 29. September 2021 19:48:38 CEST Daniel P. Berrangé wrote: > > On Wed, Sep 29, 2021 at 07:32:39PM +0200, Christian Schoenebeck wrote: > > > On Dienstag, 28. September 2021 18:41:17 CEST Daniel P. Berrangé wrote: >

[PATCH 0/7] Cleanup sectioning in a few doc files

2021-09-30 Thread Paolo Bonzini
Patch 1 is more or less unrelated and is just a cleanup for file names; the others clean up the section headers for various doc files and fix a few cases in which related documentation is scattered through the file. Paolo Bonzini (7): docs: name included files ".rst.inc" docs: move notes insid

Re: [PATCH v2 1/5] qemu/qarray.h: introduce QArray

2021-09-30 Thread Daniel P . Berrangé
On Thu, Sep 30, 2021 at 03:55:36PM +0200, Christian Schoenebeck wrote: > On Donnerstag, 30. September 2021 15:31:10 CEST Daniel P. Berrangé wrote: > > On Thu, Sep 30, 2021 at 03:20:19PM +0200, Christian Schoenebeck wrote: > > > On Mittwoch, 29. September 2021 19:48:38 CEST Daniel P. Berrangé wrote:

Moving QEMU downloads to GitLab Releases?

2021-09-30 Thread Stefan Hajnoczi
Hi Mike, QEMU downloads are currently hosted on qemu.org's Apache web server. Paolo and I were discussing ways to reduce qemu.org network traffic to save money and eventually turn off the qemu.org server since there is no full-time sysadmin for it. I'd like to discuss moving QEMU downloads to GitLa

Re: [PATCH 1/1] hw: aspeed_gpio: Fix pin I/O type declarations

2021-09-30 Thread Peter Delevoryas
> On Sep 30, 2021, at 5:05 AM, Rashmica Gupta wrote: > > On Thu, 2021-09-30 at 00:45 +, Peter Delevoryas wrote: >> >>> On Sep 28, 2021, at 3:53 AM, Damien Hedde >>> wrote: >>> >>> >>> >>> On 9/28/21 05:24, p...@fb.com wrote: From: Peter Delevoryas Some of the pin declarations

Re: [PATCH v2 1/5] qemu/qarray.h: introduce QArray

2021-09-30 Thread Christian Schoenebeck
On Donnerstag, 30. September 2021 16:01:38 CEST Daniel P. Berrangé wrote: > On Thu, Sep 30, 2021 at 03:55:36PM +0200, Christian Schoenebeck wrote: > > On Donnerstag, 30. September 2021 15:31:10 CEST Daniel P. Berrangé wrote: > > > On Thu, Sep 30, 2021 at 03:20:19PM +0200, Christian Schoenebeck wrot

Re: [PULL 00/20] NBD patches through 2021-09-27

2021-09-30 Thread Richard Henderson
On 9/30/21 4:45 AM, Richard W.M. Jones wrote: PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig ../configure --extra-cflags=-m32 --disable-vhost-user Not --extra-cflags, use --cpu=i386. r~

Re: Moving QEMU downloads to GitLab Releases?

2021-09-30 Thread Stefan Hajnoczi
On Thu, Sep 30, 2021 at 3:08 PM Stefan Hajnoczi wrote: > > Hi Mike, > QEMU downloads are currently hosted on qemu.org's Apache web server. > Paolo and I were discussing ways to reduce qemu.org network traffic to > save money and eventually turn off the qemu.org server since there is no > full-time

Re: [PULL 00/20] NBD patches through 2021-09-27

2021-09-30 Thread Richard W.M. Jones
On Thu, Sep 30, 2021 at 10:27:45AM -0400, Richard Henderson wrote: > On 9/30/21 4:45 AM, Richard W.M. Jones wrote: > > PKG_CONFIG_LIBDIR=/usr/lib/pkgconfig ../configure --extra-cflags=-m32 > > --disable-vhost-user > > Not --extra-cflags, use --cpu=i386. That also builds the 32 bit binary succe

Re: [PATCH 1/7] docs: name included files ".rst.inc"

2021-09-30 Thread Peter Maydell
On Thu, 30 Sept 2021 at 14:33, Paolo Bonzini wrote: > > Signed-off-by: Paolo Bonzini > --- a/docs/devel/ci.rst > +++ b/docs/devel/ci.rst > @@ -8,6 +8,6 @@ found at:: > > https://wiki.qemu.org/Testing/CI > > -.. include:: ci-definitions.rst > -.. include:: ci-jobs.rst > -.. include:: ci-runne

Re: [PATCH 1/7] docs: name included files ".rst.inc"

2021-09-30 Thread Daniel P . Berrangé
On Thu, Sep 30, 2021 at 03:47:46PM +0100, Peter Maydell wrote: > On Thu, 30 Sept 2021 at 14:33, Paolo Bonzini wrote: > > > > Signed-off-by: Paolo Bonzini > > > --- a/docs/devel/ci.rst > > +++ b/docs/devel/ci.rst > > @@ -8,6 +8,6 @@ found at:: > > > > https://wiki.qemu.org/Testing/CI > > > >

[PULL v2 17/33] hw/i386/fw_cfg: Set SGX bits in feature control fw_cfg accordingly

2021-09-30 Thread Paolo Bonzini
From: Sean Christopherson Request SGX an SGX Launch Control to be enabled in FEATURE_CONTROL when the features are exposed to the guest. Our design is the SGX Launch Control bit will be unconditionally set in FEATURE_CONTROL, which is unlike host bios. Signed-off-by: Sean Christopherson Signed-

[PULL v2 00/33] x86 and misc changes for 2021-09-28

2021-09-30 Thread Paolo Bonzini
The following changes since commit ba0fa56bc06e563de68d2a2bf3ddb0cfea1be4f9: Merge remote-tracking branch 'remotes/vivier/tags/q800-for-6.2-pull-request' into staging (2021-09-29 21:20:49 +0100) are available in the Git repository at: https://gitlab.com/bonzini/qemu.git tags/for-upstream f

Strange qemu6 regression cauing disabled usb controller.

2021-09-30 Thread Remy Noel
Hello, I'm encountering a nagging issue with usbredir and a windows guest, but although I did pinpoint the commit that caused the issue, I have a hard time understanding it. The issue occurs when a two usbredir devices are added to a guest windows vm. When the second device is added, the UHCI

Re: [PATCH 1/7] docs: name included files ".rst.inc"

2021-09-30 Thread Peter Maydell
On Thu, 30 Sept 2021 at 15:51, Daniel P. Berrangé wrote: > > On Thu, Sep 30, 2021 at 03:47:46PM +0100, Peter Maydell wrote: > > On Thu, 30 Sept 2021 at 14:33, Paolo Bonzini wrote: > > > > > > Signed-off-by: Paolo Bonzini > > > > > --- a/docs/devel/ci.rst > > > +++ b/docs/devel/ci.rst > > > @@ -8

Re: Strange qemu6 regression cauing disabled usb controller.

2021-09-30 Thread Daniel P . Berrangé
On Thu, Sep 30, 2021 at 03:48:44PM +0200, Remy Noel wrote: > Hello, > > I'm encountering a nagging issue with usbredir and a windows guest, but > although I did pinpoint the commit that caused the issue, I have a hard time > understanding it. > > The issue occurs when a two usbredir devices are

[PATCH 0/3] arm_gicv3: Support multiple redistributor regions

2021-09-30 Thread Peter Maydell
Our GICv3 QOM interface includes an array property redist-region-count which allows board models to specify that the registributor registers are not in a single contiguous range, but split into multiple pieces. We implemented this for KVM, but currently the TCG GICv3 model insists that there is on

[PATCH 3/3] hw/intc/arm_gicv3: Support multiple redistributor regions

2021-09-30 Thread Peter Maydell
Our GICv3 QOM interface includes an array property redist-region-count which allows board models to specify that the registributor registers are not in a single contiguous range, but split into multiple pieces. We implemented this for KVM, but currently the TCG GICv3 model insists that there is on

[PATCH 1/3] hw/intc/arm_gicv3: Move checking of redist-region-count to arm_gicv3_common_realize

2021-09-30 Thread Peter Maydell
The GICv3 devices have an array property redist-region-count. Currently we check this for errors (bad values) in gicv3_init_irqs_and_mmio(), just before we use it. Move this error checking to the arm_gicv3_common_realize() function, where we sanity-check all of the other base-class properties. (Th

[PULL 04/22] hw/nvram: Introduce Xilinx Versal eFuse device

2021-09-30 Thread Peter Maydell
From: Tong Ho This implements the Xilinx Versal eFuse, an one-time field-programmable non-volatile storage device. There is only one such device in the Xilinx Versal product family. This device has two separate mmio interfaces, a controller and a flatten readback. The controller provides inter

[PULL 00/22] target-arm queue

2021-09-30 Thread Peter Maydell
: https://git.linaro.org/people/pmaydell/qemu-arm.git tags/pull-target-arm-20210930 for you to fetch changes up to 1f4b2ec701b9d73d3fa7bb90c8b4376bc7d3c42b: hw/arm: sabrelite: Connect SPI flash CS line to GPIO3_19 (2021-09-30 13:44

[PULL 05/22] hw/nvram: Introduce Xilinx ZynqMP eFuse device

2021-09-30 Thread Peter Maydell
From: Tong Ho This implements the Xilinx ZynqMP eFuse, an one-time field-programmable non-volatile storage device. There is only one such device in the Xilinx ZynqMP product family. Co-authored-by: Edgar E. Iglesias Co-authored-by: Sai Pavan Boddu Signed-off-by: Edgar E. Iglesias Signed-off

[PATCH 2/3] hw/intc/arm_gicv3: Set GICR_TYPER.Last correctly when nb_redist_regions > 1

2021-09-30 Thread Peter Maydell
The 'Last' bit in the GICR_TYPER GICv3 redistributor register is supposed to be set to 1 if this is the last redistributor in a series of contiguous redistributor pages. Currently we set Last only for the redistributor for CPU (num_cpu - 1). This only works if there is a single redistributor regi

[PULL 10/22] hw/arm: xlnx-zcu102: Add Xilinx eFUSE device

2021-09-30 Thread Peter Maydell
From: Tong Ho Connect the support for ZynqMP eFUSE one-time field-programmable bit array. The command argument: -drive if=pflash,index=3,... Can be used to optionally connect the bit array to a backend storage, such that field-programmed values in one invocation can be made available to next i

  1   2   >