[PATCH v2 14/35] tests/docker: drop debian-tricore-cross's partial status

2023-01-24 Thread Alex Bennée
This image is perfectly capable of building QEMU, and indeed we do that on gitlab. Drop the DOCKER_PARTIAL_IMAGES setting so we can also test the gitlab build locally. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Alex Bennée --- tests/docker/Makefile.include | 1 - 1 file changed, 1

[PATCH v2 11/35] lcitool: drop perl from QEMU project/dependencies

2023-01-24 Thread Alex Bennée
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Daniel P. Berrangé Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20230110132700.833690-8-marcandre.lur...@redhat.com> Signed-off-by: Alex Bennée --- .gitlab-ci.d/cirrus/freebsd-12.vars | 2 +-

[PATCH v2 08/35] docs: drop texinfo options

2023-01-24 Thread Alex Bennée
From: Marc-André Lureau It looks like this is no longer wanted, we only build the html output. Signed-off-by: Marc-André Lureau Reviewed-by: Daniel P. Berrangé Message-Id: <20230110132700.833690-6-marcandre.lur...@redhat.com> Signed-off-by: Alex Bennée --- docs/conf.py | 13 - 1

[PATCH v2 26/35] cpu: free cpu->tb_jmp_cache with RCU

2023-01-24 Thread Alex Bennée
From: Emilio Cota Fixes the appended use-after-free. The root cause is that during tb invalidation we use CPU_FOREACH, and therefore to safely free a vCPU we must wait for an RCU grace period to elapse. $ x86_64-linux-user/qemu-x86_64 tests/tcg/x86_64-linux-user/munmap-pthread

[PATCH v2 09/35] gitlab: add lsan suppression file to workaround tcmalloc issues

2023-01-24 Thread Alex Bennée
The up-coming upgrade to Fedora 37 will bring in libtcmalloc as a dependency of libglusterfs which confuses our fuzz run. Rather than disable the build lets use LSAN's suppression mechanism to prevent the job from failing. Signed-off-by: Alex Bennée Cc: Daniel P. Berrangé ---

[PATCH v2 07/35] meson: replace Perl usage with Python

2023-01-24 Thread Alex Bennée
From: Marc-André Lureau Let's try to remove Perl usage during build time. Signed-off-by: Marc-André Lureau Reviewed-by: Daniel P. Berrangé Message-Id: <20230110132700.833690-5-marcandre.lur...@redhat.com> Signed-off-by: Alex Bennée --- tests/qapi-schema/meson.build | 7 --- 1 file

[PATCH v2 03/35] gitlab: just use plain --cc=clang for custom runner build

2023-01-24 Thread Alex Bennée
I think this was because older Ubuntu's didn't alias clang to whatever the latest version was. They do now so lets use that and not break. Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Signed-off-by: Alex Bennée --- .gitlab-ci.d/custom-runners/ubuntu-22.04-aarch64.yml | 2

[PATCH v2 10/35] Update lcitool and fedora to 37

2023-01-24 Thread Alex Bennée
From: Marc-André Lureau Fedora 35 is EOL. Update to upstream lcitool, that dropped f35 and added f37. Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20230110132700.833690-7-marcandre.lur...@redhat.com> Signed-off-by: Alex Bennée

[PATCH v2 04/35] tests/unit: drop hacky race avoidance in test-io-channel-command

2023-01-24 Thread Alex Bennée
We don't need to play timing games to ensure one socat wins over the other, just create the fifo they both can use before spawning the processes. However in the process we need to disable two tests for Windows platforms as we don't have an abstraction for mkfifo(). Resolves:

[PATCH v2 00/35] maintainer tree pre-PR (testing/docs/semihosting/plugins)

2023-01-24 Thread Alex Bennée
Hi, This is a roll-up of all my maintainer trees which contains fixes all over QEMU. I'd hoped to minimise the disruption of multiple pull requests but in the end spent a lot of time trying to re-create the win64 cross failure which only occurs on CI. I'm not sure if the failure is just down to

[PATCH v2 01/35] scripts/ci: update gitlab-runner playbook to use latest runner

2023-01-24 Thread Alex Bennée
We were using quite and old runner on our machines and running into issues with stalling jobs. Gitlab in the meantime now reliably provide the latest packaged versions of the runner under a stable URL. This update: - creates a per-arch subdir for builds - switches from binary tarballs to deb

[PATCH v2 05/35] build-sys: fix crlf-ending C code

2023-01-24 Thread Alex Bennée
From: Marc-André Lureau On msys2, the shader-to-C script produces bad C: ./ui/shader/texture-blit-vert.h:2:5: error: missing terminating " character [-Werror] Fix it by changing the line ending from crlf to lf, and convert the script to Python (qemu build seems perl-free after that).

[PATCH v2 22/35] docs: add an introduction to the system docs

2023-01-24 Thread Alex Bennée
Drop the frankly misleading quickstart section for a more rounded introduction section. This new section gives an overview of the accelerators as well as a high level introduction to some of the key features of the emulator. We also expand on a general form for a QEMU command line with a hopefully

[PATCH v2 06/35] .gitlab-ci.d/windows: do not disable opengl

