qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 1a7246: disas/hppa: Add disassembly for qemu


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 1a7246: disas/hppa: Add disassembly for qemu specific inst...
Date: Mon, 12 Feb 2024 10:38:34 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 1a72469ccc580b6ace89d92977de7f80434ffbd1
      
https://github.com/qemu/qemu/commit/1a72469ccc580b6ace89d92977de7f80434ffbd1
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M disas/hppa.c

  Log Message:
  -----------
  disas/hppa: Add disassembly for qemu specific instructions

Add disassembly of opcodes for "HALT QEMU", "RESET QEMU" and
"RESTORE SHR" (restore shadow registers).

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: dbca083513aeb2ba65fe170f39e535c165abee22
      
https://github.com/qemu/qemu/commit/dbca083513aeb2ba65fe170f39e535c165abee22
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M target/hppa/helper.h
    M target/hppa/sys_helper.c
    M target/hppa/translate.c

  Log Message:
  -----------
  target/hppa: Add "diag 0x101" for console output support

For debugging purposes at the early stage of the bootup process,
the SeaBIOS-hppa firmware sometimes needs to output characters to the
serial console. Note that the serial console is the default output
method for parisc machines.

At this stage PCI busses and other devices haven't been initialized
yet. So, SeaBIOS-hppa will not be able to find the correct I/O ports
for the serial ports yet.

Instead, add an emulation for the "diag 0x101" opcode to assist here.
Without any other dependencies, SeaBIOS-hppa can then load the character
to be printed in register %r26 and issue the diag assembly instruction.

The qemu diag_console_output() helper function will then print
that character to the first serial port.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: b7174d9ad3ec3966270eeefa965ffe8f336b86dd
      
https://github.com/qemu/qemu/commit/b7174d9ad3ec3966270eeefa965ffe8f336b86dd
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M hw/pci-host/astro.c

  Log Message:
  -----------
  hw/pci-host/astro: Avoid aborting on access failure

Instead of stopping the emulation, report a MEMTX_DECODE_ERROR if the OS
tries to access non-existent registers.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f410b688af8fa6b317c58dd1a11f2b3225d4a0ea
      
https://github.com/qemu/qemu/commit/f410b688af8fa6b317c58dd1a11f2b3225d4a0ea
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M hw/pci-host/astro.c
    M include/hw/pci-host/astro.h

  Log Message:
  -----------
  hw/pci-host/astro: Implement Hard Fail and Soft Fail mode

The Astro/Elroy chip can work in either Hard-Fail or Soft-Fail mode.

Hard fail means the system bus will send an HPMC (=crash) to the
processor, soft fail means the system bus will ignore timeouts of
MMIO-reads or MMIO-writes and return -1ULL.

The HF mode is controlled by a bit in the status register and is usually
programmed by the OS. Return the corresponing values based on the current
value of that bit.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f2ffd6fb4059d22e18b23c2112419320345aeacf
      
https://github.com/qemu/qemu/commit/f2ffd6fb4059d22e18b23c2112419320345aeacf
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M hw/misc/lasi.c

  Log Message:
  -----------
  lasi: allow access to LAN MAC address registers

Firmware and qemu reads and writes the MAC address for the LASI LAN via
registers in LASI. Allow those accesses and return zero even if LASI
LAN isn't enabled to avoid HPMCs (=crashes).

Signed-off-by: Helge Deller <deller@gmx.de>


  Commit: 9ccbe394d2818002fce6c83e801990c6fe18a6c9
      
https://github.com/qemu/qemu/commit/9ccbe394d2818002fce6c83e801990c6fe18a6c9
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M target/hppa/cpu.c
    M target/hppa/cpu.h
    M target/hppa/mem_helper.c

  Log Message:
  -----------
  target/hppa: Implement do_transaction_failed handler for I/O errors

Add the do_transaction_failed() handler to tigger a HPMC to the CPU
in case of I/O transaction errors.

This is a preparation commit.
We still lack implementation for some registers, so do not yet enable sending
HPMCs.  Having this hunk here now nevertheless helps for the further
development, so that it can easily be enabled later on.

Signed-off-by: Helge Deller <deller@gmx.de>


  Commit: 32d26ea407cadf6efbb46c972caf8594a45c4c81
      
