[PULL 60/63] hw/cxl: Add dummy security state get

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron Needed to allow the santize comamnds to be tested with proposed Linux Kernel support. Default value + no control of the security state will work for now. Signed-off-by: Jonathan Cameron Message-Id: <20231023160806.13206-17-jonathan.came...@huawei.com> Reviewed-by: Michae

[PULL 58/63] hw/cxl/mbox: Add Get Background Operation Status Command

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron For now, provide this command on type 3 main mailbox only. Signed-off-by: Jonathan Cameron Message-Id: <20231023160806.13206-15-jonathan.came...@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/cxl/cxl-mailbox-utils.c | 33 ++

[PULL 36/63] tests: bios-tables-test: Add ACPI table binaries for smbios type4 thread count test

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu Following the guidelines in tests/qtest/bios-tables-test.c, this is step 5 and 6. Changes in the tables: FACP: +/* + * Intel ACPI Component Architecture + * AML/ASL+ Disassembler version 20200925 (64-bit version) + * Copyright (c) 2000 - 2020 Intel Corporation + * + * Disassembly

[PULL 55/63] hw/cxl/mbox: Add support for background operations

2023-11-07 Thread Michael S. Tsirkin
From: Davidlohr Bueso Support background commands in the mailbox, and update cmd_infostat_bg_op_sts() accordingly. This patch does not implement mbox interrupts upon completion, so the kernel driver must rely on polling to know when the operation is done. Signed-off-by: Davidlohr Bueso Signed-o

[PULL v3 19/25] ui/dbus: do not require PIXMAN

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Implement a fallback path for region 2D update. Signed-off-by: Marc-André Lureau --- ui/dbus-listener.c | 90 -- ui/meson.build | 4 +-- 2 files changed, 65 insertions(+), 29 deletions(-) diff --git a/ui/dbus-listener.c

[PULL 16/63] virtio-sound: implement audio output (TX)

2023-11-07 Thread Michael S. Tsirkin
From: Manos Pitsidianakis Handle output IO messages in the transmit (TX) virtqueue. It allocates a VirtIOSoundPCMBuffer for each IO message and copies the data buffer to it. When the IO buffer is written to the host's sound card, the guest will be notified that it has been consumed. The lifetim

[PULL 41/63] hw/cxl: Use switch statements for read and write of cachemem registers

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron Establishing that only register accesses of size 4 and 8 can occur using these functions requires looking at their callers. Make it easier to see that by using switch statements. Assertions are used to enforce that the register storage is of the matching size, allowing fixe

[PULL 30/63] tests: bios-tables-test: Add ACPI table binaries for smbios type4 core count test

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu Following the guidelines in tests/qtest/bios-tables-test.c, this is step 5 and 6. Changes in the tables: FACP: +/* + * Intel ACPI Component Architecture + * AML/ASL+ Disassembler version 20200925 (64-bit version) + * Copyright (c) 2000 - 2020 Intel Corporation + * + * Disassembly

[PULL v3 08/25] vl: move display early init before default devices

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau The next commit needs to have the display registered itself before creating the default VCs. Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- system/vl.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/

[PULL 53/63] hw/pci-bridge/cxl_downstream: Set default link width and link speed

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron Without these being set the PCIE Link Capabilities register has invalid values in these two fields. Signed-off-by: Jonathan Cameron Message-Id: <20231023160806.13206-10-jonathan.came...@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- h

[PULL 50/63] hw/cxl: Add a switch mailbox CCI function

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron CXL switch CCIs were added in CXL r3.0. They are a PCI function, identified by class code that provides a CXL mailbox (identical to that previously defined for CXL type 3 memory devices) over which various FM-API commands may be used. Whilst the intent of this feature is en

[PULL 37/63] tests: bios-tables-test: Prepare the ACPI table change for smbios type4 thread count2 test

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu Following the guidelines in tests/qtest/bios-tables-test.c, this is step 1 - 3. List the ACPI tables that will be added to test the thread count2 field of smbios type4 table. Signed-off-by: Zhao Liu Reviewed-by: Michael S. Tsirkin Message-Id: <20231023094635.1588282-15-zhao1...

[PULL 51/63] hw/cxl/mbox: Add Information and Status / Identify command

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron Add this command that is only available via out of band CCIs. It replicates information that can be discovered inband via PCI config space. Signed-off-by: Jonathan Cameron Message-Id: <20231023160806.13206-8-jonathan.came...@huawei.com> Reviewed-by: Michael S. Tsirkin S

[PULL 46/63] hw/cxl/mbox: Split mailbox command payload into separate input and output

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron New CCI types that will be supported shortly do not have a single buffer used in both directions. As such, split it up. To avoid the complexities of implementing all commands to handle potential aliasing, take a copy of the input before use. Signed-off-by: Jonathan Cameron

[PULL v3 04/25] ui: add pixman-minimal.h

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau This is a tiny subset of PIXMAN API that is used pervasively in QEMU codebase to manage images and identify the underlying format. It doesn't seems worth to wrap this in a QEMU-specific API. Signed-off-by: Marc-André Lureau Acked-by: Thomas Huth --- include/ui/pixman-

[PULL v3 16/25] ui/vnc: VNC requires PIXMAN

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- meson.build| 6 +- ui/meson.build | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 505cc591b9..3e60f42f94 100644 --- a/meson.build +++ b/meson.bui

[PULL 43/63] hw/cxl: Line length reductions

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron Michael Tsirkin observed that there were some unnecessarily long lines in the CXL code in a recent review. This patch is intended to rectify that where it does not hurt readability. Signed-off-by: Jonathan Cameron Reviewed-by: Michael Tokarev Reviewed-by: Fan Ni Messag

[PULL 62/63] acpi/tests/avocado/bits: enforce 32-bit SMBIOS entry point

2023-11-07 Thread Michael S. Tsirkin
From: Ani Sinha QEMU defaults to 64-bit entry point since the following commit bf376f3020 ("hw/i386/pc: Default to use SMBIOS 3.0 for newer machine models") The above change is applicable for all newer machine versions from version 8.1 and newer. i440fx and q35 machine versions 8.0 and older stil

[PULL 45/63] hw/cxl/mbox: Pull the payload out of struct cxl_cmd and make instances constant

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron Putting the pointer in the structure for command handling puts a single variable element inside an otherwise constant structure. Move it out as a directly passed variable and take the cxl_cmd structures constant. Signed-off-by: Jonathan Cameron Reviewed-by: Fan Ni Messag

[PULL 31/63] tests: bios-tables-test: Prepare the ACPI table change for smbios type4 core count2 test

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu Following the guidelines in tests/qtest/bios-tables-test.c, this is step 1 - 3. List the ACPI tables that will be changed about the type 4 core count2 test case. Signed-off-by: Zhao Liu Reviewed-by: Michael S. Tsirkin Message-Id: <20231023094635.1588282-9-zhao1@linux.intel.

[PULL v3 25/25] build-sys: make pixman actually optional

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- meson.build | 3 --- 1 file changed, 3 deletions(-) diff --git a/meson.build b/meson.build index 8422e7da0c..4848930680 100644 --- a/meson.build +++ b/meson.build @@ -817,9 +817,6 @@ if not get_option('pixma

[PULL 59/63] hw/cxl/type3: Cleanup multiple CXL_TYPE3() calls in read/write functions

2023-11-07 Thread Michael S. Tsirkin
From: Gregory Price Call CXL_TYPE3 once at top of function to avoid multiple invocations. Signed-off-by: Gregory Price Signed-off-by: Jonathan Cameron Message-Id: <20231023160806.13206-16-jonathan.came...@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/m

[PULL v3 24/25] hw/display/ati: allow compiling without PIXMAN

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Change the "x-pixman" property default value and use the fallback path when PIXMAN support is disabled. Signed-off-by: Marc-André Lureau Acked-by: BALATON Zoltan --- hw/display/ati.c | 15 ++- hw/display/ati_2d.c| 10 -- hw/display/meson.b

[PULL 44/63] hw/cxl: Fix a QEMU_BUILD_BUG_ON() in switch statement scope issue.

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron As _Static_assert is a declaration, it can't follow a label until C23. Some older versions of GCC trip up on this one. This check has no obvious purpose so just remove it. Reported-by: Jeongtae Park Signed-off-by: Jonathan Cameron Message-Id: <20231023140210.3089-6-jona

[PULL 35/63] tests: bios-tables-test: Add test for smbios type4 thread count

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu This tests the commit 7298fd7de5551 ("hw/smbios: Fix thread count in type4"). In smbios_build_type_4_table() (hw/smbios/smbios.c), if the number of threads in the socket is not more than 255, then smbios type4 table encodes threads per socket into the thread count field. So for t

[PULL v3 22/25] hw/sm501: allow compiling without PIXMAN

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Change the "x-pixman" property default value and use the fallback path when PIXMAN support is disabled. Signed-off-by: Marc-André Lureau Reviewed-by: BALATON Zoltan --- hw/display/sm501.c | 45 - 1 file changed, 32 insertions

[PULL 38/63] tests: bios-tables-test: Add test for smbios type4 thread count2

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu This tests the commit 7298fd7de5551 ("hw/smbios: Fix thread count in type4"). In smbios_build_type_4_table() (hw/smbios/smbios.c), if the number of threads in the socket is more than 255, then smbios type4 table encodes threads per socket into the thread count2 field. So for the

[PULL 33/63] tests: bios-tables-test: Update ACPI table binaries for smbios core count2 test

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu Change the core count2 from 275 to 260. Following the guidelines in tests/qtest/bios-tables-test.c, this is step 5 and 6. Changes in the tables: APIC: /* * Intel ACPI Component Architecture * AML/ASL+ Disassembler version 20200925 (64-bit version) * Copyright (c) 2000 - 2

[PULL 26/63] tests: bios-tables-test: Add test for smbios type4 count

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu This tests the commit d79a284a44bb7 ("hw/smbios: Fix smbios_smp_sockets calculation"). In smbios_get_tables() (hw/smbios/smbios.c), smbios type4 table is built for each socket, so the count of type4 tables should be equal to the number of sockets. Thus for the topology in this ca

[PULL v3 21/25] hw/arm: XLNX_VERSAL depends on XLNX_CSU_DMA

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Fixes: 868d968004 ("hw/arm/xlnx-versal: Connect OSPI flash controller") Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé --- hw/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/Kconfig b/hw/arm/Kconfig index d215a2c729..8b3dc160

[PULL 04/63] vhost-user.rst: Migrating back-end-internal state

2023-11-07 Thread Michael S. Tsirkin
From: Hanna Czenczek For vhost-user devices, qemu can migrate the virtio state, but not the back-end's internal state. To do so, we need to be able to transfer this internal state between front-end (qemu) and back-end. At this point, this new feature is added for the purpose of virtio-fs migrat

[PULL v3 01/25] build-sys: add a "pixman" feature

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau For now, pixman is mandatory, but we set config_host.h and Kconfig. Once compilation is fixed, "pixman" will become actually optional. Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- meson.build | 10 -- include/ui/qemu-pixman.h

[PULL 34/63] tests: bios-tables-test: Prepare the ACPI table change for smbios type4 thread count test

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu Following the guidelines in tests/qtest/bios-tables-test.c, this is step 1 - 3. List the ACPI tables that will be added to test the thread count field of smbios type4 table. Signed-off-by: Zhao Liu Reviewed-by: Michael S. Tsirkin Message-Id: <20231023094635.1588282-12-zhao1

[PULL 32/63] tests: bios-tables-test: Extend smbios core count2 test to cover general topology

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu The commit 196ea60a734c3 ("hw/smbios: Fix core count in type4") fixed the miscalculation of cores per socket. The original core count2 test (with the topology configured by "-smp 275") didn't recognize that topology-related but because it just created a special topology with only

[PULL v3 20/25] arm/kconfig: XLNX_ZYNQMP_ARM depends on PIXMAN

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau The Display Port has some strong PIXMAN dependency. Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé --- hw/arm/Kconfig | 3 ++- hw/display/Kconfig | 5 + hw/display/meson.build | 2 +- 3 files changed, 8 in

[PULL v3 17/25] ui/spice: SPICE/QXL requires PIXMAN

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- meson.build| 6 +- hw/display/Kconfig | 2 +- ui/meson.build | 10 +- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 3e60f42f94..0f57

[PULL v3 13/25] ui/console: when PIXMAN is unavailable, don't draw placeholder msg

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau When we can't draw text, simply show a blank display. Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- ui/console.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/console.c b/ui/console.c index a72c495b5a..8e688d3569 100644 --- a/ui/console.c +++

[PULL 63/63] acpi/tests/avocado/bits: enable console logging from bits VM

2023-11-07 Thread Michael S. Tsirkin
From: Ani Sinha Console logs from the VM can be useful for debugging when things go wrong. Other avocado tests enables them. This change enables console logging with the following changes: - point to the newer bios bits image that actually enabled VM console. - change the bits test to drain the

[PULL 28/63] tests: bios-tables-test: Prepare the ACPI table change for smbios type4 core count test

2023-11-07 Thread Michael S. Tsirkin
From: Zhao Liu Following the guidelines in tests/qtest/bios-tables-test.c, this is step 1 - 3. List the ACPI tables that will be added to test the type 4 core count field. Signed-off-by: Zhao Liu Reviewed-by: Michael S. Tsirkin Message-Id: <20231023094635.1588282-6-zhao1@linux.intel.com>

[PULL 18/63] docs/system: add basic virtio-snd documentation

2023-11-07 Thread Michael S. Tsirkin
From: Manos Pitsidianakis This commit adds basic documentation for using virtio-snd. Signed-off-by: Manos Pitsidianakis Reviewed-by: Alex Bennée Tested-by: Alex Bennée Message-Id: Acked-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- MAINTAINERS| 1 +

[PATCH] MAINTAINERS: Add more guest-agent related files to the corresponding section

2023-11-07 Thread Thomas Huth
contrib/systemd/qemu-guest-agent.service , tests/data/test-qga-config and tests/data/test-qga-os-release belong to the guest agent, so make sure that these files are covered here, too. Signed-off-by: Thomas Huth --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PULL 54/63] hw/cxl: Implement Physical Ports status retrieval

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron Add this command for both the Switch CCI in switch upstream ports. Signed-off-by: Jonathan Cameron Message-Id: <20231023160806.13206-11-jonathan.came...@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- hw/cxl/cxl-mailbox-utils.c | 128

Re: [PATCH RFC 2/3] tests/qtest/pvanic: use centralized definition of supported events

2023-11-07 Thread Marc-André Lureau
On Sat, Nov 4, 2023 at 3:26 PM Thomas Weißschuh wrote: > > Avoid the necessity to update all tests when new events are added > to the device. > > Signed-off-by: Thomas Weißschuh In the title: pvanic -> pvpanic. > --- > tests/qtest/pvpanic-pci-test.c | 5 +++-- > tests/qtest/pvpanic-test.c

[PULL 19/63] vdpa: Restore hash calculation state

2023-11-07 Thread Michael S. Tsirkin
From: Hawkins Jiawei This patch introduces vhost_vdpa_net_load_rss() to restore the hash calculation state at device's startup. Signed-off-by: Hawkins Jiawei Message-Id: Acked-by: Eugenio Pérez Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- net/vhost-vdpa.c | 91 +++

[PULL v3 18/25] ui/gtk: -display gtk requires PIXMAN

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- meson.build | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 0f578ddbf4..8422e7da0c 100644 --- a/meson.build +++ b/meson.build @@ -1531,7 +1531,11 @@ gt

[PULL 49/63] hw/pci-bridge/cxl_upstream: Move defintion of device to header.

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron To avoid repetition of switch upstream port specific data in the CXLDeviceState structure it will be necessary to access the switch USP specific data from mailbox callbacks. Hence move it to cxl_device.h so it is no longer an opaque structure. Signed-off-by: Jonathan Camer

[PULL v3 05/25] vl: drop needless -spice checks

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Since commit 5324e3e958e ("qemu-options: define -spice only #ifdef CONFIG_SPICE"), it is unnecessary to check at runtime for "-spice" option. Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- system/vl.c | 7 +-- 1 file changed, 1 insertion(+), 6 deleti

[PULL v3 15/25] ui/gl: opengl doesn't require PIXMAN

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau The QEMU fallback covers the requirements. We still need the flags of header inclusion with CONFIG_PIXMAN. Signed-off-by: Marc-André Lureau --- ui/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/meson.build b/ui/meson.build index 3

[PULL 48/63] hw/cxl/mbox: Generalize the CCI command processing

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron By moving the parts of the mailbox command handling that are CCI type specific out to the caller, make the main handling code generic. Rename it to cxl_process_cci_message() to reflect this new generality. Change the type3 mailbox handling (reused shortly for the switch ma

[PULL v3 09/25] ui/console: allow to override the default VC

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau If a display is backed by a specialized VC, allow to override the default "vc:80Cx24C". As suggested by Paolo, if the display doesn't implement a VC (get_vc() returns NULL), use a fallback that will use a muxed console on stdio. This changes the behaviour of "qemu -displ

[PULL v3 00/25] Pixman patches

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau The following changes since commit bb541a7068d2eee51a9abbe2dedcdf27298b1872: Merge tag 'pull-pa-20231106' of https://gitlab.com/rth7680/qemu into staging (2023-11-07 15:01:17 +0800) are available in the Git repository at: https://gitlab.com/marcandre.lureau/qemu.gi

[PULL 23/63] vdpa: Allow VIRTIO_NET_F_RSS in SVQ

2023-11-07 Thread Michael S. Tsirkin
From: Hawkins Jiawei Enable SVQ with VIRTIO_NET_F_RSS feature. Signed-off-by: Hawkins Jiawei Message-Id: <626449eb303207de408126b3dc7c155cd72b028b.1698195059.git.yin31...@gmail.com> Acked-by: Eugenio Pérez Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- net/vhost-vdpa

[PULL v3 11/25] qmp/hmp: disable screendump if PIXMAN is missing

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau The command requires color conversion and line-by-line feeding. We could have a simple fallback for simple formats though. Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth --- qapi/ui.json | 3 ++- ui/ui-hmp-cmds.c | 2

[PULL 61/63] hw/cxl: Add tunneled command support to mailbox for switch cci.

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron This implementation of tunneling makes the choice that our Type 3 device is a Logical Device (LD) of a Multi-Logical Device (MLD) that just happens to only have one LD for now. Tunneling is supported from a Switch Mailbox CCI (and shortly via MCTP over I2C connected to the

[PULL v3 06/25] qemu-options: define -vnc only #ifdef CONFIG_VNC

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- system/vl.c | 13 + ui/vnc-stubs.c | 12 qemu-options.hx | 2 ++ 3 files changed, 11 insertions(+), 16 deletions(-) diff --git a/system/vl.c b/system/vl.c index fb0389e4d0..19a

[PULL 47/63] hw/cxl/mbox: Pull the CCI definition out of the CXLDeviceState

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron Enables having multiple CCIs per devices. Each CCI (mailbox) has it's own state and command list, so they can't share a single structure. Signed-off-by: Jonathan Cameron Message-Id: <20231023160806.13206-4-jonathan.came...@huawei.com> Reviewed-by: Fan Ni Reviewed-by: Mi

Re: [PATCH v2 0/2] virtio-blk: add iothread-vq-mapping parameter

2023-11-07 Thread Kevin Wolf
Am 07.11.2023 um 04:00 hat Stefan Hajnoczi geschrieben: > On Thu, Nov 02, 2023 at 03:10:52PM +0100, Kevin Wolf wrote: > > Am 18.09.2023 um 18:16 hat Stefan Hajnoczi geschrieben: > > > virtio-blk and virtio-scsi devices need a way to specify the mapping > > > between > > > IOThreads and virtqueues.

[PULL v3 14/25] vhost-user-gpu: skip VHOST_USER_GPU_UPDATE when !PIXMAN

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau This simply means that 2d drawing updates won't be handled, but 3d should work. Signed-off-by: Marc-André Lureau Acked-by: Michael S. Tsirkin --- hw/display/vhost-user-gpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/display/vhost-user-gpu.c b/hw/display/

[PATCH] MAINTAINERS: Add include/hw/xtensa/mx_pic.h to the XTFPAG machine section

2023-11-07 Thread Thomas Huth
These machines are the only user of the mx_pic code, so the header (which is currently "unmaintained" according to the MAINTAINERS file) should be added to this section. Signed-off-by: Thomas Huth --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PULL 52/63] hw/cxl/mbox: Add Physical Switch Identify command.

2023-11-07 Thread Michael S. Tsirkin
From: Jonathan Cameron Enable it for the switch CCI. Signed-off-by: Jonathan Cameron Message-Id: <20231023160806.13206-9-jonathan.came...@huawei.com> Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- include/hw/cxl/cxl.h | 6 hw/cxl/cxl-mailbox-utils.c

Re: [PATCH 03/22] target/arm: hide the 32bit version of PAR from gdbstub

2023-11-07 Thread Alex Bennée
Richard Henderson writes: > On 11/6/23 10:50, Alex Bennée wrote: >> This is a slightly hacky way to avoid duplicate PAR's in the system >> register XML we send to gdb which causes an alias. However the other >> alternative would be to post process ARMCPRegInfo once all registers >> have been defi

[PULL v3 02/25] build-sys: drop needless warning pragmas for old pixman

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Since commit 236f282c1c7 ("configure: check for pixman-1 version"), QEMU requires >= 0.21.8. Suggested-by: Thomas Huth Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- include/ui/qemu

Re: [PATCH] Fix Windows 2000 and XP HDAudio Support

2023-11-07 Thread Philippe Mathieu-Daudé
Hi Christopher, On 6/11/23 18:38, Christopher Lentocha wrote: Change the ID to be a Realtek ALC885 so that both Windows 2000 and up (including XP) and macOS (on a later patch for HDEF ACPI Fixes) support HDA HDA is supported for ALC885 on macOS AppleHDA.kext and 2K people can use the following

Re: [PATCH 16/22] plugins: allow plugins to be enabled on windows

2023-11-07 Thread Philippe Mathieu-Daudé
On 6/11/23 19:51, Alex Bennée wrote: From: Greg Manning allow plugins to be enabled in the configure script on windows. Also, add the qemu_plugin_api.lib to the installer. Signed-off-by: Greg Manning Reviewed-by: Alex Bennée Message-Id: <20231102172053.17692-5-gmann...@rapitasystems.com> [AJ

[PULL v3 07/25] vl: simplify display_remote logic

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Bump the display_remote variable when the -vnc option is parsed, just like -spice. Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth --- system/vl.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/system/vl.c b/system/vl.c index 19aef76

[PULL v3 03/25] ui: compile out some qemu-pixman functions when !PIXMAN

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Those functions require the PIXMAN library. Signed-off-by: Marc-André Lureau Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé --- include/ui/qemu-pixman.h | 7 +-- ui/qemu-pixman.c | 6 ++ 2 files changed,

[PULL v3 23/25] hw/mips: FULOONG depends on VT82C686

2023-11-07 Thread marcandre . lureau
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé --- hw/mips/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/mips/Kconfig b/hw/mips/Kconfig index ac1eb06a51..66ec536e06 100644 --- a/hw/mips/Kconfig +++ b/hw/mips/Kconfig @@ -33,6 +33,7

Re: [PATCH 08/22] gdbstub: Add num_regs member to GDBFeature

2023-11-07 Thread Alex Bennée
Philippe Mathieu-Daudé writes: > Hi Alex, > > On 6/11/23 19:50, Alex Bennée wrote: >> From: Akihiko Odaki >> Currently the number of registers exposed to GDB is written as magic >> numbers in code. Derive the number of registers GDB actually see from >> XML files to replace the magic numbers in

Re: [PULL v3 00/25] Pixman patches

2023-11-07 Thread Marc-André Lureau
Hi Stefan On Tue, Nov 7, 2023 at 2:16 PM wrote: > > From: Marc-André Lureau > > The following changes since commit bb541a7068d2eee51a9abbe2dedcdf27298b1872: > > Merge tag 'pull-pa-20231106' of https://gitlab.com/rth7680/qemu into > staging (2023-11-07 15:01:17 +0800) > > are available in the

[PATCH] MAINTAINERS: Add some more vmware-related files to the corresponding section

2023-11-07 Thread Thomas Huth
These files are obviously related to Vmware emulation, so let's list them in the corresponding section in the MAINTAINERS file. Signed-off-by: Thomas Huth --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 215d97e58f..becf1c4089 100644 --- a/

[PATCH] MAINTAINERS: Add artist.c to the hppa machine section

2023-11-07 Thread Thomas Huth
The artist graphics adapter is only used by the hppa machine, so let's add this file to the corresponding section. Signed-off-by: Thomas Huth --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index c1ddf9d623..0c2ef567f0 100644 --- a/MAINTAINERS +++ b/

Re: [PATCH 17/29] gdbstub: Simplify XML lookup

2023-11-07 Thread Alex Bennée
Frédéric Pétrot writes: > Hello Alex and Akihiko, > > this patch introduces a regression for riscv. > When connecting to gdb, gdb issues the infamous "Architecture rejected > target-supplied description" warning. I tracked it down to 13/29 when bisecting which I dropped from: Message-Id: <202

Re: [PATCH 0/4] MAINTAINERS: Update arm machines with missing files

2023-11-07 Thread Thomas Huth
On 20/10/2023 08.09, Thomas Huth wrote: Some currently unvalued files can be associated with certain arm machines. Let's list them in the corresponding sections in the MAINTAINERS file so that the get_maintainers.pl script can suggest a maintainer for these files. Thomas Huth (4): MAINTAINERS

Re: [PULL 4/6] seabios: update binaries to git snapshot

2023-11-07 Thread Gerd Hoffmann
Hi, > Trying to install a simple centos7 iso for testing as in: > > IMAGESDIR=/images > ISO=${IMAGESDIR}/CentOS-7-x86_64-Minimal-2009.iso Oh, you are running a software museum ;) > > Probing storage... > Installa

Re: [PATCH] MAINTAINERS: Add include/hw/xtensa/mx_pic.h to the XTFPAG machine section

2023-11-07 Thread Max Filippov
On Tue, Nov 7, 2023 at 2:21 AM Thomas Huth wrote: > > These machines are the only user of the mx_pic code, so the > header (which is currently "unmaintained" according to the > MAINTAINERS file) should be added to this section. > > Signed-off-by: Thomas Huth > --- > MAINTAINERS | 1 + > 1 file c

Re: [PATCH v2 3/3] hw/ide/via: implement legacy/native mode switching

2023-11-07 Thread Kevin Wolf
Am 06.11.2023 um 17:13 hat BALATON Zoltan geschrieben: > On Mon, 6 Nov 2023, Kevin Wolf wrote: > > Am 25.10.2023 um 00:40 hat Mark Cave-Ayland geschrieben: > > > Allow the VIA IDE controller to switch between both legacy and native > > > modes by > > > calling pci_ide_update_mode() to reconfigure

Re: [PATCH 0/4] target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h'

2023-11-07 Thread Thomas Huth
On 06/11/2023 12.44, Philippe Mathieu-Daudé wrote: In order to restrict CPUS390XState declaration to "cpu.h" (both target-specific): - have the following prototypes take a S390CPU* instead: . css_do_sic() . sclp_service_call() . sclp_service_call_protected() - restrict cpu_get_tb_cpu_sta

Re: [PULL 4/6] seabios: update binaries to git snapshot

2023-11-07 Thread Claudio Fontana
On 11/7/23 11:35, Gerd Hoffmann wrote: > Hi, > >> Trying to install a simple centos7 iso for testing as in: >> >> IMAGESDIR=/images >> ISO=${IMAGESDIR}/CentOS-7-x86_64-Minimal-2009.iso > > Oh, you are running a software museum ;) > >> ===

[PATCH] target/arm: mark the 32bit alias of PAR when LPAE enabled

2023-11-07 Thread Alex Bennée
We also mark it ARM_CP_NO_GDB so we avoid duplicate PAR's in the system register XML we send to gdb. Suggested-by: Signed-off-by: Alex Bennée --- v2 - only set ARM_CP_NO_GDB when no LPAE enabled - also mark as AP_CP_ALIAS --- target/arm/helper.c | 32 ++-- 1 fil

Re: [PATCH v2 1/4] exec/memattrs: Add iopmp source id, start address, end address to MemTxAttrs

2023-11-07 Thread Peter Maydell
On Tue, 7 Nov 2023 at 03:02, Ethan Chen wrote: > > On Mon, Nov 06, 2023 at 10:34:41AM +, Peter Maydell wrote: > > What AXI bus signals? You already get address and size in the > > actual memory transaction, they don't need to go in the MemTxAttrs. > > > > A burst contains multiple continuous r

QEMU entering soft freeze for 8.2 release cycle

2023-11-07 Thread Stefan Hajnoczi
Hi, QEMU is entering soft freeze for the 8.2 release cycle. After today's pull requests, only bug fixes will be merged until the 8.2 release is stablized around December 12th. New features can be merged into -next trees by maintainers, but will not be merged into qemu.git/master. The release sched

Re: [PATCH] MAINTAINERS: Add some more vmware-related files to the corresponding section

2023-11-07 Thread Philippe Mathieu-Daudé
On 7/11/23 11:27, Thomas Huth wrote: These files are obviously related to Vmware emulation, so let's list them in the corresponding section in the MAINTAINERS file. Signed-off-by: Thomas Huth --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH] MAINTAINERS: Add include/hw/xtensa/mx_pic.h to the XTFPAG machine section

2023-11-07 Thread Philippe Mathieu-Daudé
On 7/11/23 11:44, Max Filippov wrote: On Tue, Nov 7, 2023 at 2:21 AM Thomas Huth wrote: These machines are the only user of the mx_pic code, so the header (which is currently "unmaintained" according to the MAINTAINERS file) should be added to this section. Signed-off-by: Thomas Huth --- M

Re: [PATCH v2 1/3] ide/pci.c: introduce pci_ide_update_mode() function

2023-11-07 Thread Kevin Wolf
Am 06.11.2023 um 23:41 hat Mark Cave-Ayland geschrieben: > On 06/11/2023 14:12, Kevin Wolf wrote: > > Hi Kevin, > > Thanks for taking the time to review this. I'll reply inline below. > > > Am 25.10.2023 um 00:40 hat Mark Cave-Ayland geschrieben: > > > This function reads the value of the PCI_CL

Re: [PATCH] MAINTAINERS: Add more guest-agent related files to the corresponding section

2023-11-07 Thread Konstantin Kostiuk
Reviewed-by: Konstantin Kostiuk On Tue, Nov 7, 2023 at 12:18 PM Thomas Huth wrote: > contrib/systemd/qemu-guest-agent.service , tests/data/test-qga-config > and tests/data/test-qga-os-release belong to the guest agent, so make > sure that these files are covered here, too. > > Signed-off-by: Th

Re: [PATCH 0/4] target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h'

2023-11-07 Thread Thomas Huth
On 06/11/2023 12.44, Philippe Mathieu-Daudé wrote: In order to restrict CPUS390XState declaration to "cpu.h" (both target-specific): - have the following prototypes take a S390CPU* instead: . css_do_sic() . sclp_service_call() . sclp_service_call_protected() - restrict cpu_get_tb_cpu_sta

Re: [PATCH 1/4] MAINTAINERS: Add include/hw/input/pl050.h to the PrimeCell/CMSDK section

2023-11-07 Thread Philippe Mathieu-Daudé
On 20/10/23 08:09, Thomas Huth wrote: The corresponding pl050.c file is already listed here, so we should mention the header here, too. Signed-off-by: Thomas Huth --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) Reviewed-by: Philippe Mathieu-Daudé

Re: [PATCH 4/4] MAINTAINERS: Extend the Stellaris section

2023-11-07 Thread Philippe Mathieu-Daudé
On 20/10/23 08:09, Thomas Huth wrote: This header include/hw/timer/stellaris-gptm.h obviously belongs to the Stellaris machines, so let's add it to the corresponding section. And hw/display/ssd0303.c and hw/display/ssd0323.c are only used by hw/arm/stellaris.c, so add them to the corresponding s

Re: [PATCH 3/4] MAINTAINERS: Add hw/display/sii9022.c to the Versatile Express section

2023-11-07 Thread Philippe Mathieu-Daudé
On 20/10/23 08:09, Thomas Huth wrote: This graphics adapter is only used by the Versatile Express machine, so add it to the corresonding section in MAINTAINERS. Typo "corresponding". Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Thomas Huth --- MAINTAINERS | 1 + 1 file changed, 1

Re: [PATCH 2/4] MAINTAINERS: Add hw/input/ads7846.c to the PXA2XX section

2023-11-07 Thread Peter Maydell
On Fri, 20 Oct 2023 at 07:09, Thomas Huth wrote: > > The code from hw/input/ads7846.c is only used by hw/arm/spitz.c, > so add this file to the same section where hw/arm/spitz.c is > listed. > > Signed-off-by: Thomas Huth > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH 17/29] gdbstub: Simplify XML lookup

2023-11-07 Thread Frédéric Pétrot
Le 07/11/2023 à 11:31, Alex Bennée a écrit : Frédéric Pétrot writes: Hello Alex and Akihiko, this patch introduces a regression for riscv. When connecting to gdb, gdb issues the infamous "Architecture rejected target-supplied description" warning. I tracked it down to 13/29 when bisecting w

Re: [PATCH] dump:Add close fd on error return to avoid resource leak

2023-11-07 Thread Philippe Mathieu-Daudé
On 7/11/23 03:44, Zongmin Zhou wrote: Signed-off-by: Zongmin Zhou --- dump/dump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dump/dump.c b/dump/dump.c index 1c304cadfd..ad5294e853 100644 --- a/dump/dump.c +++ b/dump/dump.c @@ -2160,6 +2160,7 @@ void qmp_dump_guest_memory(bool paging,

Re: [PATCH] MAINTAINERS: Add more guest-agent related files to the corresponding section

2023-11-07 Thread Philippe Mathieu-Daudé
On 7/11/23 11:18, Thomas Huth wrote: contrib/systemd/qemu-guest-agent.service , tests/data/test-qga-config and tests/data/test-qga-os-release belong to the guest agent, so make sure that these files are covered here, too. Signed-off-by: Thomas Huth --- MAINTAINERS | 3 ++- 1 file changed, 2

Re: [PULL 4/6] seabios: update binaries to git snapshot

2023-11-07 Thread Gerd Hoffmann
> Hi, thanks for the response, > > just to be sure, this is a regression (it worked fine prior to the seabios > update). Yes. > Address sizes: 43 bits physical, 48 bits virtual OK. > [0.881472] pci :00:01.0: PCI bridge to [bus 01] > [0.882262] pci :00:01.0

Re: QEMU entering soft freeze for 8.2 release cycle

2023-11-07 Thread BALATON Zoltan
On Tue, 7 Nov 2023, Stefan Hajnoczi wrote: Hi, QEMU is entering soft freeze for the 8.2 release cycle. After today's pull requests, only bug fixes will be merged until the 8.2 release is stablized around December 12th. New features can be merged into -next trees by maintainers, but will not be me

Re: [PATCH] dump:Add close fd on error return to avoid resource leak

2023-11-07 Thread Marc-André Lureau
On Tue, Nov 7, 2023 at 3:48 PM Philippe Mathieu-Daudé wrote: > > On 7/11/23 03:44, Zongmin Zhou wrote: > > Signed-off-by: Zongmin Zhou > > --- > > dump/dump.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/dump/dump.c b/dump/dump.c > > index 1c304cadfd..ad5294e853 100644 > > ---

Re: QEMU entering soft freeze for 8.2 release cycle

2023-11-07 Thread Stefan Hajnoczi
On Tue, 7 Nov 2023 at 19:52, BALATON Zoltan wrote: > > On Tue, 7 Nov 2023, Stefan Hajnoczi wrote: > > Hi, > > QEMU is entering soft freeze for the 8.2 release cycle. After today's > > pull requests, only bug fixes will be merged until the 8.2 release is > > stablized around December 12th. New feat

Re: [PATCH v3 0/6] migration: check required entries and sections are loaded

2023-11-07 Thread Juan Quintela
"Michael S. Tsirkin" wrote: > On Mon, Nov 06, 2023 at 03:35:54PM +0400, marcandre.lur...@redhat.com wrote: >> From: Marc-André Lureau >> >> Hi, >> >> Surprisingly, the migration code doesn't check that required migration >> entries >> and subsections are loaded. Either optional or required sec

Re: [PATCH 2/4] hw/s390x/sclp: Have sclp_service_call[_protected]() take S390CPU*

2023-11-07 Thread Philippe Mathieu-Daudé
On 6/11/23 12:44, Philippe Mathieu-Daudé wrote: "hw/s390x/sclp.h" is a header used by target-agnostic objects (such hw/char/sclpconsole[-lm].c), thus can not use target-specific types, such CPUS390XState. Have sclp_service_call[_protected]() take a S390CPU pointer, which is target-agnostic. Sig

Re: [PATCH 0/4] target/s390x/cpu: Restrict CPUS390XState declaration to 'cpu.h'

2023-11-07 Thread Philippe Mathieu-Daudé
On 7/11/23 11:44, Thomas Huth wrote: On 06/11/2023 12.44, Philippe Mathieu-Daudé wrote: In order to restrict CPUS390XState declaration to "cpu.h" (both target-specific): - have the following prototypes take a S390CPU* instead:    . css_do_sic()    . sclp_service_call()    . sclp_service_call_pro

<    1   2   3   4   5   6   >