2023-01-24 Thread Alex Bennée
From: Marc-André Lureau The previous patch should have fixed shader compilation. Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20230110132700.833690-3-marcandre.lur...@redhat.com> [AJB: tweak commit message] Signed-off-by: Alex

[PULL v3 00/38] Block layer patches

2023-01-24 Thread Kevin Wolf
The following changes since commit 13356edb87506c148b163b8c7eb0695647d00c2a: Merge tag 'block-pull-request' of https://gitlab.com/stefanha/qemu into staging (2023-01-24 09:45:33 +) are available in the Git repository at: https://repo.or.cz/qemu/kevin.git tags/for-upstream for you to

RE: [External] : Re: [PATCH 1/1] modules: load modules from /var/run/qemu/ directory firstly

2023-01-24 Thread Siddhi Katage
Hi , Please ignore this patch as it is not based on top of current master branch. I apologize for mistake and the inconvenience caused. I will resend the correct patch . Thank you, Siddhi Katage -Original Message- From: Philippe Mathieu-Daudé Sent: Tuesday, January 24, 2023 1:26 PM

Re: [PATCH RFC 13/21] migration: Add migration_ram_pagesize_largest()

2023-01-24 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Let it replace the old qemu_ram_pagesize_largest() just to fetch the page > sizes using migration_ram_pagesize(), because it'll start to consider > double mapping effect in migrations. > > Also don't account the ignored ramblocks as they won't be migrated.

Re: [PATCH v2 01/15] RISC-V: Adding XTheadCmo ISA extension

2023-01-24 Thread Christoph Müllner
On Mon, Jan 23, 2023 at 11:50 PM Alistair Francis wrote: > On Sat, Dec 24, 2022 at 4:09 AM Christoph Muellner > wrote: > > > > From: Christoph Müllner > > > > This patch adds support for the XTheadCmo ISA extension. > > To avoid interfering with standard extensions, decoder and translation > >

Re: [PATCH v2 11/15] RISC-V: Adding T-Head XMAE support

2023-01-24 Thread Christoph Müllner
On Tue, Jan 24, 2023 at 12:49 AM Alistair Francis wrote: > On Sat, Dec 24, 2022 at 4:04 AM Christoph Muellner > wrote: > > > > From: Christoph Müllner > > > > This patch adds support for the T-Head specific extended memory > > attributes. Similar like Svpbmt, this support does not have much

Re: [PATCH 4/7] hw/acpi/ich9: Use ICH9_PMIO_GPE0_STS just once

2023-01-24 Thread Igor Mammedov
On Sun, 22 Jan 2023 18:07:21 +0100 Bernhard Beschow wrote: > Cosmetic change emphasizing ... how 3/7 makes it more confusing > that always the actual address of the gpe0 > block is returned. > > Signed-off-by: Bernhard Beschow > --- > hw/acpi/ich9.c | 4 +++- > 1 file changed, 3

Re: [PATCH v2 0/6] Resolve TYPE_PIIX3_XEN_DEVICE

2023-01-24 Thread Bernhard Beschow
Am 24. Januar 2023 16:11:47 UTC schrieb Anthony PERARD : >On Wed, Jan 18, 2023 at 05:13:03AM -0500, Michael S. Tsirkin wrote: >> On Wed, Jan 04, 2023 at 03:44:31PM +0100, Bernhard Beschow wrote: >> > This series first renders TYPE_PIIX3_XEN_DEVICE redundant and finally >> > removes >> > it.

Re: [PATCH v2 5/8] hw/cxl/events: Wire up get/clear event mailbox commands

2023-01-24 Thread Jonathan Cameron via
On Wed, 21 Dec 2022 20:24:35 -0800 Ira Weiny wrote: > CXL testing is benefited from an artificial event log injection > mechanism. > > Add an event log infrastructure to insert, get, and clear events from > the various logs available on a device. > > Replace the stubbed out CXL Get/Clear Event

Re: [RFC PATCH 0/2] hw/cxl: Passthrough HDM decoder emulation

2023-01-24 Thread Fan Ni
On Tue, Jan 24, 2023 at 09:47:20AM +, Jonathan Cameron wrote: > On Mon, 23 Jan 2023 17:53:24 + > Fan Ni wrote: > > > On Mon, Jan 23, 2023 at 12:17:10PM +, Jonathan Cameron wrote: > > > > > > > > > Until now, testing using CXL has relied up always using two root ports > > > below

Re: [PATCH 2/7] hw/acpi/ich9: Remove unneeded assignments

2023-01-24 Thread Igor Mammedov
On Sun, 22 Jan 2023 18:07:19 +0100 Bernhard Beschow wrote: > The first thing ich9_pm_iospace_update() does is to set pm->pm_io_base to > the pm_io_base parameter. try to explain why 'pm->pm_io_base = 0' was there , what's changed and then why it's no longer needed. > The pm_io_base parameter's

Re: [PATCH v3 0/2] hw/arm/virt: Handle HVF in finalize_gic_version()

2023-01-24 Thread Peter Maydell
On Fri, 23 Dec 2022 at 09:01, Alexander Graf wrote: > > The finalize_gic_version() function tries to determine which GIC version > the current accelerator / host combination supports. During the initial > HVF porting efforts, I didn't realize that I also had to touch this > function. Then Zenghui