https://github.com/qemu/qemu/commit/32d26ea407cadf6efbb46c972caf8594a45c4c81
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M hw/misc/lasi.c
    M include/hw/misc/lasi.h

  Log Message:
  -----------
  lasi: Add reset I/O ports for LASI audio and FDC

Linux writes zeroes at bootup into the default ports for LASI audio and
LASI floppy controller to reset those devices.  Allow writing to those
registers to avoid HPMCs.

Signed-off-by: Helge Deller <deller@gmx.de>


  Commit: 7b2d70a175981917acd9383660b977349963344b
      
https://github.com/qemu/qemu/commit/7b2d70a175981917acd9383660b977349963344b
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M target/hppa/translate.c

  Log Message:
  -----------
  target/hppa: Allow read-access to PSW with rsm 0,reg instruction

HP-UX 11 and HP ODE tools use the "rsm 0,%reg" instruction in not priviledged
code paths to get the current PSW flags. The constant 0 means that no bits of
the PSW shall be reset, so this is effectively a read-only access to the PSW.
Allow this read-only access even for not privileged code.

Signed-off-by: Helge Deller <deller@gmx.de>
Acked-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 68e3e604d677b446eed095b5f99904483031f12d
      
https://github.com/qemu/qemu/commit/68e3e604d677b446eed095b5f99904483031f12d
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M target/hppa/mem_helper.c

  Log Message:
  -----------
  target/hppa: PDC_BTLB_INFO uses 32-bit ints

The BTLB helper function stores the BTLB info (four 32-bit ints) into
the memory of the guest. They are only available when emulating a 32-bit
CPU in the guest, so use "uint32_t" instead of "target_ulong" here.

Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 9b60a3ed5569a70bbdd29e3c9ec4c5d4685c6e2c
      
https://github.com/qemu/qemu/commit/9b60a3ed5569a70bbdd29e3c9ec4c5d4685c6e2c
  Author: Sven Schnelle <svens@stackframe.org>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M hw/net/tulip.c

  Log Message:
  -----------
  hw/net/tulip: add chip status register values

Netbsd isn't able to detect a link on the emulated tulip card. That's
because netbsd reads the Chip Status Register of the Phy (address
0x14). The default phy data in the qemu tulip driver is all zero,
which means no link is established and autonegotation isn't complete.

Therefore set the register to 0x3b40, which means:

Link is up, Autonegotation complete, Full Duplex, 100MBit/s Link
speed.

Also clear the mask because this register is read only.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Helge Deller <deller@gmx.de>
Tested-by: Helge Deller <deller@gmx.de>
Signed-off-by: Helge Deller <deller@gmx.de>


  Commit: 7c0dfcf9395ebd24ae4c69329a74f10d8d614b7d
      
https://github.com/qemu/qemu/commit/7c0dfcf9395ebd24ae4c69329a74f10d8d614b7d
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M pc-bios/hppa-firmware.img
    A pc-bios/hppa-firmware64.img
    M roms/seabios-hppa

  Log Message:
  -----------
  target/hppa: Update SeaBIOS-hppa to version 16

SeaBIOS-hppa version 16 news & enhancements:

- Initial 64-bit firmware release
- Added fault handler to catch and report firmware bugs
- Use Qemu's builtin_console_out() via diag 0x101
- parisc-qemu-install Makefile target to install firmware in qemu
- Added -fw_cfg opt/OS64,string=3 option

Fixes:

- Avoid crash when booting without SCSI controller
- Avoid possible crashes while detecting LASI LAN & graphics
- Don't check layers in PDC_MEM_MAP_HPA, fixes NetBSD
- Ensure cache definition does not trigger endless loops
- Mark B160L as 32-bit machine in inventory

Signed-off-by: Helge Deller <deller@gmx.de>
Acked-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: f9d2270c85872bd71a01e15b2ebda2569f17f811
      
https://github.com/qemu/qemu/commit/f9d2270c85872bd71a01e15b2ebda2569f17f811
  Author: Helge Deller <deller@gmx.de>
  Date:   2024-02-11 (Sun, 11 Feb 2024)

  Changed paths:
    M hw/hppa/machine.c

  Log Message:
  -----------
  hw/hppa/machine: Load 64-bit firmware on 64-bit machines

Load the 64-bit SeaBIOS-hppa firmware by default when running on a 64-bit
machine. This will enable us to later support more than 4GB of RAM and is
required that the OS (or PALO bootloader) will start or install a 64-bit kernel
instead of a 32-bit kernel.

Note that SeaBIOS-hppa v16 provides the "-fw_cfg opt/OS64,string=3" option with
which the user can control what the firmware shall report back to the OS:
Support of 32-bit OS, support of a 64-bit OS, or support for both (default).

Signed-off-by: Helge Deller <deller@gmx.de>
Acked-by: Richard Henderson <richard.henderson@linaro.org>


  Commit: 785d15504ddb6bea3c490531eb9f9eda0df70608
      
https://github.com/qemu/qemu/commit/785d15504ddb6bea3c490531eb9f9eda0df70608
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M chardev/char-parallel.c
    M chardev/meson.build
    M include/qemu/osdep.h
    M tests/unit/test-char.c

  Log Message:
  -----------
  chardev/parallel: Don't close stdin on inappropriate device

The __linux__ version of qemu_chr_open_pp_fd() tries to claim the
parport device with a PPCLAIM ioctl().  On success, it stores the file
descriptor in the chardev object, and returns success.  On failure, it
closes the file descriptor, and returns failure.

chardev_new() then passes the Chardev to object_unref().  This duly
calls char_parallel_finalize(), which closes the file descriptor
stored in the chardev object.  Since qemu_chr_open_pp_fd() didn't
store it, it's still zero, so this closes standard input.  Ooopsie.

To demonstate, add a unit test.  With the bug above unfixed, running
this test closes standard input.  char_hotswap_test() happens to run
next.  It opens a socket, duly gets file descriptor 0, and since it
tests for success with > 0 instead of >= 0, it fails.

The new unit test needs to be conditional exactly like the chardev it
tests.  Since the condition is rather complicated, steal the solution
from the serial chardev: define HAVE_CHARDEV_PARALLEL in qemu/osdep.h.
This also permits simplifying chardev/meson.build a bit.

The bug fix is easy enough: store the file descriptor, and leave
closing it to char_parallel_finalize().

The next commit will fix char_hotswap_test()'s test for success.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240203080228.2766159-2-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
[Indentation fixed up, commit message improved]


  Commit: ba96b55c3912a2b767adebf09aa989965b9cc608
      
https://github.com/qemu/qemu/commit/ba96b55c3912a2b767adebf09aa989965b9cc608
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M tests/unit/test-char.c

  Log Message:
  -----------
  tests/unit/test-char: Fix qemu_socket(), make_udp_socket() check

qemu_socket() and make_udp_socket() return a file descriptor on
success, -1 on failure.  The check misinterprets 0 as failure.  Fix
that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240203080228.2766159-3-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>


  Commit: 55ab949207922d8d6f7a22d682df275b9a3b0c65
      
https://github.com/qemu/qemu/commit/55ab949207922d8d6f7a22d682df275b9a3b0c65
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qapi/char.json

  Log Message:
  -----------
  qapi/char: Make backend types properly conditional

Character backends are actually QOM types.  When a backend's
compile-time conditional QOM type is not compiled in, creation fails
with "'FOO' is not a valid char driver name".  Okay, except
introspecting chardev-add with query-qmp-schema doesn't work then: the
backend type is there even though the QOM type isn't.

A management application can work around this issue by using
qom-list-types instead.

Fix the issue anyway: add the conditionals to the QAPI schema.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240203080228.2766159-4-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>


  Commit: 684d03acff6096b8ae79da0fcd6194238827c67e
      
https://github.com/qemu/qemu/commit/684d03acff6096b8ae79da0fcd6194238827c67e
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M docs/about/deprecated.rst
    M qapi/char.json

  Log Message:
  -----------
  qapi/char: Deprecate backend type "memory"

It's an alias for "ringbuf" we kept for backward compatibility; see
commit 3a1da42eb35 (qapi: Rename ChardevBackend member "memory" to
"ringbuf").  Deprecation is long overdue.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240203080228.2766159-5-armbru@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>


  Commit: 1ccdae0b6ef08ae03dc4d079068c27ce3b885cb5
      
https://github.com/qemu/qemu/commit/1ccdae0b6ef08ae03dc4d079068c27ce3b885cb5
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M docs/devel/qapi-code-gen.rst

  Log Message:
  -----------
  docs/devel/qapi-code-gen: Normalize version refs x.y.0 to just x.y