Re: [PATCH 1/7] hw/acpi/{ich9,piix4}: Reuse existing attributes for QOM properties

2023-01-24 Thread Igor Mammedov
On Sun, 22 Jan 2023 18:07:18 +0100 Bernhard Beschow wrote: > The QOM properties are accessed after the device models have been > realized. This means that the constants are redundant. Remove them. not sure it above means. Perhaps: subj: use existing fields type::foo instead of static memory.

Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option

2023-01-24 Thread BALATON Zoltan
On Thu, 12 Jan 2023, Howard Spoelstra wrote: My 2 cents about naming: It seems less important how the machines are named when their name is not covering their definition. F.i. the powermac3,1 never had adb, could not be equipped with a G3 cpu, did not run at 900Mhz. True it never had ADB and

Re: [PATCH] target/arm: Propagate errno when writing list

2023-01-24 Thread Peter Maydell
On Thu, 1 Dec 2022 at 10:33, Akihiko Odaki wrote: > > Before this change, write_kvmstate_to_list() and > write_list_to_kvmstate() tolerated even if it failed to access some > register, and returned a bool indicating whether one of the register > accesses failed. However, it does not make sen not

[PATCH] virtio-net: clear guest_announce feature if no cvq backend

2023-01-24 Thread Eugenio Pérez
Since GUEST_ANNOUNCE is emulated the feature bit could be set without backend support. This happens in the vDPA case. However, backend vDPA parent may not have CVQ support. This causes an incoherent feature set, and the driver may refuse to start. This happens in virtio-net Linux driver. This

Re: [PATCH v2 0/6] Resolve TYPE_PIIX3_XEN_DEVICE

2023-01-24 Thread Anthony PERARD via
On Wed, Jan 18, 2023 at 05:13:03AM -0500, Michael S. Tsirkin wrote: > On Wed, Jan 04, 2023 at 03:44:31PM +0100, Bernhard Beschow wrote: > > This series first renders TYPE_PIIX3_XEN_DEVICE redundant and finally > > removes > > it. The motivation is to 1/ decouple PIIX from Xen and 2/ to make Xen

Re: [PATCH v10 0/9] KVM: mm: fd-based approach for supporting KVM

2023-01-24 Thread Liam Merwick
On 14/01/2023 00:37, Sean Christopherson wrote: On Fri, Dec 02, 2022, Chao Peng wrote: This patch series implements KVM guest private memory for confidential computing scenarios like Intel TDX[1]. If a TDX host accesses TDX-protected guest memory, machine check can happen which can further

Re: [PATCH 3/7] hw/acpi/{ich9,piix4}: Resolve redundant io_base address attributes

2023-01-24 Thread Igor Mammedov
s/resolve/remove|drop/ On Mon, 23 Jan 2023 15:49:29 + Bernhard Beschow wrote: > Am 23. Januar 2023 07:57:08 UTC schrieb "Philippe Mathieu-Daudé" > : > >Hi Bernhard, > > > >On 22/1/23 18:07, Bernhard Beschow wrote: > >> A MemoryRegion has an addr attribute which gets set to the same

Re: [PULL v2 00/38] Block layer patches

2023-01-24 Thread Peter Maydell
On Tue, 24 Jan 2023 at 11:22, Kevin Wolf wrote: > > The following changes since commit 00b1faea41d283e931256aa78aa975a369ec3ae6: > > Merge tag 'pull-target-arm-20230123' of > https://git.linaro.org/people/pmaydell/qemu-arm into staging (2023-01-23 > 13:40:28 +) > > are available in the

Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option

2023-01-24 Thread BALATON Zoltan
On Tue, 24 Jan 2023, Howard Spoelstra wrote: On Tue, Jan 24, 2023 at 3:15 PM BALATON Zoltan wrote: I thought MacOS 8 needed old world ROM but looks like it can also load it from disk on new world machines. Then what version of the ROM it has? It seems there was some change at ROM 5.2.1 then

Re: [PATCH v6 5/5] riscv: Introduce satp mode hw capabilities

2023-01-24 Thread Andrew Jones
On Tue, Jan 24, 2023 at 11:07:53AM +0100, Alexandre Ghiti wrote: > On Mon, Jan 23, 2023 at 11:51 AM Andrew Jones wrote: > > > > On Mon, Jan 23, 2023 at 10:03:24AM +0100, Alexandre Ghiti wrote: > > > Currently, the max satp mode is set with the only constraint that it must > > > be > > >

Re: MinGW and libfdt (was: Re: MSYS2 and libfdt)

2023-01-24 Thread Daniel P . Berrangé
On Tue, Jan 24, 2023 at 03:43:25PM +0100, Thomas Huth wrote: > On 23/01/2023 17.23, Daniel P. Berrangé wrote: > > On Fri, Jan 20, 2023 at 05:57:29PM +0400, Marc-André Lureau wrote: > ... > > > > > On Thu, Jan 19, 2023 at 12:31 PM Thomas Huth wrote: > > > > > > > > > > > > > > > > > > Hi

Fortnightly KVM call for 2023-02-07