Missed in commit 9bc6e893b72 (qapi: Normalize version references x.y.0
to just x.y).

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-2-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 399c8cd3ba9215f8e4ea166dce0f6619071a4f66
      
https://github.com/qemu/qemu/commit/399c8cd3ba9215f8e4ea166dce0f6619071a4f66
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M docs/devel/qapi-code-gen.rst

  Log Message:
  -----------
  docs/devel/qapi-code-gen: Tweak doc comment whitespace

Missed in commit a937b6aa739 (qapi: Reformat doc comments to conform
to current conventions).

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-3-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: d9884878820366e66d3e28436daf5aa3d0fb9c37
      
https://github.com/qemu/qemu/commit/d9884878820366e66d3e28436daf5aa3d0fb9c37
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qapi/block-core.json

  Log Message:
  -----------
  qapi/block-core: Fix BlockLatencyHistogramInfo doc markup

The description of @bins ends with a literal block:

    # @bins: list of io request counts corresponding to histogram
    #     intervals, one more element than @boundaries has.  For the
    #     example above, @bins may be something like [3, 1, 5, 2], and
    #     corresponding histogram looks like:
    #
    # ::
    #
    #        5|           *

Except it actually ends *before* the block: the unindented '::' line
starts a new section.  Makes no sense.

We could fix this by indenting the '::' line.  Instead, double the
colon at the end of the preceding paragraph, and drop the '::' line.

This shifts the box for the literal block right in generated
documentation, so it lines up with the description.

Fixes: commit a0fcff383b34 (qapi: Use rST markup for literal blocks)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-4-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 1ed1d4d60885059cee10a411653c5868a0c13097
      
https://github.com/qemu/qemu/commit/1ed1d4d60885059cee10a411653c5868a0c13097
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qapi/migration.json
    M qapi/misc.json
    M qapi/qdev.json
    M tests/qapi-schema/doc-good.json
    M tests/qapi-schema/doc-good.out

  Log Message:
  -----------
  qapi: Indent tagged doc comment sections properly

docs/devel/qapi-code-gen demands that the "second and subsequent lines
of sections other than "Example"/"Examples" should be indented".
Commit a937b6aa739q (qapi: Reformat doc comments to conform to current
conventions) missed a few instances, and messed up a few others.
Clean that up.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-5-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: fd62bff901b6c25df4971066b74049548caadc83
      
https://github.com/qemu/qemu/commit/fd62bff901b6c25df4971066b74049548caadc83
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M docs/sphinx/qapidoc.py

  Log Message:
  -----------
  sphinx/qapidoc: Drop code to generate doc for simple union tag

QAPISchemaGenRSTVisitor._nodes_for_members() has a special case to
auto-generate documentation for a union tag member of implicit (enum)
type that lacks documentation.

This was useful for simple unions, where the tag member's type was
implicitly.  The only implicit enum type left today is 'QType'.  Not
worth a special case.  Drop.  No change to generated documentation.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-6-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 0cec50119f803723f608f6498975799ab35abf52
      
https://github.com/qemu/qemu/commit/0cec50119f803723f608f6498975799ab35abf52
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M docs/devel/qapi-code-gen.rst
    M qapi/pragma.json
    M qga/qapi-schema.json
    M scripts/qapi/parser.py
    M scripts/qapi/source.py
    M tests/qapi-schema/doc-bad-alternate-member.json
    M tests/qapi-schema/doc-good.json

  Log Message:
  -----------
  qapi: Require member documentation (with loophole)

The QAPI generator forces you to document your stuff.  Except for
command arguments, event data, and members of enum and object types:
these the generator silently "documents" as "Not documented".

We can't require proper documentation there without first fixing all
the offenders.  We've always had too many offenders to pull that off.
Right now, we have more than 500.  Worse, we seem to fix old ones no
faster than we add new ones: in the past year, we fixed 22 ones, but
added 26 new ones.

To help arrest the backsliding, make missing documentation an error
unless the command, type, or event is in listed in new pragma
documentation-exceptions.

List all the current offenders: 117 commands and types in qapi/, and 9
in qga/.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-7-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: ab27bb03d3cfba492c842fbeca45a4a1f0d20833
      
https://github.com/qemu/qemu/commit/ab27bb03d3cfba492c842fbeca45a4a1f0d20833
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qga/qapi-schema.json

  Log Message:
  -----------
  qga/qapi-schema: Clean up documentation of guest-set-memory-blocks

The command's doc comment describes the argument, but it's not marked
up as such.  Easy enough to fix.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-8-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 0b34cf84e65c4804eeb6f6b724acbaaa07c8df0b
      
https://github.com/qemu/qemu/commit/0b34cf84e65c4804eeb6f6b724acbaaa07c8df0b
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qga/qapi-schema.json

  Log Message:
  -----------
  qga/qapi-schema: Clean up documentation of guest-set-vcpus

The command's doc comment describes the argument, but it's not marked
up as such.  Easy enough to fix.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-9-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: ca86608f7b0363e6337374bd3f6d47da4f3125d7
      
https://github.com/qemu/qemu/commit/ca86608f7b0363e6337374bd3f6d47da4f3125d7
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qga/qapi-schema.json

  Log Message:
  -----------
  qga/qapi-schema: Plug trivial documentation holes

Add missing return member documentation of guest-get-disks,
guest-get-devices, guest-get-diskstats, and guest-get-cpustats.

The NVMe SMART information returned by guest-getdisks remains
undocumented.  Add a TODO there.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-10-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: e701cd77ab7154982323d5f1c5d3dc56e37c081b
      
https://github.com/qemu/qemu/commit/e701cd77ab7154982323d5f1c5d3dc56e37c081b
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qapi/pragma.json
    M qapi/yank.json

  Log Message:
  -----------
  qapi/yank: Clean up documentaion of yank

The command's doc comment describes the argument, but it's not marked
up as such.  Easy enough to fix.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-11-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: a57790f7d72e4672b8f27e7affc036977f666f7e
      
https://github.com/qemu/qemu/commit/a57790f7d72e4672b8f27e7affc036977f666f7e
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qapi/dump.json
    M qapi/pragma.json

  Log Message:
  -----------
  qapi/dump: Clean up documentation of DumpGuestMemoryCapability

The type's doc comment describes its member, but it's not marked up as
such.  Easy enough to fix.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-12-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 2fecccbc841b7225be44f759a22ff245d274bb65
      
https://github.com/qemu/qemu/commit/2fecccbc841b7225be44f759a22ff245d274bb65
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qapi/block-core.json
    M qapi/char.json
    M qapi/machine.json
    M qapi/pragma.json
    M qapi/sockets.json
    M qapi/tpm.json
    M qapi/ui.json

  Log Message:
  -----------
  qapi: Plug trivial documentation holes around former simple unions

The conversion of simple to flat unions left the @data members
undocumented.  Add documentation where it's trivial.  Copy verbatim
from the wrapped type's description where possible.

Leftovers: String (to be taken care of in the next commit), and
TransActionAction (left for another day).

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-13-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 4edb196e209e21c4bc5e10f5873fded1d4565f94
      
https://github.com/qemu/qemu/commit/4edb196e209e21c4bc5e10f5873fded1d4565f94
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M chardev/char-socket.c
    M include/hw/virtio/vhost-vsock-common.h
    M qapi/sockets.json
    M util/qemu-sockets.c

  Log Message:
  -----------
  qapi: Improve documentation of file descriptor socket addresses

SocketAddress branch @fd is documented in enum SocketAddressType,
unlike the other branches.  That's because the branch's type is String
from common.json.

Use a local copy of String, so we can put the documentation in the
usual place.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-14-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 8bf69544b5e8142a4b7397bc1235eb2c42d1b29d
      
https://github.com/qemu/qemu/commit/8bf69544b5e8142a4b7397bc1235eb2c42d1b29d
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M include/net/filter.h
    M qapi/common.json
    M qapi/net.json

  Log Message:
  -----------
  qapi: Move @String out of common.json to discourage reuse

Use of String is problematic, because it results in awkward interface
documentation.  The previous commit cleaned up one instance.

Move String out of common.json next to its remaining users in net.json
to discourage reuse elsewhere.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-15-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 89a2273b9d9e46e2e314fe05faf1b11bf4b3f6d2
      
https://github.com/qemu/qemu/commit/89a2273b9d9e46e2e314fe05faf1b11bf4b3f6d2
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qapi/block-core.json
    M qapi/block-export.json
    M qapi/char.json
    M qapi/crypto.json
    M qapi/machine.json
    M qapi/migration.json
    M qapi/pragma.json
    M qapi/sockets.json
    M qapi/stats.json
    M qapi/transaction.json
    M qapi/ui.json
    M qapi/yank.json

  Log Message:
  -----------
  qapi: Add missing union tag documentation