2023-01-24 Thread Juan Quintela
Hi Please, send any topic that you are interested in covering in the next call in 2 weeks. We have already topics: - single qemu binary People on previous call (today) asked if Markus, Paolo and Peter could be there on next one to further discuss the topic. - Huge Memory guests Will

Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option

2023-01-24 Thread Howard Spoelstra
On Tue, Jan 24, 2023 at 3:15 PM BALATON Zoltan wrote: > On Tue, 24 Jan 2023, Howard Spoelstra wrote: > > On Tue, Jan 24, 2023 at 2:49 AM BALATON Zoltan > wrote: > >> On Tue, 24 Jan 2023, Howard Spoelstra wrote: > >>> From a Mac OS guest perspective, via=cuda is needed for Mac OS 9.0.4 > due >

Fortnightly KVM call minutes for 2023-01-24

2023-01-24 Thread Juan Quintela
First part stolen from: https://etherpad.opendev.org/p/qemu-emulation-bof%402023-01-24 thanks Phillippe Single QEMU-system binary and Dynamic Machine Models Meeting link: https://meet.jit.si/kvmcallmeeting Just want to dial in on your phone? Dial-in: +1.512.647.1431 PIN: 1518845548#

Re: [PATCH] tests/docker/dockerfiles: Add libfdt to the i386 and to the riscv64 container

2023-01-24 Thread Philippe Mathieu-Daudé
On 24/1/23 15:38, Thomas Huth wrote: No need to recompile the dtc submodule here again and again, we can use the pre-built binary from the distribution instead. (And this will also help in case we finally get rid of the dtc submodule in QEMU one day) Signed-off-by: Thomas Huth ---

MinGW and libfdt (was: Re: MSYS2 and libfdt)

2023-01-24 Thread Thomas Huth
On 23/01/2023 17.23, Daniel P. Berrangé wrote: On Fri, Jan 20, 2023 at 05:57:29PM +0400, Marc-André Lureau wrote: ... On Thu, Jan 19, 2023 at 12:31 PM Thomas Huth wrote: Hi all, in some spare minutes, I started playing with a patch to try to remove the dtc submodule from the QEMU git

[PATCH] tests/docker/dockerfiles: Add libfdt to the i386 and to the riscv64 container

2023-01-24 Thread Thomas Huth
No need to recompile the dtc submodule here again and again, we can use the pre-built binary from the distribution instead. (And this will also help in case we finally get rid of the dtc submodule in QEMU one day) Signed-off-by: Thomas Huth ---

Re: [PATCH 08/32] trace: Move HMP commands from monitor/ to trace/

2023-01-24 Thread Stefan Hajnoczi
On Tue, Jan 24, 2023 at 01:19:22PM +0100, Markus Armbruster wrote: > This moves these commands from MAINTAINERS sections "Human > Monitor (HMP)" and "QMP" to "Tracing". > > Signed-off-by: Markus Armbruster > --- > include/monitor/hmp.h | 3 + > monitor/misc.c | 119

Re: [PATCH 12/32] block: Factor out hmp_change_medium(), and move to block/monitor/

2023-01-24 Thread Stefan Hajnoczi
On Tue, Jan 24, 2023 at 01:19:26PM +0100, Markus Armbruster wrote: > Signed-off-by: Markus Armbruster > --- > include/monitor/hmp.h | 3 +++ > block/monitor/block-hmp-cmds.c | 21 + > monitor/hmp-cmds.c | 17 + > 3 files changed, 25

Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option