Low-hanging fruit, and except for StatsFilter, the only members of
these unions lacking documentation.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205074709.3613229-16-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


  Commit: 66fcb9d651d69f9f01025acd7ecac35e727c928a
      
https://github.com/qemu/qemu/commit/66fcb9d651d69f9f01025acd7ecac35e727c928a
  Author: Peter Xu <peterx@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M qapi/migration.json
    M qapi/pragma.json

  Log Message:
  -----------
  qapi/migration: Add missing tls-authz documentation

As reported in Markus's recent enforcement series on qapi doc [1], we
accidentally miss one entry for tls-authz.  Add it.

[1] https://lore.kernel.org/r/20240205074709.3613229-1-armbru@redhat.com

Cc: Daniel P. Berrangé <berrange@redhat.com>
Cc: Fabiano Rosas <farosas@suse.de>
Reported-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Message-ID: <20240207032836.268183-1-peterx@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Update of qapi/pragma.json squashed in, commit message adjusted]


  Commit: 66ba157a96ea5a292c8ee326ba3e566dd9b2354d
      
https://github.com/qemu/qemu/commit/66ba157a96ea5a292c8ee326ba3e566dd9b2354d
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Cover qapi/cxl.json

Commit 415442a1b4a (hw/mem/cxl_type3: Add CXL RAS Error Injection
Support.) created qapi/cxl.json without adding it to MAINTAINERS.  Fix
that.

Cc: Ben Widawsky <ben.widawsky@intel.com>
Cc: Jonathan Cameron <jonathan.cameron@huawei.com>
Cc: Fan Ni <fan.ni@samsung.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205084747.3623569-2-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 0afbba6c3255dbe954ef609987b610cdaaf48f24
      
https://github.com/qemu/qemu/commit/0afbba6c3255dbe954ef609987b610cdaaf48f24
  Author: Markus Armbruster <armbru@redhat.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Cover qapi/stats.json

Commit aa09b3d5f8e (stats: Move QMP commands from monitor/ to stats/)
created section Stats, but neglected to add qapi/stats.json to it.
Fix that.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240205084747.3623569-3-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>


  Commit: 423ac9e689f77860452985be1466a43429c529bb
      
https://github.com/qemu/qemu/commit/423ac9e689f77860452985be1466a43429c529bb
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M chardev/char-parallel.c
    M chardev/meson.build
    M docs/about/deprecated.rst
    M include/qemu/osdep.h
    M qapi/char.json
    M tests/unit/test-char.c

  Log Message:
  -----------
  Merge tag 'pull-char-2024-02-12' of https://repo.or.cz/qemu/armbru into 
staging

Character device backend patches for 2024-02-12

# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmXJ2jkSHGFybWJydUBy
# ZWRoYXQuY29tAAoJEDhwtADrkYZTe+YP/isehYTM4uP2hn93p1KyQ2AZ6hQTJca4
# zJVkNoCwV/7qXH0JESBY29x5o1VV0MKgxXORyb2gRYuHVQN7IrBKWk4+vqXoTJ8L
# r3fR0Cchz/2FDdNAnkGV8LDB0adbFMFHLR80Gfofgbnxaw5VQzMPamWUlsocGzs+
# e6NYXRJssjP9G2IMVbJC6/ZLpv0z41A0Er0K1KhAcupRsrgG9FjxwfzFo8edOrkz
# HM5NTq3Pg00J26VI60Gu3BTn8QlUDmnWlsob2VuUpQF+B5makA2M+7Pu07oxnV+Q
# jDm2mICillKG4c0cVciLcikzKyPMdUCTf3+nU3PneKInyVKZXAKBsC5ntC1wl5dn
# 0nfsvO8YoZVBxrSGMOqkqzGq/9DpWAiCQ8dEtUXR0X59pyIl1qywq5dY/4c0W3G/
# B9oVGebHQG8dENz/t7Ps+Wl51Dd+3XTjVTYplREUzgCdvwzQgy7/mA99CKDaGjtA
# JVsYIkyIhpQG9n7WXtOo0BC4ZFjC9WnFl7CReVwZFMma4ggnYTfPYJ0HmZPqAYgD
# ZpUM4WW4IYxVbIUbkmrVOBhZ1aRT4M4W8Vybb8V63orYX0R/kjNKRg9LfnmKy1Ql
# 4WFhJwp0MOJz5stupe3QiEidfFBYtGJiPsc91TGpwlar0nNZH0WgSGFGY7rbA5RY
# W3Tb+ARki7YF
# =lWRZ
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 12 Feb 2024 08:43:37 GMT
# gpg:                using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
# gpg:                issuer "armbru@redhat.com"
# gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full]
# gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>" [full]
# Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653