2023-01-24 Thread BALATON Zoltan
On Tue, 24 Jan 2023, Howard Spoelstra wrote: On Tue, Jan 24, 2023 at 2:49 AM BALATON Zoltan wrote: On Tue, 24 Jan 2023, Howard Spoelstra wrote: From a Mac OS guest perspective, via=cuda is needed for Mac OS 9.0.4 due to the 2 usb devices (mouse/kbd) issue. And for 10.0/10.1 (my guess would

Re: [PATCH] block/mirror: add 'write-blocking-after-ready' copy mode

2023-01-24 Thread Fiona Ebner
Am 07.12.22 um 14:27 schrieb Fiona Ebner: > The new copy mode starts out in 'background' mode and switches to > 'write-blocking' mode once the job transitions to ready. > > Before switching to active mode and indicating that the drives are > actively synced, it is necessary to have seen and

Re: [PATCH v2] vl: defuse PID file path resolve error

2023-01-24 Thread Fiona Ebner
Am 31.10.22 um 10:47 schrieb Fiona Ebner: > Commit 85c4bf8aa6 ("vl: Unlink absolute PID file path") introduced a > critical error when the PID file path cannot be resolved. Before this > commit, it was possible to invoke QEMU when the PID file was a file > created with mkstemp that was already

Re: [PATCH v6 5/5] riscv: Introduce satp mode hw capabilities

2023-01-24 Thread Alexandre Ghiti
On Mon, Jan 23, 2023 at 2:51 PM Andrew Jones wrote: > > On Mon, Jan 23, 2023 at 10:03:24AM +0100, Alexandre Ghiti wrote: > > Currently, the max satp mode is set with the only constraint that it must be > > implemented in qemu, i.e. set in valid_vm_1_10_[32|64]. > > > > But we actually need to add

Re: [PATCH RFC 12/21] migration: Introduce page size for-migration-only

2023-01-24 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Migration may not want to recognize memory chunks in page size of the host > only, but sometimes we may want to recognize the memory in smaller chunks > if e.g. they're doubly mapped as both huge and small. > > In those cases we'll prefer to assume the

Re: [PATCH v6 5/5] riscv: Introduce satp mode hw capabilities

2023-01-24 Thread Alexandre Ghiti
On Mon, Jan 23, 2023 at 2:31 PM Andrew Jones wrote: > > On Mon, Jan 23, 2023 at 12:15:08PM +0100, Alexandre Ghiti wrote: > > On Mon, Jan 23, 2023 at 11:51 AM Andrew Jones > > wrote: > > > > > > On Mon, Jan 23, 2023 at 10:03:24AM +0100, Alexandre Ghiti wrote: > > > > Currently, the max satp mode

Re: [PATCH] tests/qtest: Plug memory leaks in qtest_get_machines

2023-01-24 Thread Thomas Huth
On 24/01/2023 13.45, Fabiano Rosas wrote: Thomas Huth writes: On 23/01/2023 22.22, Fabiano Rosas wrote: Thomas Huth writes: On 23/01/2023 14.32, Fabiano Rosas wrote: Thomas Huth writes: On 20/01/2023 20.44, Fabiano Rosas wrote: These leaks can be avoided: 759 bytes in 61 blocks

Re: [PATCH] vhost-user-fs: add capability to allow migration

2023-01-24 Thread Stefan Hajnoczi
On Tue, Jan 24, 2023, 04:50 Dr. David Alan Gilbert wrote: > * Stefan Hajnoczi (stefa...@gmail.com) wrote: > > On Mon, 23 Jan 2023 at 14:54, Stefan Hajnoczi > wrote: > > > > > > On Mon, Jan 23, 2023 at 06:27:23PM +, Dr. David Alan Gilbert wrote: > > > > * Michael S. Tsirkin (m...@redhat.com)

Re: [PATCH RFC 11/21] migration: Add hugetlb-doublemap cap

2023-01-24 Thread Dr. David Alan Gilbert
* Peter Xu (pet...@redhat.com) wrote: > Add a new cap to allow mapping hugetlbfs backed RAMs in small page sizes. > > Signed-off-by: Peter Xu Reviewed-by: Dr. David Alan Gilbert although, I'm curious if the protocol actually changes - or whether a doublepage enabled destination would work

Re: [PATCH] tests/qtest: Plug memory leaks in qtest_get_machines

2023-01-24 Thread Fabiano Rosas
Thomas Huth writes: > On 23/01/2023 22.22, Fabiano Rosas wrote: >> Thomas Huth writes: >> >>> On 23/01/2023 14.32, Fabiano Rosas wrote: Thomas Huth writes: > On 20/01/2023 20.44, Fabiano Rosas wrote: >> These leaks can be avoided: >> >> 759 bytes in 61 blocks are

Re: [PATCH] po/meson: make i18n module optional

2023-01-24 Thread Philippe Mathieu-Daudé
On 24/1/23 12:30, Daniel P. Berrangé wrote: On Tue, Jan 24, 2023 at 03:47:24AM +, Anton Kochkov wrote: This is necessary for Muon build system compatibility and prevents the following error: This raises the question of whether we actually want Muon compatibility in the first place though.

[PATCH 22/32] stats: Move QMP commands from monitor/ to stats/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS section "QMP" to new section "Stats". Status is Orphan. Volunteers welcome! Signed-off-by: Markus Armbruster --- MAINTAINERS | 5 + meson.build | 1 + include/{monitor => sysemu}/stats.h | 0

Re: [PULL 0/3] Block patches

2023-01-24 Thread Peter Maydell
On Mon, 23 Jan 2023 at 20:04, Stefan Hajnoczi wrote: > > The following changes since commit 00b1faea41d283e931256aa78aa975a369ec3ae6: > > Merge tag 'pull-target-arm-20230123' of > https://git.linaro.org/people/pmaydell/qemu-arm into staging (2023-01-23 > 13:40:28 +) > > are available in

[PATCH 12/32] block: Factor out hmp_change_medium(), and move to block/monitor/

2023-01-24 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- include/monitor/hmp.h | 3 +++ block/monitor/block-hmp-cmds.c | 21 + monitor/hmp-cmds.c | 17 + 3 files changed, 25 insertions(+), 16 deletions(-) diff --git a/include/monitor/hmp.h

[PATCH 18/32] migration: Move the QMP command from monitor/ to migration/

2023-01-24 Thread Markus Armbruster
This moves the command from MAINTAINERS sections "Human Monitor (HMP)" and "QMP" to "Migration". Signed-off-by: Markus Armbruster --- migration/migration.c | 30 ++ monitor/misc.c| 31 --- 2 files changed, 30 insertions(+), 31

Re: [PATCH 08/32] trace: Move HMP commands from monitor/ to trace/

2023-01-24 Thread Philippe Mathieu-Daudé
On 24/1/23 13:19, Markus Armbruster wrote: This moves these commands from MAINTAINERS sections "Human Monitor (HMP)" and "QMP" to "Tracing". Signed-off-by: Markus Armbruster --- include/monitor/hmp.h | 3 + monitor/misc.c | 119 -

[PATCH 23/32] stats: Move HMP commands from monitor/ to stats/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS section "Human Monitor (HMP)" to section "Stats". Signed-off-by: Markus Armbruster --- monitor/hmp-cmds.c | 234 -- stats/stats-hmp-cmds.c | 247 + stats/meson.build |

[PATCH 03/32] char: Move HMP commands from monitor/ to chardev/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS sections "Human Monitor (HMP)" and "QMP" to "Character device backends". Signed-off-by: Markus Armbruster --- chardev/char-hmp-cmds.c | 220 monitor/hmp-cmds.c | 123 -- monitor/misc.c

[PATCH 24/32] acpi: Move the QMP command from monitor/ to hw/acpi/

2023-01-24 Thread Markus Armbruster
This moves the command from MAINTAINERS section "QMP" to section "ACPI/SMBIOS)". Signed-off-by: Markus Armbruster --- hw/acpi/acpi-qmp-cmds.c | 30 ++ monitor/qmp-cmds.c | 21 - hw/acpi/meson.build | 1 + 3 files changed, 31

[PATCH 27/32] monitor: Move monitor_putc() next to monitor_puts & external linkage

2023-01-24 Thread Markus Armbruster
monitor_putc() will soon be used from more than one .c file. Signed-off-by: Markus Armbruster --- include/monitor/monitor.h | 1 + monitor/misc.c| 27 --- monitor/monitor.c | 27 +++ 3 files changed, 28 insertions(+), 27

Re: [PATCH 19/32] virtio: Move HMP commands from monitor/ to hw/virtio/

2023-01-24 Thread Philippe Mathieu-Daudé
On 24/1/23 13:19, Markus Armbruster wrote: This moves these commands from MAINTAINERS section "Human Monitor (HMP)" to "virtio". Signed-off-by: Markus Armbruster --- hw/virtio/virtio-hmp-cmds.c | 321 monitor/hmp-cmds.c | 309

Re: [PATCH 24/32] acpi: Move the QMP command from monitor/ to hw/acpi/

2023-01-24 Thread Philippe Mathieu-Daudé
On 24/1/23 13:19, Markus Armbruster wrote: This moves the command from MAINTAINERS section "QMP" to section "ACPI/SMBIOS)". Signed-off-by: Markus Armbruster --- hw/acpi/acpi-qmp-cmds.c | 30 ++ monitor/qmp-cmds.c | 21 -

[PATCH 02/32] audio: Move HMP commands from monitor/ to audio/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS sections "Human Monitor (HMP)" and "QMP" to "Overall Audio backends". Signed-off-by: Markus Armbruster --- include/monitor/hmp.h | 3 ++ audio/audio-hmp-cmds.c | 83 ++ monitor/misc.c | 56

Re: [PATCH 11/32] qom: Move HMP commands from monitor/ to qom/

2023-01-24 Thread Philippe Mathieu-Daudé
On 24/1/23 13:19, Markus Armbruster wrote: This moves these commands from MAINTAINERS sections "Human Monitor (HMP)" and "QMP" to "QOM". Signed-off-by: Markus Armbruster --- monitor/hmp-cmds.c | 19 - monitor/misc.c | 49 - qom/qom-hmp-cmds.c

[PATCH 21/32] runstate: Move HMP commands from monitor/ to softmmu/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS section "Human Monitor (HMP)" and "QMP" to "Main loop". Signed-off-by: Markus Armbruster --- MAINTAINERS | 3 +- include/monitor/hmp.h | 2 + monitor/hmp-cmds.c | 20 - monitor/misc.c | 42

[PATCH 31/32] monitor: Loosen coupling between misc.c and monitor.c slightly

2023-01-24 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- monitor/misc.c | 8 +--- monitor/monitor.c| 2 +- storage-daemon/qemu-storage-daemon.c | 4 ++-- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/monitor/misc.c b/monitor/misc.c index

[PATCH 19/32] virtio: Move HMP commands from monitor/ to hw/virtio/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS section "Human Monitor (HMP)" to "virtio". Signed-off-by: Markus Armbruster --- hw/virtio/virtio-hmp-cmds.c | 321 monitor/hmp-cmds.c | 309 -- hw/virtio/meson.build |

[PATCH 04/32] char: Factor out qmp_add_client() parts and move to chardev/

2023-01-24 Thread Markus Armbruster
Code moves from MAINTAINERS section "QMP" to "Character device backends". Signed-off-by: Markus Armbruster --- include/monitor/qmp-helpers.h | 3 +++ chardev/char.c| 20 monitor/qmp-cmds.c| 13 ++--- 3 files changed, 25 insertions(+), 11

[PATCH 17/32] migration: Move HMP commands from monitor/ to migration/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS sections "Human Monitor (HMP)" and "QMP" to "Migration". Signed-off-by: Markus Armbruster --- migration/migration-hmp-cmds.c | 807 + monitor/hmp-cmds.c | 703 monitor/misc.c

[PATCH 10/32] machine: Move HMP commands from monitor/ to hw/core/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS section "Human Monitor (HMP)" to "Machine core". Signed-off-by: Markus Armbruster --- hw/core/machine-hmp-cmds.c | 208 monitor/hmp-cmds.c | 209 - 2 files changed, 208

[PATCH 01/32] monitor: Drop unnecessary includes

2023-01-24 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- monitor/hmp-cmds.c | 4 monitor/hmp.c | 3 --- monitor/misc.c | 14 ++ monitor/monitor.c | 1 - monitor/qmp-cmds-control.c | 1 - monitor/qmp-cmds.c | 8 6 files changed, 2

[PATCH 29/32] monitor: Move remaining HMP commands from misc.c to hmp-cmds.c

2023-01-24 Thread Markus Armbruster
This requires giving them external linkage. Rename do_help_cmd() to hmp_help(), and do_print() to hmp_print(). Signed-off-by: Markus Armbruster --- include/monitor/hmp.h | 13 +++ monitor/hmp-cmds.c| 219 +- monitor/misc.c| 218

[PATCH 26/32] monitor: Split file descriptor passing stuff off misc.c

2023-01-24 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- monitor/fds.c | 468 monitor/misc.c | 434 monitor/meson.build | 1 + 3 files changed, 469 insertions(+), 434 deletions(-) create mode 100644 monitor/fds.c

[PATCH 28/32] monitor: Move target-dependent HMP commands to hmp-cmds-target.c

2023-01-24 Thread Markus Armbruster
Target-independent hmp_gpa2hva(), hmp_gpa2hpa() move along to stay next to hmp_gva2gpa(). Signed-off-by: Markus Armbruster --- include/monitor/hmp-target.h | 6 + monitor/hmp-cmds-target.c| 380 +++ monitor/misc.c | 350

[PATCH 11/32] qom: Move HMP commands from monitor/ to qom/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS sections "Human Monitor (HMP)" and "QMP" to "QOM". Signed-off-by: Markus Armbruster --- monitor/hmp-cmds.c | 19 - monitor/misc.c | 49 - qom/qom-hmp-cmds.c | 67

[PATCH 25/32] qdev: Move HMP command completion from monitor to softmmu/

2023-01-24 Thread Markus Armbruster
This moves the completion code from MAINTAINERS sections "Human Monitor (HMP)" and "QMP" to section "QOM". Signed-off-by: Markus Armbruster --- monitor/misc.c | 82 -- softmmu/qdev-monitor.c | 82 ++ 2 files

[PATCH 20/32] tpm: Move HMP commands from monitor/ to softmmu/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS section "Human Monitor (HMP)" to "TPM". Signed-off-by: Markus Armbruster --- MAINTAINERS| 2 +- monitor/hmp-cmds.c | 54 --- softmmu/tpm-hmp-cmds.c | 65 ++

[PATCH 15/32] net: Move HMP commands from monitor to net/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS sections "Human Monitor (HMP)" and "QMP" to "Network device backends". Signed-off-by: Markus Armbruster --- monitor/hmp-cmds.c | 61 --- monitor/misc.c | 56 -- net/net-hmp-cmds.c | 142

[PATCH 05/32] hmp: Drop redundant argument check from add_completion_option()

2023-01-24 Thread Markus Armbruster
No need to check for null arguments, no caller passes them. Signed-off-by: Markus Armbruster --- monitor/misc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/monitor/misc.c b/monitor/misc.c index c18a713d9c..d58a81c452 100644 --- a/monitor/misc.c +++ b/monitor/misc.c @@ -1353,9 +1353,6

[PATCH 09/32] machine: Move QMP commands from monitor/ to hw/core/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS section "QMP" to "Machine core". Signed-off-by: Markus Armbruster --- hw/core/machine-qmp-cmds.c | 144 + monitor/qmp-cmds.c | 140 2 files changed, 144 insertions(+), 140

[PATCH 13/32] rocker: Move HMP commands from monitor to hw/net/rocker/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS section "Human Monitor (HMP)" to "Rocker" and "Network devices". Signed-off-by: Markus Armbruster --- hw/net/rocker/rocker-hmp-cmds.c | 316 monitor/hmp-cmds.c | 297 --

[PATCH 16/32] net: Move hmp_info_network() to net-hmp-cmds.c

2023-01-24 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- include/monitor/hmp.h | 1 + include/net/net.h | 4 +++- monitor/hmp-cmds.c| 1 - monitor/misc.c| 1 - net/net-hmp-cmds.c| 28 net/net.c | 28 +--- 6 files changed, 33

[PATCH 00/32] Move and clean up monitor command code

2023-01-24 Thread Markus Armbruster
Over the years, many commands got dumped into monitor/, where MAINTAINERS blames them on Dave and me. Recent "[PATCH v2 00/13] pci: Move and clean up monitor command code" (merge commit 33698d3abf8) evicted commands related to PCI (qapi/pci.json), and "[PATCH v4 00/17] ui: Move and clean up

[PATCH 32/32] monitor: Rename misc.c to hmp-target.c

2023-01-24 Thread Markus Armbruster
What's left in misc.c is exactly the target-dependent part of the HMP core. Rename accordingly. Signed-off-by: Markus Armbruster --- monitor/{misc.c => hmp-target.c} | 2 +- monitor/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename monitor/{misc.c =>

[PATCH 14/32] hmp: Rewrite strlist_from_comma_list() as hmp_split_at_comma()

2023-01-24 Thread Markus Armbruster
Use g_strsplit() for the actual splitting. Give external linkage, so the next commit can move one of its users to another source file. Signed-off-by: Markus Armbruster --- include/monitor/hmp.h | 1 + monitor/hmp-cmds.c| 27 ++- 2 files changed, 11 insertions(+),

[PATCH 30/32] monitor: Move remaining QMP stuff from misc.c to qmp-cmds.c

2023-01-24 Thread Markus Armbruster
Signed-off-by: Markus Armbruster --- monitor/misc.c | 51 monitor/qmp-cmds.c | 53 +- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/monitor/misc.c b/monitor/misc.c index

[PATCH 07/32] hmp: Rename help_cmd() to hmp_help_cmd(), move declaration to hmp.h

2023-01-24 Thread Markus Armbruster
The next commit will move a caller of help_cmd() to a new file. Including monitor/monitor-internal.h there just for help_cmd() feels silly. Better to provide it in monitor/hmp.h suitably renamed. Signed-off-by: Markus Armbruster --- include/monitor/hmp.h | 1 + monitor/monitor-internal.h

[PATCH 06/32] readline: Extract readline_add_completion_of() from monitor

2023-01-24 Thread Markus Armbruster
monitor/misc.h has static add_completion_option(). It's useful elsewhere in the monitor. Since it's not monitor-specific, move it to util/readline.c renamed to readline_add_completion_of(), and put it to use. Signed-off-by: Markus Armbruster --- include/qemu/readline.h | 2 + monitor/hmp.c

[PATCH 08/32] trace: Move HMP commands from monitor/ to trace/

2023-01-24 Thread Markus Armbruster
This moves these commands from MAINTAINERS sections "Human Monitor (HMP)" and "QMP" to "Tracing". Signed-off-by: Markus Armbruster --- include/monitor/hmp.h | 3 + monitor/misc.c | 119 - trace/trace-hmp-cmds.c | 148

Re: [PATCH v3 2/7] hw/acpi/acpi_dev_interface: Resolve AcpiDeviceIfClass::madt_cpu

2023-01-24 Thread Igor Mammedov
On Sat, 21 Jan 2023 16:37:26 +0100 Bernhard Beschow wrote: > On Fri, Jan 20, 2023 at 5:34 PM Igor Mammedov wrote: > > > On Thu, 19 Jan 2023 14:47:41 + > > Bernhard Beschow wrote: > > > > > Am 18. Januar 2023 14:59:05 UTC schrieb Igor Mammedov < > > imamm...@redhat.com>: > > > >On Tue,

Re: [PATCH] aspeed/sdmc: Drop unnecessary scu include

2023-01-24 Thread Philippe Mathieu-Daudé
On 24/1/23 07:20, Joel Stanley wrote: The model includes aspeed_scu.h but doesn't appear to require it. Signed-off-by: Joel Stanley --- hw/misc/aspeed_sdmc.c | 1 - 1 file changed, 1 deletion(-) Reviewed-by: Philippe Mathieu-Daudé

Re: Looking for examples of vhost-user backends using VHOST_USER_SLAVE_IOTLB_MSG

2023-01-24 Thread Alex Bennée
Alex Bennée writes: (apologies, empty reply to see if qemu-devel accepts this) > Hi, > > As part of looking at implementing vhost-user daemons which don't have > complete access to a guests address space we noticed the vhost-user spec > has a definition for VHOST_USER_SLAVE_IOTLB_MSG's.

Today KVM call meeting

2023-01-24 Thread Juan Quintela
Hi We are having today a call meeting, we are switching to jitsi as discussed on the previous call. The "coordinates" are: Click the following link to join the meeting: https://meet.jit.si/kvmcallmeeting = Just want to dial in on your phone? Dial-in: +1.512.647.1431 PIN: 1518845548#

Re: [PATCH] po/meson: make i18n module optional

2023-01-24 Thread Daniel P . Berrangé
On Tue, Jan 24, 2023 at 03:47:24AM +, Anton Kochkov wrote: > This is necessary for Muon build system compatibility and > prevents the following error: This raises the question of whether we actually want Muon compatibility in the first place though. IMHO one of the good benefits of Meson (and

NetBSD and libfdt (was: Re: MSYS2 and libfdt)

2023-01-24 Thread Thomas Huth
On 24/01/2023 10.20, Thomas Huth wrote: [...] On Thu, Jan 19, 2023 at 12:31 PM Thomas Huth wrote:     Hi all, in some spare minutes, I started playing with a patch to try to remove the dtc submodule from the QEMU git repository - according to https://repology.org/project/dtc/versions our

Re: [PATCH v7 6/7] mac_newworld: Deprecate mac99 "via" option

2023-01-24 Thread Howard Spoelstra
On Tue, Jan 24, 2023 at 2:49 AM BALATON Zoltan wrote: > On Tue, 24 Jan 2023, Howard Spoelstra wrote: > > From a Mac OS guest perspective, via=cuda is needed for Mac OS 9.0.4 due > to > > the 2 usb devices (mouse/kbd) issue. And for 10.0/10.1 (my guess would be > > that these suffer the same usb

<    1   2   3   >