* tag 'pull-char-2024-02-12' of https://repo.or.cz/qemu/armbru:
  qapi/char: Deprecate backend type "memory"
  qapi/char: Make backend types properly conditional
  tests/unit/test-char: Fix qemu_socket(), make_udp_socket() check
  chardev/parallel: Don't close stdin on inappropriate device

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: d2a9a310b605f935bad08a878a166bcf96e8afc9
      
https://github.com/qemu/qemu/commit/d2a9a310b605f935bad08a878a166bcf96e8afc9
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M MAINTAINERS
    M chardev/char-socket.c
    M docs/devel/qapi-code-gen.rst
    M docs/sphinx/qapidoc.py
    M include/hw/virtio/vhost-vsock-common.h
    M include/net/filter.h
    M qapi/block-core.json
    M qapi/block-export.json
    M qapi/char.json
    M qapi/common.json
    M qapi/crypto.json
    M qapi/dump.json
    M qapi/machine.json
    M qapi/migration.json
    M qapi/misc.json
    M qapi/net.json
    M qapi/pragma.json
    M qapi/qdev.json
    M qapi/sockets.json
    M qapi/stats.json
    M qapi/tpm.json
    M qapi/transaction.json
    M qapi/ui.json
    M qapi/yank.json
    M qga/qapi-schema.json
    M scripts/qapi/parser.py
    M scripts/qapi/source.py
    M tests/qapi-schema/doc-bad-alternate-member.json
    M tests/qapi-schema/doc-good.json
    M tests/qapi-schema/doc-good.out
    M util/qemu-sockets.c

  Log Message:
  -----------
  Merge tag 'pull-qapi-2024-02-12' of https://repo.or.cz/qemu/armbru into 
staging

QAPI patches patches for 2024-02-12

# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmXJ4PsSHGFybWJydUBy
# ZWRoYXQuY29tAAoJEDhwtADrkYZTDwsP/iEdmZmjoxMedTzec+GGl5QxfMkqLn14
# eX2jXtzLGZMjGMh4lvMaAdn0AJ3VnBOqxly14sMK6TMWGZkNKJpKF+2Cj8IKte1o
# MlpS1N/7rZxew+B9HkulhS+6UFB3Jndsflm2ot4g+rRjohJCw0v0GapEqjQg6CKp
# efJhiPuBSImm2MSx+n4dj8gkcFOMrgo6oc2ZpN0ypvGb4mupPpnNj6v12yZL8FUM
# Enwsk+pBLQWoYxI9MFDGc0gW9ZBlEdP/nVq/PbglD06Urc241AHGYqT7XLT0oHLl
# 6NA4v3N4GPdSe6oJdOHDFVR+/uPKiiyrseTdYTSGgAN8gcRtHam4WWhqSDIN3Afl
# y41A9ZKkW51TpdszQ6wCdrgbTH5z6K5vnwWfVTwIgdI0mrDcAGWnc2Yr7m6c3fS8
# /Vz00J7OC0P1nXh0IeRxXExXSmaGUUgS3T/KBXPYr0PQPe7Qd+1eTQN6LaliEMRH
# dRpXQabjLmztMhc5VXCv8ihwa7mNVaEn++uRrdKoWOvIQEp0ZeZfxCzp+/2mGPJ0
# YKJc7Ja260h2Y00/Zu2XiwjdzgG+h+QuJO/3OFsZIV5ftFqSBRMCHiGEfANHidld
# Cpo0efeWWTPdV8BQOirGGr0qtDTmgFMFCZTJMsI/g0m9sMCv0WbTtmWNThwaI3uD
# MKnEGG+KX7vD
# =nhrQ
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 12 Feb 2024 09:12:27 GMT
# gpg:                using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
# gpg:                issuer "armbru@redhat.com"
# gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full]
# gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>" [full]
# Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653

* tag 'pull-qapi-2024-02-12' of https://repo.or.cz/qemu/armbru:
  MAINTAINERS: Cover qapi/stats.json
  MAINTAINERS: Cover qapi/cxl.json
  qapi/migration: Add missing tls-authz documentation
  qapi: Add missing union tag documentation
  qapi: Move @String out of common.json to discourage reuse
  qapi: Improve documentation of file descriptor socket addresses
  qapi: Plug trivial documentation holes around former simple unions
  qapi/dump: Clean up documentation of DumpGuestMemoryCapability
  qapi/yank: Clean up documentaion of yank
  qga/qapi-schema: Plug trivial documentation holes
  qga/qapi-schema: Clean up documentation of guest-set-vcpus
  qga/qapi-schema: Clean up documentation of guest-set-memory-blocks
  qapi: Require member documentation (with loophole)
  sphinx/qapidoc: Drop code to generate doc for simple union tag
  qapi: Indent tagged doc comment sections properly
  qapi/block-core: Fix BlockLatencyHistogramInfo doc markup
  docs/devel/qapi-code-gen: Tweak doc comment whitespace
  docs/devel/qapi-code-gen: Normalize version refs x.y.0 to just x.y

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: e204954779b5c045bba9fd8cdac856a7f44422c8
      
https://github.com/qemu/qemu/commit/e204954779b5c045bba9fd8cdac856a7f44422c8
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M disas/hppa.c
    M hw/hppa/machine.c
    M hw/misc/lasi.c
    M hw/net/tulip.c
    M hw/pci-host/astro.c
    M include/hw/misc/lasi.h
    M include/hw/pci-host/astro.h
    M pc-bios/hppa-firmware.img
    A pc-bios/hppa-firmware64.img
    M roms/seabios-hppa
    M target/hppa/cpu.c
    M target/hppa/cpu.h
    M target/hppa/helper.h
    M target/hppa/mem_helper.c
    M target/hppa/sys_helper.c
    M target/hppa/translate.c

  Log Message:
  -----------
  Merge tag 'hppa64-pull-request' of https://github.com/hdeller/qemu-hppa into 
staging

target/hppa: Enhancements and fixes

A new SeaBIOS-hppa firmware which is built as 32- and 64-bit firmware.
Necessary to fully support 64-bit operating systems (HP-UX, Linux, NetBSD,...).

# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQS86RI+GtKfB8BJu973ErUQojoPXwUCZci9cwAKCRD3ErUQojoP
# X28uAPwOaeeAxCOh2t0RM2wJ00xibQWXeLTpLY8PlcG2irazVQD+PGIHnUs6R908
# HACKJQptkJY8DIyGP3v78awbNi7dWQ0=
# =05mn
# -----END PGP SIGNATURE-----
# gpg: Signature made Sun 11 Feb 2024 12:28:35 GMT
# gpg:                using EDDSA key BCE9123E1AD29F07C049BBDEF712B510A23A0F5F
# gpg: Good signature from "Helge Deller <deller@gmx.de>" [unknown]
# gpg:                 aka "Helge Deller <deller@kernel.org>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 4544 8228 2CD9 10DB EF3D  25F8 3E5F 3D04 A7A2 4603
#      Subkey fingerprint: BCE9 123E 1AD2 9F07 C049  BBDE F712 B510 A23A 0F5F

* tag 'hppa64-pull-request' of https://github.com/hdeller/qemu-hppa:
  hw/hppa/machine: Load 64-bit firmware on 64-bit machines
  target/hppa: Update SeaBIOS-hppa to version 16
  hw/net/tulip: add chip status register values
  target/hppa: PDC_BTLB_INFO uses 32-bit ints
  target/hppa: Allow read-access to PSW with rsm 0,reg instruction
  lasi: Add reset I/O ports for LASI audio and FDC
  target/hppa: Implement do_transaction_failed handler for I/O errors
  lasi: allow access to LAN MAC address registers
  hw/pci-host/astro: Implement Hard Fail and Soft Fail mode
  hw/pci-host/astro: Avoid aborting on access failure
  target/hppa: Add "diag 0x101" for console output support
  disas/hppa: Add disassembly for qemu specific instructions

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/5005aed8a7e7...e204954779b5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]