qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 994679: mailmap: Fix Andrey Drobyshev author


From: Alex Bennée
Subject: [Qemu-commits] [qemu/qemu] 994679: mailmap: Fix Andrey Drobyshev author email
Date: Mon, 09 Oct 2023 07:16:41 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 994679b98abc320149b30209cfa93dfe66160c50
      
https://github.com/qemu/qemu/commit/994679b98abc320149b30209cfa93dfe66160c50
  Author: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M .mailmap

  Log Message:
  -----------
  mailmap: Fix Andrey Drobyshev author email

This fixes authorship of commits 2848289168, 52b10c9c0c as the mailing
list rewrote the "From:" field in the corresponding patches.  See commit
3bd2608db7 ("maint: Add .mailmap entries for patches claiming list
authorship") for explanation.

Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Message-ID: <20230926102801.512107-1-andrey.drobyshev@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Eric Blake <eblake@redhat.com>


  Commit: 8a18f28c00ba6bdb5a6f18d6cc6560adfa1e4d0f
      
https://github.com/qemu/qemu/commit/8a18f28c00ba6bdb5a6f18d6cc6560adfa1e4d0f
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M .mailmap

  Log Message:
  -----------
  maint: Tweak comments in mailmap regarding SPF

Documenting that we should not add new lines to work around SPF
rewrites sounds foreboding; the intent is instead that new lines here
are okay, but indicate a second problem elsewhere in our build process
that we should also consider fixing at the same time, to keep the
section from growing without bounds.  While we have been doing that
for qemu-devel for a while, we jut recently fixed that for qemu-block:
https://git.linaro.org/people/pmaydell/misc-scripts.git/commit/?id=f9a317392

Mentioning DMARC alongside SPF may also help people grep for this
scenario, as well as documenting the 'git config' workaround that can
be used by submitters to avoid the munging issue in the first place.

Note the subtlety: 'git commit' sets authorship information based on
user.name and user.email (where name is usually unquoted); while 'git
send-email' includes a body 'From:' line only when sendemail.from is
present but differs from authorship information.  Hence the use of
quotes in sendemail.from (not a semantic change to email, but enough
of a difference to add the body 'From:').

Fixes: 3bd2608d ("maint: Add .mailmap entries for patches claiming list 
authorship")
CC: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230927143815.3397386-7-eblake@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>


  Commit: a960a27ed093dabf891e3f727ec4494479e359fa
      
https://github.com/qemu/qemu/commit/a960a27ed093dabf891e3f727ec4494479e359fa
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M .mailmap

  Log Message:
  -----------
  mailmap: Fix BALATON Zoltan author email

This fixes authorship of commits 5cbd51a5 and friends, where the
qemu-ppc mailing list rewrote the "From:" field in the corresponding
patches.  See commit 3bd2608db7 ("maint: Add .mailmap entries for
patches claiming list authorship") for explanation.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230927143815.3397386-8-eblake@redhat.com>


  Commit: 009cd8665095a04115940704d680a52dcc49d489
      
https://github.com/qemu/qemu/commit/009cd8665095a04115940704d680a52dcc49d489
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M nbd/server.c
    M nbd/trace-events

  Log Message:
  -----------
  nbd/server: Support a request payload

Upcoming additions to support NBD 64-bit effect lengths allow for the
possibility to distinguish between payload length (capped at 32M) and
effect length (64 bits, although we generally assume 63 bits because
of off_t limitations).  Without that extension, only the NBD_CMD_WRITE
request has a payload; but with the extension, it makes sense to allow
at least NBD_CMD_BLOCK_STATUS to have both a payload and effect length
in a future patch (where the payload is a limited-size struct that in
turn gives the real effect length as well as a subset of known ids for
which status is requested).  Other future NBD commands may also have a
request payload, so the 64-bit extension introduces a new
NBD_CMD_FLAG_PAYLOAD_LEN that distinguishes between whether the header
length is a payload length or an effect length, rather than
hard-coding the decision based on the command.

According to the spec, a client should never send a command with a
payload without the negotiation phase proving such extension is
available.  So in the unlikely event the bit is set or cleared
incorrectly, the client is already at fault; if the client then
provides the payload, we can gracefully consume it off the wire and
fail the command with NBD_EINVAL (subsequent checks for magic numbers
ensure we are still in sync), while if the client fails to send
payload we block waiting for it (basically deadlocking our connection
to the bad client, but not negatively impacting our ability to service
other clients, so not a security risk).  Note that we do not support
the payload version of BLOCK_STATUS yet.

This patch also fixes a latent bug introduced in b2578459: once
request->len can be 64 bits, assigning it to a 32-bit payload_len can
cause wraparound to 0 which then sets req->complete prematurely;
thankfully, the bug was not possible back then (it takes this and
later patches to even allow request->len larger than 32 bits; and
since previously the only 'payload_len = request->len' assignment was
in NBD_CMD_WRITE which also sets check_length, which in turn rejects
lengths larger than 32M before relying on any possibly-truncated value
stored in payload_len).

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230925192229.3186470-15-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
[eblake: enhance comment on handling client error, fix type bug]
Signed-off-by: Eric Blake <eblake@redhat.com>


  Commit: c8720ca03e01cf68f23a2017586db57abe12de0f
      
https://github.com/qemu/qemu/commit/c8720ca03e01cf68f23a2017586db57abe12de0f
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M nbd/nbd-internal.h
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: Prepare to receive extended header requests

Although extended mode is not yet enabled, once we do turn it on, we
need to accept extended requests for all messages.  Previous patches
have already taken care of supporting 64-bit lengths, now we just need
to read it off the wire.

Note that this implementation will block indefinitely on a buggy
client that sends a non-extended payload (that is, we try to read a
full packet before we ever check the magic number, but a client that
mistakenly sends a simple request after negotiating extended headers
doesn't send us enough bytes), but it's no different from any other
client that stops talking to us partway through a packet and thus not
worth coding around.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20230925192229.3186470-16-eblake@redhat.com>


  Commit: 11d3355fc83f48b317f0d1f70d69c0085da7dce6
      
https://github.com/qemu/qemu/commit/11d3355fc83f48b317f0d1f70d69c0085da7dce6
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: Prepare to send extended header replies

Although extended mode is not yet enabled, once we do turn it on, we
need to reply with extended headers to all messages.  Update the low
level entry points necessary so that all other callers automatically
get the right header based on the current mode.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20230925192229.3186470-17-eblake@redhat.com>


  Commit: bcc16cc19eb87889c92b71a8cde77f502e7e19be
      
https://github.com/qemu/qemu/commit/bcc16cc19eb87889c92b71a8cde77f502e7e19be
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: Support 64-bit block status

The NBD spec states that if the client negotiates extended headers,
the server must avoid NBD_REPLY_TYPE_BLOCK_STATUS and instead use
NBD_REPLY_TYPE_BLOCK_STATUS_EXT which supports 64-bit lengths, even if
the reply does not need more than 32 bits.  As of this patch,
client->mode is still never NBD_MODE_EXTENDED, so the code added here
does not take effect until the next patch enables negotiation.

For now, all metacontexts that we know how to export never populate
more than 32 bits of information, so we don't have to worry about
NBD_REP_ERR_EXT_HEADER_REQD or filtering during handshake, and we
always send all zeroes for the upper 32 bits of status during
NBD_CMD_BLOCK_STATUS.

Note that we previously had some interesting size-juggling on call
chains, such as:

nbd_co_send_block_status(uint32_t length)
-> blockstatus_to_extents(uint32_t bytes)
  -> bdrv_block_status_above(bytes, &uint64_t num)
  -> nbd_extent_array_add(uint64_t num)
    -> store num in 32-bit length

But we were lucky that it never overflowed: bdrv_block_status_above
never sets num larger than bytes, and we had previously been capping
'bytes' at 32 bits (since the protocol does not allow sending a larger
request without extended headers).  This patch adds some assertions
that ensure we continue to avoid overflowing 32 bits for a narrow
client, while fully utilizing 64-bits all the way through when the
client understands that.  Even in 64-bit math, overflow is not an
issue, because all lengths are coming from the block layer, and we
know that the block layer does not support images larger than off_t
(if lengths were coming from the network, the story would be
different).

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20230925192229.3186470-18-eblake@redhat.com>


  Commit: 9c1d26143764dc53c19d872de4f8a9f820e05177
      
https://github.com/qemu/qemu/commit/9c1d26143764dc53c19d872de4f8a9f820e05177
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M docs/interop/nbd.txt
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: Enable initial support for extended headers

Time to start supporting clients that request extended headers.  Now
we can finally reach the code added across several previous patches.

Even though the NBD spec has been altered to allow us to accept
NBD_CMD_READ larger than the max payload size (provided our response
is a hole or broken up over more than one data chunk), we are not
planning to take advantage of that, and continue to cap NBD_CMD_READ
to 32M regardless of header size.

For NBD_CMD_WRITE_ZEROES and NBD_CMD_TRIM, the block layer already
supports 64-bit operations without any effort on our part.  For
NBD_CMD_BLOCK_STATUS, the client's length is a hint, and the previous
patch took care of implementing the required
NBD_REPLY_TYPE_BLOCK_STATUS_EXT.

We do not yet support clients that want to do request payload
filtering of NBD_CMD_BLOCK_STATUS; that will be added in later
patches, but is not essential for qemu as a client since qemu only
requests the single context base:allocation.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20230925192229.3186470-19-eblake@redhat.com>


  Commit: ed6c996c673e3d64be1f060abc3a6999e007dae2
      
https://github.com/qemu/qemu/commit/ed6c996c673e3d64be1f060abc3a6999e007dae2
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M block/nbd.c

  Log Message:
  -----------
  nbd/client: Plumb errp through nbd_receive_replies

Instead of ignoring the low-level error just to refabricate our own
message to pass to the caller, we can just plumb the caller's errp
down to the low level.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230925192229.3186470-20-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>


  Commit: 4fc55bf3b0608f15ce64d7b8cdaa95ac29e62d6c
      
https://github.com/qemu/qemu/commit/4fc55bf3b0608f15ce64d7b8cdaa95ac29e62d6c
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M block/nbd.c
    M include/block/nbd.h
    M nbd/client.c
    M nbd/trace-events

  Log Message:
  -----------
  nbd/client: Initial support for extended headers

Update the client code to be able to send an extended request, and
parse an extended header from the server.  Note that since we reject
any structured reply with a too-large payload, we can always normalize
a valid header back into the compact form, so that the caller need not
deal with two branches of a union.  Still, until a later patch lets
the client negotiate extended headers, the code added here should not
be reached.  Note that because of the different magic numbers, it is
just as easy to trace and then tolerate a non-compliant server sending
the wrong header reply as it would be to insist that the server is
compliant.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230925192229.3186470-21-eblake@redhat.com>
[eblake: fix trace format]
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>


  Commit: a7c18670b429cc5e9c5e6a25cc401dc93086f1a7
      
https://github.com/qemu/qemu/commit/a7c18670b429cc5e9c5e6a25cc401dc93086f1a7
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M block/nbd.c
    M block/trace-events

  Log Message:
  -----------
  nbd/client: Accept 64-bit block status chunks

Once extended mode is enabled, we need to accept 64-bit status replies
(even for replies that don't exceed a 32-bit length).  It is easier to
normalize narrow replies into wide format so that the rest of our code
only has to handle one width.  Although a server is non-compliant if
it sends a 64-bit reply in compact mode, or a 32-bit reply in extended
mode, it is still easy enough to tolerate these mismatches.

In normal execution, we are only requesting "base:allocation" which
never exceeds 32 bits for flag values. But during testing with
x-dirty-bitmap, we can force qemu to connect to some other context
that might have 64-bit status bit; however, we ignore those upper bits
(other than mapping qemu:allocation-depth into something that
'qemu-img map --output=json' can expose), and since that only affects
testing, we really don't bother with checking whether more than the
two least-significant bits are set.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20230925192229.3186470-22-eblake@redhat.com>


  Commit: 56cf9d0471c6481adcada2b6afbaf6c7af9e76c7
      
https://github.com/qemu/qemu/commit/56cf9d0471c6481adcada2b6afbaf6c7af9e76c7
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M nbd/client-connection.c
    M nbd/client.c
    M qemu-nbd.c
    M tests/qemu-iotests/223.out
    M tests/qemu-iotests/233.out
    M tests/qemu-iotests/241.out
    M tests/qemu-iotests/307.out
    M tests/qemu-iotests/tests/nbd-qemu-allocation.out

  Log Message:
  -----------
  nbd/client: Request extended headers during negotiation

All the pieces are in place for a client to finally request extended
headers.  Note that we must not request extended headers when qemu-nbd
is used to connect to the kernel module (as nbd.ko does not expect
them, but expects us to do the negotiation in userspace before handing
the socket over to the kernel), but there is no harm in all other
clients requesting them.

Extended headers are not essential to the information collected during
'qemu-nbd --list', but probing for it gives us one more piece of
information in that output.  Update the iotests affected by the new
line of output.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20230925192229.3186470-23-eblake@redhat.com>


  Commit: fd358d83901d7ccf51a389bd2d0718b28ca77c1f
      
https://github.com/qemu/qemu/commit/fd358d83901d7ccf51a389bd2d0718b28ca77c1f
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M include/block/nbd.h
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: Refactor list of negotiated meta contexts

Peform several minor refactorings of how the list of negotiated meta
contexts is managed, to make upcoming patches easier: Promote the
internal type NBDExportMetaContexts to the public opaque type
NBDMetaContexts, and mark exp const.  Use a shorter member name in
NBDClient.  Hoist calls to nbd_check_meta_context() earlier in their
callers, as the number of negotiated contexts may impact the flags
exposed in regards to an export, which in turn requires a new
parameter.  Drop a redundant parameter to nbd_negotiate_meta_queries.
No semantic change intended on the success path; on the failure path,
dropping context in nbd_check_meta_export even when reporting an error
is safer.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-ID: <20230925192229.3186470-24-eblake@redhat.com>


  Commit: 1dec4643d13cb3ba8315e07ce89c7fd4faaff2de
      
https://github.com/qemu/qemu/commit/1dec4643d13cb3ba8315e07ce89c7fd4faaff2de
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M include/block/nbd.h
    M nbd/server.c

  Log Message:
  -----------
  nbd/server: Prepare for per-request filtering of BLOCK_STATUS

The next commit will add support for the optional extension
NBD_CMD_FLAG_PAYLOAD during NBD_CMD_BLOCK_STATUS, where the client can
request that the server only return a subset of negotiated contexts,
rather than all contexts.  To make that task easier, this patch
populates the list of contexts to return on a per-command basis (for
now, identical to the full set of negotiated contexts).

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230925192229.3186470-25-eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>


  Commit: 2dcbb11b399ada51f734229b612e4f561a2aae0a
      
https://github.com/qemu/qemu/commit/2dcbb11b399ada51f734229b612e4f561a2aae0a
  Author: Eric Blake <eblake@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M docs/interop/nbd.txt
    M nbd/server.c
    M nbd/trace-events
    M qemu-nbd.c
    M tests/qemu-iotests/223.out
    M tests/qemu-iotests/307.out
    M tests/qemu-iotests/tests/nbd-qemu-allocation.out

  Log Message:
  -----------
  nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS

Allow a client to request a subset of negotiated meta contexts.  For
example, a client may ask to use a single connection to learn about
both block status and dirty bitmaps, but where the dirty bitmap
queries only need to be performed on a subset of the disk; forcing the
server to compute that information on block status queries in the rest
of the disk is wasted effort (both at the server, and on the amount of
traffic sent over the wire to be parsed and ignored by the client).

Qemu as an NBD client never requests to use more than one meta
context, so it has no need to use block status payloads.  Testing this
instead requires support from libnbd, which CAN access multiple meta
contexts in parallel from a single NBD connection; an interop test
submitted to the libnbd project at the same time as this patch
demonstrates the feature working, as well as testing some corner cases
(for example, when the payload length is longer than the export
length), although other corner cases (like passing the same id
duplicated) requires a protocol fuzzer because libnbd is not wired up
to break the protocol that badly.

This also includes tweaks to 'qemu-nbd --list' to show when a server
is advertising the capability, and to the testsuite to reflect the
addition to that output.

Of note: qemu will always advertise the new feature bit during
NBD_OPT_INFO if extended headers have alreay been negotiated
(regardless of whether any NBD_OPT_SET_META_CONTEXT negotiation has
occurred); but for NBD_OPT_GO, qemu only advertises the feature if
block status is also enabled (that is, if the client does not
negotiate any contexts, then NBD_CMD_BLOCK_STATUS cannot be used, so
the feature is not advertised).

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-ID: <20230925192229.3186470-26-eblake@redhat.com>
[eblake: fix logic to reject unnegotiated contexts]
Signed-off-by: Eric Blake <eblake@redhat.com>


  Commit: 931150e56b056b120c868f94751722710df0b6a7
      
https://github.com/qemu/qemu/commit/931150e56b056b120c868f94751722710df0b6a7
  Author: Alex Williamson <alex.williamson@redhat.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M hw/vfio/display.c

  Log Message:
  -----------
  vfio/display: Fix missing update to set backing fields

The below referenced commit renames scanout_width/height to
backing_width/height, but also promotes these fields in various portions
of the egl interface.  Meanwhile vfio dmabuf support has never used the
previous scanout fields and is therefore missed in the update.  This
results in a black screen when transitioning from ramfb to dmabuf display
when using Intel vGPU with these features.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1891
Link: https://lists.gnu.org/archive/html/qemu-devel/2023-08/msg02726.html
Fixes: 9ac06df8b684 ("virtio-gpu-udmabuf: correct naming of QemuDmaBuf size 
properties")
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Tested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: c06327c9db960158edc8756dbc0eb25fab920656
      
https://github.com/qemu/qemu/commit/c06327c9db960158edc8756dbc0eb25fab920656
  Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M hw/vfio/pci.c

  Log Message:
  -----------
  vfio/pci: rename vfio_put_device to vfio_pci_put_device

vfio_put_device() is a VFIO PCI specific function, rename it with
'vfio_pci' prefix to avoid confusing.

No functional change.

Suggested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 45d85f6228117dbe01d3680f1ad834389f69012f
      
https://github.com/qemu/qemu/commit/45d85f6228117dbe01d3680f1ad834389f69012f
  Author: Jing Liu <jing2.liu@intel.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M hw/vfio/pci.c
    M hw/vfio/pci.h
    M hw/vfio/trace-events

  Log Message:
  -----------
  vfio/pci: detect the support of dynamic MSI-X allocation

Kernel provides the guidance of dynamic MSI-X allocation support of
passthrough device, by clearing the VFIO_IRQ_INFO_NORESIZE flag to
guide user space.

Fetch the flags from host to determine if dynamic MSI-X allocation is
supported.

Originally-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Jing Liu <jing2.liu@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: d9e6710d7d59c1f774bfb49f3b1c2b5ee06ed33e
      
https://github.com/qemu/qemu/commit/d9e6710d7d59c1f774bfb49f3b1c2b5ee06ed33e
  Author: Jing Liu <jing2.liu@intel.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M hw/vfio/pci.c

  Log Message:
  -----------
  vfio/pci: enable vector on dynamic MSI-X allocation

The vector_use callback is used to enable vector that is unmasked in
guest. The kernel used to only support static MSI-X allocation. When
allocating a new interrupt using "static MSI-X allocation" kernels,
QEMU first disables all previously allocated vectors and then
re-allocates all including the new one. The nr_vectors of VFIOPCIDevice
indicates that all vectors from 0 to nr_vectors are allocated (and may
be enabled), which is used to loop all the possibly used vectors when
e.g., disabling MSI-X interrupts.

Extend the vector_use function to support dynamic MSI-X allocation when
host supports the capability. QEMU therefore can individually allocate
and enable a new interrupt without affecting others or causing interrupts
lost during runtime.

Utilize nr_vectors to calculate the upper bound of enabled vectors in
dynamic MSI-X allocation mode since looping all msix_entries_nr is not
efficient and unnecessary.

Signed-off-by: Jing Liu <jing2.liu@intel.com>
Tested-by: Reinette Chatre <reinette.chatre@intel.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: 5ebffa4e87e7a3127650ef2c0fc12e8624337ee4
      
https://github.com/qemu/qemu/commit/5ebffa4e87e7a3127650ef2c0fc12e8624337ee4
  Author: Jing Liu <jing2.liu@intel.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M hw/vfio/pci.c

  Log Message:
  -----------
  vfio/pci: use an invalid fd to enable MSI-X

Guests typically enable MSI-X with all of the vectors masked in the MSI-X
vector table. To match the guest state of device, QEMU enables MSI-X by
enabling vector 0 with userspace triggering and immediately release.
However the release function actually does not release it due to already
using userspace mode.

It is no need to enable triggering on host and rely on the mask bit to
avoid spurious interrupts. Use an invalid fd (i.e. fd = -1) is enough
to get MSI-X enabled.

After dynamic MSI-X allocation is supported, the interrupt restoring
also need use such way to enable MSI-X, therefore, create a function
for that.

Suggested-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Jing Liu <jing2.liu@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: eaadba6f9b14823e52ee154d0052d69907deee8a
      
https://github.com/qemu/qemu/commit/eaadba6f9b14823e52ee154d0052d69907deee8a
  Author: Jing Liu <jing2.liu@intel.com>
  Date:   2023-10-05 (Thu, 05 Oct 2023)

  Changed paths:
    M hw/vfio/pci.c

  Log Message:
  -----------
  vfio/pci: enable MSI-X in interrupt restoring on dynamic allocation

During migration restoring, vfio_enable_vectors() is called to restore
enabling MSI-X interrupts for assigned devices. It sets the range from
0 to nr_vectors to kernel to enable MSI-X and the vectors unmasked in
guest. During the MSI-X enabling, all the vectors within the range are
allocated according to the VFIO_DEVICE_SET_IRQS ioctl.

When dynamic MSI-X allocation is supported, we only want the guest
unmasked vectors being allocated and enabled. Use vector 0 with an
invalid fd to get MSI-X enabled, after that, all the vectors can be
allocated in need.

Signed-off-by: Jing Liu <jing2.liu@intel.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>


  Commit: d43e967f692ab5389da9a8fa3064ffc6586a3d13
      
https://github.com/qemu/qemu/commit/d43e967f692ab5389da9a8fa3064ffc6586a3d13
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/m68k/q800-glue.c

  Log Message:
  -----------
  q800-glue.c: convert to Resettable interface

Convert the GLUE device to 3-phase reset. The legacy method
doesn't do anything that's invalid in the hold phase, so the
conversion is simple and not a behaviour change.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-2-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: e2fd695e9daf4d31386e26695dcc61fef5363fed
      
https://github.com/qemu/qemu/commit/e2fd695e9daf4d31386e26695dcc61fef5363fed
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M MAINTAINERS
    M hw/m68k/Kconfig
    M hw/m68k/q800.c
    M hw/misc/Kconfig
    A hw/misc/djmemc.c
    M hw/misc/meson.build
    M hw/misc/trace-events
    M include/hw/m68k/q800.h
    A include/hw/misc/djmemc.h

  Log Message:
  -----------
  q800: add djMEMC memory controller

The djMEMC controller is used to store information related to the physical 
memory
configuration.

Co-developed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004083806.757242-3-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: e993af36a7bf2d1299f932098c9b19766626d7d8
      
https://github.com/qemu/qemu/commit/e993af36a7bf2d1299f932098c9b19766626d7d8
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/m68k/q800.c
    M include/hw/m68k/q800.h

  Log Message:
  -----------
  q800: add machine id register

MacOS reads this address to identify the hardware.

This is a basic implementation returning the ID of Quadra 800.

Details:

  http://mess.redump.net/mess/driver_info/mac_technical_notes

"There are 3 ID schemes [...]
 The third and most scalable is a machine ID register at 0x5ffffffc.
 The top word must be 0xa55a to be valid. Then bits 15-11 are 0 for
 consumer Macs, 1 for portables, 2 for high-end 68k, and 3 for high-end
 PowerPC. Bit 10 is 1 if additional ID bits appear elsewhere (e.g. in VIA1).
 The rest of the bits are a per-model identifier.

 Model                          Lower 16 bits of ID
...
 Quadra/Centris 610/650/800     0x2BAD"

Co-developed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004083806.757242-4-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 0f03047c1b09fcccf16bcf1c2d8d9e375155adfd
      
https://github.com/qemu/qemu/commit/0f03047c1b09fcccf16bcf1c2d8d9e375155adfd
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/misc/mac_via.c

  Log Message:
  -----------
  q800: implement additional machine id bits on VIA1 port A

Co-developed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004083806.757242-5-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: bdc2c77d2922d8274608b8dbc70b956494853f1b
      
https://github.com/qemu/qemu/commit/bdc2c77d2922d8274608b8dbc70b956494853f1b
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M MAINTAINERS
    M hw/m68k/Kconfig
    M hw/m68k/q800.c
    M hw/misc/Kconfig
    A hw/misc/iosb.c
    M hw/misc/meson.build
    M hw/misc/trace-events
    M include/hw/m68k/q800.h
    A include/hw/misc/iosb.h

  Log Message:
  -----------
  q800: add IOSB subsystem

It is needed because it defines the BIOSConfig area.

Co-developed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-ID: <20231004083806.757242-6-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 6997f26d0dfd11f27a42caa04c3a20287452f364
      
https://github.com/qemu/qemu/commit/6997f26d0dfd11f27a42caa04c3a20287452f364
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/m68k/q800.c
    M include/hw/m68k/q800.h

  Log Message:
  -----------
  q800: allow accesses to RAM area even if less memory is available

MacOS attempts a series of writes and reads over the entire RAM area in order
to determine the amount of RAM within the machine. Allow accesses to the
entire RAM area ignoring writes and always reading zero for areas where there
is no physical RAM installed to allow MacOS to detect the memory size without
faulting.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-7-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: ac13a6b3fd7421606822bd20c7d847c0756fd32d
      
https://github.com/qemu/qemu/commit/ac13a6b3fd7421606822bd20c7d847c0756fd32d
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M MAINTAINERS
    M hw/audio/Kconfig
    A hw/audio/asc.c
    M hw/audio/meson.build
    M hw/audio/trace-events
    M hw/m68k/Kconfig
    A include/hw/audio/asc.h

  Log Message:
  -----------
  audio: add Apple Sound Chip (ASC) emulation

The Apple Sound Chip was primarily used by the Macintosh II to generate sound
in hardware which was previously handled by the toolbox ROM with software
interrupts.

Implement both the standard ASC and also the enhanced ASC (EASC) functionality
which is used in the Quadra 800.

Note that whilst real ASC hardware uses AUDIO_FORMAT_S8, this implementation 
uses
AUDIO_FORMAT_U8 instead because AUDIO_FORMAT_S8 is rarely used and not supported
by some audio backends like PulseAudio and DirectSound when played directly with
-audiodev out.mixing-engine=off.

Co-developed-by: Laurent Vivier <laurent@vivier.eu>
Co-developed-by: Volker Rümelin <vr_qemu@t-online.de>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-ID: <20231004083806.757242-8-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 5243e5543e27410984d84a30aa7d7b7210d14daa
      
https://github.com/qemu/qemu/commit/5243e5543e27410984d84a30aa7d7b7210d14daa
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/audio/asc.c
    M include/hw/audio/asc.h

  Log Message:
  -----------
  asc: generate silence if FIFO empty but engine still running

MacOS (un)helpfully leaves the FIFO engine running even when all the samples 
have
been written to the hardware, and expects the FIFO status flags and IRQ to be
updated continuously.

There is an additional problem in that not all audio backends guarantee an
all-zero output when there is no FIFO data available, in particular the Windows
dsound backend which re-uses its internal circular buffer causing the last 
played
sound to loop indefinitely.

Whilst this is effectively a bug in the Windows dsound backend, work around it
for now using a simple heuristic: if the FIFO remains empty for half a cycle
(~23ms) then continuously fill the generated buffer with empty silence.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-9-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 9983f6e12e11c6519c9626f4c63df53edefab5f2
      
https://github.com/qemu/qemu/commit/9983f6e12e11c6519c9626f4c63df53edefab5f2
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/m68k/q800-glue.c
    M hw/m68k/q800.c
    M include/hw/m68k/q800-glue.h
    M include/hw/m68k/q800.h

  Log Message:
  -----------
  q800: add Apple Sound Chip (ASC) audio to machine

The Quadra 800 has the enhanced ASC (EASC) audio chip which supports both the
legacy IRQ routing through VIA2 and also "A/UX" mode routing direct to the
CPU.

Co-developed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-ID: <20231004083806.757242-10-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 7afc4356c39ffff7cade349808618878a1dbcf1e
      
https://github.com/qemu/qemu/commit/7afc4356c39ffff7cade349808618878a1dbcf1e
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/m68k/q800.c
    M include/hw/m68k/q800.h

  Log Message:
  -----------
  q800: add easc bool machine class property to switch between ASC and EASC

This determines whether the Apple Sound Chip (ASC) is set to enhanced mode
(default) or to original mode. The real Q800 hardware used an EASC chip however
a lot of older software only works with the older ASC chip.

Adding this as a machine parameter allows QEMU to be used as an developer aid
for testing and migrating code from ASC to EASC.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-11-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: d05cad2bf6daff56c46e7c42f56fe39bd7bcbc06
      
https://github.com/qemu/qemu/commit/d05cad2bf6daff56c46e7c42f56fe39bd7bcbc06
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/block/swim.c
    M hw/block/trace-events

  Log Message:
  -----------
  swim: add trace events for IWM and ISM registers

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-12-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 57004204172b59de40bb8617a9082d882c60a2fd
      
https://github.com/qemu/qemu/commit/57004204172b59de40bb8617a9082d882c60a2fd
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/block/swim.c
    M hw/block/trace-events
    M include/hw/block/swim.h

  Log Message:
  -----------
  swim: split into separate IWM and ISM register blocks

The swim chip provides an implementation of both Apple's IWM and ISM floppy disk
controllers. Split the existing implementation into separate register banks for
each controller, whilst also switching the IWM registers from 16-bit to 8-bit
as implemented in real hardware.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-13-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 994af0b2e020a91729a39f8c4af4a522ccd3a556
      
https://github.com/qemu/qemu/commit/994af0b2e020a91729a39f8c4af4a522ccd3a556
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/block/swim.c
    M hw/block/trace-events
    M include/hw/block/swim.h

  Log Message:
  -----------
  swim: update IWM/ISM register block decoding

Update the IWM/ISM register block decoding to match the description given in the
"SWIM Chip Users Reference". This allows us to validate the device response to
the guest OS which currently only does just enough to indicate that the floppy
drive is unavailable.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-14-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 366d27796ca1d09d6b6a6ad69a89cb7644d92930
      
https://github.com/qemu/qemu/commit/366d27796ca1d09d6b6a6ad69a89cb7644d92930
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/misc/mac_via.c
    M hw/misc/trace-events
    M include/hw/misc/mac_via.h

  Log Message:
  -----------
  mac_via: work around underflow in TimeDBRA timing loop in SETUPTIMEK

The MacOS toolbox ROM calculates the number of branches that can be executed
per millisecond as part of its timer calibration. Since modern hosts are
considerably quicker than original hardware, the negative counter reaches zero
before the calibration completes leading to division by zero later in
CALCULATESLOD.

Instead of trying to fudge the timing loop (which won't work for 
TimeDBRA/TimeSCCDB
anyhow), use the pattern of access to the VIA1 registers to detect when 
SETUPTIMEK
has finished executing and write some well-known good timer values to TimeDBRA
and TimeSCCDB taken from real hardware with a suitable scaling factor.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-15-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 2006904938fbb85ef32eb79ab96cdcc8cbc6de1c
      
https://github.com/qemu/qemu/commit/2006904938fbb85ef32eb79ab96cdcc8cbc6de1c
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/misc/mac_via.c
    M hw/misc/trace-events

  Log Message:
  -----------
  mac_via: workaround NetBSD ADB bus enumeration issue

NetBSD assumes it can send its first ADB command after sending the ADB_BUSRESET
command in ADB_STATE_NEW without changing the state back to ADB_STATE_IDLE
first as detailed in the ADB protocol.

Add a workaround to detect this condition at the start of ADB enumeration
and send the next command written to SR after a ADB_BUSRESET onto the bus
regardless, even if we don't detect a state transition to ADB_STATE_NEW.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-16-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 7ebfb91d8f07447dc6cd30fba0119dc07c9cd3ba
      
https://github.com/qemu/qemu/commit/7ebfb91d8f07447dc6cd30fba0119dc07c9cd3ba
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/misc/mac_via.c

  Log Message:
  -----------
  mac_via: implement ADB_STATE_IDLE state if shift register in input mode

NetBSD switches directly to IDLE state without switching the shift register to
input mode. Duplicate the existing ADB_STATE_IDLE logic in input mode from when
the shift register is in output mode which allows the ADB autopoll handler to
handle the response.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-17-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: c698b0c8edd63f8631efd935ac75c28418ae4c7d
      
https://github.com/qemu/qemu/commit/c698b0c8edd63f8631efd935ac75c28418ae4c7d
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/misc/mac_via.c

  Log Message:
  -----------
  mac_via: always clear ADB interrupt when switching to A/UX mode

When the NetBSD kernel initialises it can leave the ADB interrupt asserted
depending upon where in the ADB poll cycle the MacOS ADB interrupt handler
is when the NetBSD kernel disables interrupts.

The NetBSD ADB driver uses the ADB interrupt state to determine if the ADB
is busy and refuses to send ADB commands unless it is clear. To ensure that
this doesn't happen, always clear the ADB interrupt when switching to A/UX
mode to ensure that the bus enumeration always occurs.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-18-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 7685fc2a18cad56ec67f54ff64f06d840dcb0b29
      
https://github.com/qemu/qemu/commit/7685fc2a18cad56ec67f54ff64f06d840dcb0b29
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/m68k/q800.c
    M include/hw/m68k/q800.h

  Log Message:
  -----------
  q800: add ESCC alias at 0xc000

Tests on real Q800 hardware show that the ESCC is addressable at multiple 
locations
within the ESCC memory region - at least 0xc000, 0xc020 (as expected by the 
MacOS
toolbox ROM) and 0xc040.

All released NetBSD kernels before 10 use the 0xc000 address which causes a 
fatal
error when running the MacOS booter. Add a single memory region alias at 0xc000
to enable NetBSD kernels to start booting under QEMU.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-19-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: 9d35c6ade54c05754a1cac99df5c9a8ce6252bbe
      
https://github.com/qemu/qemu/commit/9d35c6ade54c05754a1cac99df5c9a8ce6252bbe
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/m68k/q800.c
    M include/hw/m68k/q800.h

  Log Message:
  -----------
  q800: add alias for MacOS toolbox ROM at 0x40000000

According to the Apple Quadra 800 Developer Note document, the Quadra 800 ROM
consists of 2 ROM code sections based at offsets 0x0 and 0x800000. A/UX attempts
to access the toolbox ROM at the lower offset during startup, so provide a
memory alias to allow the access to succeed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-20-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: b4d3a83b89fba814613f7ead6b6ea92e0b2c3cd8
      
https://github.com/qemu/qemu/commit/b4d3a83b89fba814613f7ead6b6ea92e0b2c3cd8
  Author: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/misc/mac_via.c

  Log Message:
  -----------
  mac_via: extend timer calibration hack to work with A/UX

The A/UX timer calibration loop runs continuously until 2 consecutive iterations
differ by at least 0x492 timer ticks. Modern hosts execute the timer calibration
loop so fast that this situation never occurs causing a hang on boot.

Use a similar method to Shoebill which is to randomly add 0x500 to the T2
counter value during calibration to enable it to eventually succeed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20231004083806.757242-21-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>


  Commit: a97bcfea7e1e275d17bff06b7d2544d7ecbeb489
      
https://github.com/qemu/qemu/commit/a97bcfea7e1e275d17bff06b7d2544d7ecbeb489
  Author: Jonathan Cameron <Jonathan.Cameron@huawei.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/cxl/cxl-device-utils.c

  Log Message:
  -----------
  hw/cxl: Fix local variable shadowing of cap_hdrs

Rename the version not burried in the macro to cap_h.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Message-ID: <20230925152258.5444-1-Jonathan.Cameron@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Fan Ni <fan.ni@samsung.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 78bcc3cc7b16d9ca118e1f860751930cbb64e81c
      
https://github.com/qemu/qemu/commit/78bcc3cc7b16d9ca118e1f860751930cbb64e81c
  Author: Song Gao <gaosong@loongson.cn>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/loongarch/virt.c

  Log Message:
  -----------
  target/loongarch: Clean up local variable shadowing

Fix:

  [1839/2601] Compiling C object 
libqemu-loongarch64-softmmu.fa.p/hw_loongarch_virt.c.o
  ../hw/loongarch/virt.c: In function 'loongarch_irq_init':
  ../hw/loongarch/virt.c:665:14: warning: declaration of 'i' shadows a previous 
local [-Wshadow=compatible-local]
       for (int i = 0; i < num; i++) {
                ^
  ../hw/loongarch/virt.c:582:19: note: shadowed declaration is here
       int cpu, pin, i, start, num;

Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-ID: <20230926071253.3601021-1-gaosong@loongson.cn>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 668a63140a42cd61c79a956a6222ce25cc893f69
      
https://github.com/qemu/qemu/commit/668a63140a42cd61c79a956a6222ce25cc893f69
  Author: Cédric Le Goater <clg@kaod.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M target/ppc/int_helper.c

  Log Message:
  -----------
  target/ppc: Rename variables to avoid local variable shadowing in VUPKPX

and fix such warnings :

  ../target/ppc/int_helper.c: In function ‘helper_vupklpx’:
  ../target/ppc/int_helper.c:2025:21: warning: declaration of ‘r’ shadows a 
parameter [-Wshadow=local]
   2025 |             uint8_t r = (e >> 10) & 0x1f;                             
  \
        |                     ^
  ../target/ppc/int_helper.c:2033:1: note: in expansion of macro ‘VUPKPX’
   2033 | VUPKPX(lpx, UPKLO)
        | ^~~~~~
  ../target/ppc/int_helper.c:2017:41: note: shadowed declaration is here
   2017 |     void helper_vupk##suffix(ppc_avr_t *r, ppc_avr_t *b)              
  \
        |                              ~~~~~~~~~~~^
  ../target/ppc/int_helper.c:2033:1: note: in expansion of macro ‘VUPKPX’
   2033 | VUPKPX(lpx, UPKLO)
        | ^~~~~~

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-ID: <20230929083143.234553-1-clg@kaod.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 363636787d49a46840d415c2dbc925d287ed0206
      
https://github.com/qemu/qemu/commit/363636787d49a46840d415c2dbc925d287ed0206
  Author: Ani Sinha <anisinha@redhat.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/i386/acpi-microvm.c
    M hw/i386/pc.c
    M hw/i386/x86.c

  Log Message:
  -----------
  hw/i386: changes towards enabling -Wshadow=local for x86 machines

Code changes that addresses all compiler complaints coming from enabling
-Wshadow flags. Enabling -Wshadow catches cases of local variables shadowing
other local variables or parameters. These makes the code confusing and/or adds
bugs that are difficult to catch.

See also

   Subject: Help wanted for enabling -Wshadow=local
   Message-Id: <87r0mqlf9x.fsf@pond.sub.org>
   https://lore.kernel.org/qemu-devel/87r0mqlf9x.fsf@pond.sub.org

CC: Markus Armbruster <armbru@redhat.com>
CC: Philippe Mathieu-Daude <philmd@linaro.org>
CC: mst@redhat.com

Signed-off-by: Ani Sinha <anisinha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-ID: <20231003102803.6163-1-anisinha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 071add900ba33cee8976dc3ae5b0d4909b1955f2
      
https://github.com/qemu/qemu/commit/071add900ba33cee8976dc3ae5b0d4909b1955f2
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M audio/ossaudio.c

  Log Message:
  -----------
  audio/ossaudio: Fix compiler warning with -Wshadow

The "err" variable is only used twice in this code, in a very
local fashion of first assigning it and then checking it in the
next line. So there is no need to declare this variable a second
time in the innermost block, we can re-use the variable that is
declared at the beginning of the function. This fixes the compiler
warning that occurs with "-Wshadow".

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231004083900.95856-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 5d63cb15bf2667486117690de02bbb85c1a36942
      
https://github.com/qemu/qemu/commit/5d63cb15bf2667486117690de02bbb85c1a36942
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/net/vhost_net.c

  Log Message:
  -----------
  hw/net/vhost_net: Silence compiler warning when compiling with -Wshadow

Rename the innermost local variables to avoid compiler warnings
with "-Wshadow".

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231004084939.96349-1-thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 5ae80e6297080b3592b4658d92acfdba5255fc8b
      
https://github.com/qemu/qemu/commit/5ae80e6297080b3592b4658d92acfdba5255fc8b
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/virtio/virtio-pci.c

  Log Message:
  -----------
  hw/virtio/virtio-pci: Avoid compiler warning with -Wshadow

"len" is used as parameter of the functions virtio_write_config()
and virtio_read_config(), and additionally as a local variable,
so this causes a compiler warning when compiling with "-Wshadow"
and can be confusing for the reader. Rename the local variables
to "caplen" to avoid this problem.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231004095302.99037-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: da3182887cd3d3d02c3406549818cf222a9f0ca1
      
https://github.com/qemu/qemu/commit/da3182887cd3d3d02c3406549818cf222a9f0ca1
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/virtio/vhost.c

  Log Message:
  -----------
  hw/virtio/vhost: Silence compiler warnings in vhost code when using -Wshadow

Rename a variable in vhost_dev_sync_region() and remove a superfluous
declaration in vhost_commit() to make this code compilable with "-Wshadow".

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231004114809.105672-1-thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-By: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 71efffbcfc4ee4fb68228e7bafcc35cc6b2d8af0
      
https://github.com/qemu/qemu/commit/71efffbcfc4ee4fb68228e7bafcc35cc6b2d8af0
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M dump/dump.c

  Log Message:
  -----------
  dump: Silence compiler warning in dump code when compiling with -Wshadow

Rename a variable to make this code compilable with -Wshadow.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231004131338.215081-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-By: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: badf708d698853ce572c7dd41de6d81de1dedcbe
      
https://github.com/qemu/qemu/commit/badf708d698853ce572c7dd41de6d81de1dedcbe
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/audio/soundhw.c
    M include/hw/audio/soundhw.h

  Log Message:
  -----------
  hw/audio/soundhw: Clean up global variable shadowing

Fix:

  hw/audio/soundhw.c:86:33: error: declaration shadows a variable in the global 
scope [-Werror,-Wshadow]
  void select_soundhw(const char *optarg, const char *audiodev)
                                  ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-2-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: a5afeefb58707768b86673118bd996bcfc8ea91e
      
https://github.com/qemu/qemu/commit/a5afeefb58707768b86673118bd996bcfc8ea91e
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/ide/ahci.c

  Log Message:
  -----------
  hw/ide/ahci: Clean up local variable shadowing

Fix:

  hw/ide/ahci.c:1577:23: error: declaration shadows a local variable 
[-Werror,-Wshadow]
            IDEState *s = &ad->port.ifs[j];
                      ^
  hw/ide/ahci.c:1569:29: note: previous declaration is here
    void ahci_uninit(AHCIState *s)
                                ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-3-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 73071f1923ec1f30ddb894cd535a294fa198e11c
      
https://github.com/qemu/qemu/commit/73071f1923ec1f30ddb894cd535a294fa198e11c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M include/net/net.h
    M net/net.c

  Log Message:
  -----------
  net/net: Clean up global variable shadowing

Fix:

  net/net.c:1680:35: error: declaration shadows a variable in the global scope 
[-Werror,-Wshadow]
  bool netdev_is_modern(const char *optarg)
                                    ^
  net/net.c:1714:38: error: declaration shadows a variable in the global scope 
[-Werror,-Wshadow]
  void netdev_parse_modern(const char *optarg)
                                       ^
  net/net.c:1728:60: error: declaration shadows a variable in the global scope 
[-Werror,-Wshadow]
  void net_client_parse(QemuOptsList *opts_list, const char *optarg)
                                                             ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-4-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: d2803376849806135d7a3c6bc1ad2026cdaeec22
      
https://github.com/qemu/qemu/commit/d2803376849806135d7a3c6bc1ad2026cdaeec22
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M include/sysemu/os-posix.h
    M os-posix.c

  Log Message:
  -----------
  os-posix: Clean up global variable shadowing

Fix:

  os-posix.c:103:31: error: declaration shadows a variable in the global scope 
[-Werror,-Wshadow]
  bool os_set_runas(const char *optarg)
                                ^
  os-posix.c:176:32: error: declaration shadows a variable in the global scope 
[-Werror,-Wshadow]
  void os_set_chroot(const char *optarg)
                                 ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-5-philmd@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 82f3346ff46e1bbbe768a3084e7052668d34c1fe
      
https://github.com/qemu/qemu/commit/82f3346ff46e1bbbe768a3084e7052668d34c1fe
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M include/qemu/plugin.h
    M plugins/loader.c

  Log Message:
  -----------
  plugins/loader: Clean up global variable shadowing

Fix:

  include/qemu/plugin.h:245:54: error: declaration shadows a variable in the 
global scope [-Werror,-Wshadow]
  static inline void qemu_plugin_opt_parse(const char *optarg,
                                                       ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-6-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 46bb944efdfbcf8447784b2c4464c6f515460095
      
https://github.com/qemu/qemu/commit/46bb944efdfbcf8447784b2c4464c6f515460095
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M qemu-img.c

  Log Message:
  -----------
  qemu-img: Clean up global variable shadowing

Fix:

  qemu-img.c:247:46: error: declaration shadows a variable in the global scope 
[-Werror,-Wshadow]
  static bool is_valid_option_list(const char *optarg)
                                               ^
  qemu-img.c:265:53: error: declaration shadows a variable in the global scope 
[-Werror,-Wshadow]
  static int accumulate_options(char **options, char *optarg)
                                                      ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-7-philmd@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 21c029e65fe6245a64bbab8047903c4883476bd2
      
https://github.com/qemu/qemu/commit/21c029e65fe6245a64bbab8047903c4883476bd2
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M qemu-io.c

  Log Message:
  -----------
  qemu-io: Clean up global variable shadowing

Fix:

  qemu-io.c:478:36: error: declaration shadows a variable in the global scope 
[-Werror,-Wshadow]
  static void add_user_command(char *optarg)
                                     ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-8-philmd@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: e0c7de8dc4a3c0b7a0d0fa21fa0561a4dc763716
      
https://github.com/qemu/qemu/commit/e0c7de8dc4a3c0b7a0d0fa21fa0561a4dc763716
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M include/qom/object_interfaces.h
    M qom/object_interfaces.c

  Log Message:
  -----------
  qom/object_interfaces: Clean up global variable shadowing

Fix:

  qom/object_interfaces.c:262:53: error: declaration shadows a variable in the 
global scope [-Werror,-Wshadow]
  ObjectOptions *user_creatable_parse_str(const char *optarg, Error **errp)
                                                      ^
  qom/object_interfaces.c:298:46: error: declaration shadows a variable in the 
global scope [-Werror,-Wshadow]
  bool user_creatable_add_from_str(const char *optarg, Error **errp)
                                               ^
  qom/object_interfaces.c:313:49: error: declaration shadows a variable in the 
global scope [-Werror,-Wshadow]
  void user_creatable_process_cmdline(const char *optarg)
                                                  ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-9-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: afb81fe8542c0962b025c566476cdded3b8ec5e1
      
https://github.com/qemu/qemu/commit/afb81fe8542c0962b025c566476cdded3b8ec5e1
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M include/semihosting/semihost.h
    M semihosting/config.c
    M stubs/semihost.c

  Log Message:
  -----------
  semihosting: Clean up global variable shadowing

Fix:

  semihosting/config.c:134:49: error: declaration shadows a variable in the 
global scope [-Werror,-Wshadow]
  int qemu_semihosting_config_options(const char *optarg)
                                                  ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-10-philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 21eb752ff53bed33594766d1dccd66efcf4f54ab
      
https://github.com/qemu/qemu/commit/21eb752ff53bed33594766d1dccd66efcf4f54ab
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M ui/cocoa.m

  Log Message:
  -----------
  ui/cocoa: Clean up global variable shadowing

Fix:

  ui/cocoa.m:346:20: error: declaration shadows a variable in the global scope 
[-Werror,-Wshadow]
      QemuCocoaView *cocoaView = userInfo;
                     ^
  ui/cocoa.m:342:16: note: previous declaration is here
  QemuCocoaView *cocoaView;
                 ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-11-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 5bebe03f51991ad92ae1220111eda5c7a0e70289
      
https://github.com/qemu/qemu/commit/5bebe03f51991ad92ae1220111eda5c7a0e70289
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M util/cutils.c

  Log Message:
  -----------
  util/cutils: Clean up global variable shadowing in get_relocated_path()

Fix:

  util/cutils.c:1147:17: error: declaration shadows a variable in the global 
scope [-Werror,-Wshadow]
      const char *exec_dir = qemu_get_exec_dir();
                  ^
  util/cutils.c:1035:20: note: previous declaration is here
  static const char *exec_dir;
                     ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-12-philmd@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: ca84e7b2250496748ac6ed8956aad8a0fb72acde
      
https://github.com/qemu/qemu/commit/ca84e7b2250496748ac6ed8956aad8a0fb72acde
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M include/qemu/guest-random.h
    M util/guest-random.c

  Log Message:
  -----------
  util/guest-random: Clean up global variable shadowing

Fix:

  util/guest-random.c:90:45: error: declaration shadows a variable in the 
global scope [-Werror,-Wshadow]
  int qemu_guest_random_seed_main(const char *optarg, Error **errp)
                                              ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-13-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: a60e5736eb8d8b624739dd4e94b9faf07fdbbbe0
      
https://github.com/qemu/qemu/commit/a60e5736eb8d8b624739dd4e94b9faf07fdbbbe0
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M semihosting/arm-compat-semi.c

  Log Message:
  -----------
  semihosting/arm-compat: Clean up local variable shadowing

Fix:

  semihosting/arm-compat-semi.c: In function ‘do_common_semihosting’:
  semihosting/arm-compat-semi.c:379:13: warning: declaration of ‘ret’ shadows a 
previous local [-Wshadow=local]
    379 |         int ret, err = 0;
        |             ^~~
  semihosting/arm-compat-semi.c:370:14: note: shadowed declaration is here
    370 |     uint32_t ret;
        |              ^~~
  semihosting/arm-compat-semi.c:682:27: warning: declaration of ‘ret’ shadows a 
previous local [-Wshadow=local]
    682 |                 abi_ulong ret;
        |                           ^~~
  semihosting/arm-compat-semi.c:370:9: note: shadowed declaration is here
    370 |     int ret;
        |         ^~~

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-14-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 48176a1d287179ea4e85122e1bc803f329773141
      
https://github.com/qemu/qemu/commit/48176a1d287179ea4e85122e1bc803f329773141
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M softmmu/vl.c

  Log Message:
  -----------
  softmmu/vl: Clean up global variable shadowing

Fix:

  softmmu/vl.c:1069:44: error: declaration shadows a variable in the global 
scope [-Werror,-Wshadow]
  static void parse_display_qapi(const char *optarg)
                                             ^
  softmmu/vl.c:1224:39: error: declaration shadows a variable in the global 
scope [-Werror,-Wshadow]
  static void monitor_parse(const char *optarg, const char *mode, bool pretty)
                                        ^
  softmmu/vl.c:1634:17: error: declaration shadows a variable in the global 
scope [-Werror,-Wshadow]
      const char *optarg = qdict_get_try_str(qdict, "type");
                  ^
  softmmu/vl.c:1784:45: error: declaration shadows a variable in the global 
scope [-Werror,-Wshadow]
  static void object_option_parse(const char *optarg)
                                              ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-15-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
[Tweak two parameter names]
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: fcd9a353798d09a6fe39e720fb1a52ed32cad91d
      
https://github.com/qemu/qemu/commit/fcd9a353798d09a6fe39e720fb1a52ed32cad91d
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M include/sysemu/tpm.h
    M softmmu/tpm.c

  Log Message:
  -----------
  sysemu/tpm: Clean up global variable shadowing

Fix:

  softmmu/tpm.c:178:59: error: declaration shadows a variable in the global 
scope [-Werror,-Wshadow]
  int tpm_config_parse(QemuOptsList *opts_list, const char *optarg)
                                                            ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-16-philmd@linaro.org>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 8b7b9c5c88a8886312d3b9bc5e3615d21df143b6
      
https://github.com/qemu/qemu/commit/8b7b9c5c88a8886312d3b9bc5e3615d21df143b6
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M trace/control.c
    M trace/control.h

  Log Message:
  -----------
  trace/control: Clean up global variable shadowing

Fix:

  trace/control.c:288:34: error: declaration shadows a variable in the global 
scope [-Werror,-Wshadow]
  void trace_opt_parse(const char *optarg)
                                   ^
  
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: 
note: previous declaration is here
  extern char *optarg;                    /* getopt(3) external variables */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-17-philmd@linaro.org>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 0edc9e45f3d6b0601f3628df2ca78b3ee78aa662
      
https://github.com/qemu/qemu/commit/0edc9e45f3d6b0601f3628df2ca78b3ee78aa662
  Author: Cédric Le Goater <clg@kaod.org>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M target/ppc/kvm.c

  Log Message:
  -----------
  target/ppc: Clean up local variable shadowing in kvm_arch_*_registers()

Remove extra 'i' variable to fix this warning :

  ../target/ppc/kvm.c: In function ‘kvm_arch_put_registers’:
  ../target/ppc/kvm.c:963:13: warning: declaration of ‘i’ shadows a previous 
local [-Wshadow=compatible-local]
    963 |         int i;
        |             ^
  ../target/ppc/kvm.c:906:9: note: shadowed declaration is here
    906 |     int i;
        |         ^
  ../target/ppc/kvm.c: In function ‘kvm_arch_get_registers’:
  ../target/ppc/kvm.c:1265:13: warning: declaration of ‘i’ shadows a previous 
local [-Wshadow=compatible-local]
   1265 |         int i;
        |             ^
  ../target/ppc/kvm.c:1212:9: note: shadowed declaration is here
   1212 |     int i, ret;
        |         ^

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-ID: <20231006053526.1031252-1-clg@kaod.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: e7121b15411d0a9220d82d293537b91841f47c82
      
https://github.com/qemu/qemu/commit/e7121b15411d0a9220d82d293537b91841f47c82
  Author: Thomas Huth <thuth@redhat.com>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M hw/usb/desc.c
    M hw/usb/dev-hub.c
    M hw/usb/dev-storage.c
    M hw/usb/hcd-xhci.c
    M hw/usb/host-libusb.c

  Log Message:
  -----------
  hw/usb: Silence compiler warnings in USB code when compiling with -Wshadow

Rename variables or remove nested definitions where it makes sense,
so that we can finally compile the USB code with "-Wshadow", too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20231004130822.113343-1-thuth@redhat.com>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: d5308ea64c1a4608f98b80e83a126515045d0fac
      
https://github.com/qemu/qemu/commit/d5308ea64c1a4608f98b80e83a126515045d0fac
  Author: Laurent Vivier <laurent@vivier.eu>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M linux-user/flatload.c

  Log Message:
  -----------
  linux-user/flatload: clean up local variable shadowing

Fix following warnings:

.../linux-user/flatload.c: In function 'load_flt_binary':
.../linux-user/flatload.c:758:23: warning: declaration of 'p' shadows a 
previous local [-Wshadow=compatible-local]
  758 |             abi_ulong p;
      |                       ^
../../../Projects/qemu/linux-user/flatload.c:722:15: note: shadowed declaration 
is here
  722 |     abi_ulong p;
      |               ^

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20230925151029.461358-2-laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: ea80003315dec5ae872ee01b22380a461d14b93e
      
https://github.com/qemu/qemu/commit/ea80003315dec5ae872ee01b22380a461d14b93e
  Author: Laurent Vivier <laurent@vivier.eu>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M linux-user/mmap.c

  Log Message:
  -----------
  linux-user/mmap.c: clean up local variable shadowing

Fix following warnings:

.../linux-user/mmap.c: In function 'target_mremap':
.../linux-user/mmap.c:913:13: warning: declaration of 'prot' shadows a previous 
local [-Wshadow=compatible-local]
  913 |         int prot = 0;
      |             ^~~~
../../../Projects/qemu/linux-user/mmap.c:871:9: note: shadowed declaration is 
here
  871 |     int prot;
      |         ^~~~

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20230925151029.461358-3-laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: eb2929ca50e76b6e6a7152b45a9973472dd1c1aa
      
https://github.com/qemu/qemu/commit/eb2929ca50e76b6e6a7152b45a9973472dd1c1aa
  Author: Laurent Vivier <laurent@vivier.eu>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user/syscall.c: clean up local variable shadowing in do_ioctl_dm()

Fix following warnings:

.../linux-user/syscall.c: In function 'do_ioctl_dm':
.../linux-user/syscall.c:5053:23: warning: declaration of 'arg_type' shadows a 
previous local [-Wshadow=local]
 5053 |         const argtype arg_type[] = { MK_STRUCT(STRUCT_dm_target_spec) };
      |                       ^~~~~~~~
.../linux-user/syscall.c:4991:20: note: shadowed declaration is here
 4991 |     const argtype *arg_type = ie->arg_type;
      |                    ^~~~~~~~
...//linux-user/syscall.c:5102:27: warning: declaration of 'arg_type' shadows a 
previous local [-Wshadow=local]
 5102 |             const argtype arg_type[] = { MK_STRUCT(STRUCT_dm_name_list) 
};
      |                           ^~~~~~~~
.../linux-user/syscall.c:4991:20: note: shadowed declaration is here
 4991 |     const argtype *arg_type = ie->arg_type;
      |                    ^~~~~~~~
.../linux-user/syscall.c:5130:27: warning: declaration of 'arg_type' shadows a 
previous local [-Wshadow=local]
 5130 |             const argtype arg_type[] = { 
MK_STRUCT(STRUCT_dm_target_spec) };
      |                           ^~~~~~~~
.../linux-user/syscall.c:4991:20: note: shadowed declaration is here
 4991 |     const argtype *arg_type = ie->arg_type;
      |                    ^~~~~~~~
.../linux-user/syscall.c:5170:27: warning: declaration of 'arg_type' shadows a 
previous local [-Wshadow=local]
 5170 |             const argtype arg_type[] = { 
MK_STRUCT(STRUCT_dm_target_versions) };
      |                           ^~~~~~~~
.../linux-user/syscall.c:4991:20: note: shadowed declaration is here
 4991 |     const argtype *arg_type = ie->arg_type;
      |                    ^~~~~~~~

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20230925151029.461358-4-laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 9962b7c213e08cbf233eb405b781ecfbb89bfd5c
      
https://github.com/qemu/qemu/commit/9962b7c213e08cbf233eb405b781ecfbb89bfd5c
  Author: Laurent Vivier <laurent@vivier.eu>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user/syscall.c: clean up local variable shadowing in TARGET_NR_getcpu

Fix following warnings:

.../linux-user/syscall.c: In function 'do_syscall1':
.../linux-user/syscall.c:11180:22: warning: declaration of 'cpu' shadows a 
previous local [-Wshadow=local]
11180 |             unsigned cpu, node;
      |                      ^~~
.../linux-user/syscall.c:8963:15: note: shadowed declaration is here
 8963 |     CPUState *cpu = env_cpu(cpu_env);
      |               ^~~

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20230925151029.461358-5-laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 77c9f177e02dccd8688eba9550a4fb961742a638
      
https://github.com/qemu/qemu/commit/77c9f177e02dccd8688eba9550a4fb961742a638
  Author: Laurent Vivier <laurent@vivier.eu>
  Date:   2023-10-06 (Fri, 06 Oct 2023)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user/syscall.c: clean up local variable shadowing in xattr syscalls

p is a generic variable in syscall() and can be used by any syscall
case, so this patch removes the useless local variable declaration for
the following syscalls: TARGET_NR_llistxattr, TARGET_NR_listxattr,
TARGET_NR_setxattr, TARGET_NR_lsetxattr, TARGET_NR_getxattr,
TARGET_NR_lgetxattr, TARGET_NR_removexattr, TARGET_NR_lremovexattr.

Fix following warnings:

.../linux-user/syscall.c:12342:15: warning: declaration of 'p' shadows a 
previous local [-Wshadow=compatible-local]
12342 |         void *p, *b = 0;
      |               ^
.../linux-user/syscall.c:8975:11: note: shadowed declaration is here
 8975 |     void *p;
      |           ^
.../linux-user/syscall.c:12379:19: warning: declaration of 'p' shadows a 
previous local [-Wshadow=compatible-local]
12379 |             void *p, *n, *v = 0;
      |                   ^
.../linux-user/syscall.c:8975:11: note: shadowed declaration is here
 8975 |     void *p;
      |           ^
.../linux-user/syscall.c:12424:19: warning: declaration of 'p' shadows a 
previous local [-Wshadow=compatible-local]
12424 |             void *p, *n, *v = 0;
      |                   ^
.../linux-user/syscall.c:8975:11: note: shadowed declaration is here
 8975 |     void *p;
      |           ^
.../linux-user/syscall.c:12469:19: warning: declaration of 'p' shadows a 
previous local [-Wshadow=compatible-local]
12469 |             void *p, *n;
      |                   ^
.../linux-user/syscall.c:8975:11: note: shadowed declaration is here
 8975 |     void *p;
      |           ^

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Message-ID: <20230925151029.461358-6-laurent@vivier.eu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>


  Commit: 6da9447929a88c05bc82a6ead0c967ce1e1e838c
      
https://github.com/qemu/qemu/commit/6da9447929a88c05bc82a6ead0c967ce1e1e838c
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M target/i386/hvf/hvf-i386.h

  Log Message:
  -----------
  target/i386/hvf: Remove unused includes in 'hvf-i386.h'

The only non standard type -- CPUArchState -- is forward
declared in "qemu/typedefs.h", so no particular header is
required here.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Roman Bolshakov <roman@roolebo.dev>
Tested-by: Roman Bolshakov <roman@roolebo.dev>
Message-ID: <20231004092510.39498-2-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 044431cfe7a9325cc5c22b5feb5a6116d0264e2f
      
https://github.com/qemu/qemu/commit/044431cfe7a9325cc5c22b5feb5a6116d0264e2f
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M include/sysemu/hvf.h
    M target/i386/cpu.c
    M target/i386/hvf/hvf-cpu.c
    M target/i386/hvf/hvf-i386.h
    M target/i386/hvf/x86_cpuid.c

  Log Message:
  -----------
  sysemu/kvm: Restrict hvf_get_supported_cpuid() to x86 targets

hvf_get_supported_cpuid() is only defined for x86 targets
(in target/i386/hvf/x86_cpuid.c).
Its declaration is pointless on all other targets.

All the calls to it in target/i386/cpu.c are guarded by
a call on hvf_enabled(), so are elided when HVF is not
built in. Therefore we can remove the unnecessary function
stub.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004092510.39498-3-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f05142d511e86d8e97967d21f205d990dfc634de
      
https://github.com/qemu/qemu/commit/f05142d511e86d8e97967d21f205d990dfc634de
  Author: Fiona Ebner <f.ebner@proxmox.com>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M util/log.c

  Log Message:
  -----------
  util/log: re-allow switching away from stderr log file

Commit 59bde21374 ("util/log: do not close and reopen log files when
flags are turned off") prevented switching away from stderr on a
subsequent invocation of qemu_set_log_internal(). This prevented
switching away from stderr with the 'logfile' monitor command as well
as an invocation like
> ./qemu-system-x86_64 -trace 'qemu_mutex_lock,file=log'
from opening the specified log file.

Fixes: 59bde21374 ("util/log: do not close and reopen log files when flags are 
turned off")
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
Message-ID: <20231004124446.491481-1-f.ebner@proxmox.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1da389c5dba3efca5de6b983cf788054880de432
      
https://github.com/qemu/qemu/commit/1da389c5dba3efca5de6b983cf788054880de432
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M target/i386/cpu.c
    M target/i386/tcg/misc_helper.c
    M target/i386/tcg/translate.c

  Log Message:
  -----------
  target/i386: Check for USER_ONLY definition instead of SOFTMMU one

Since we *might* have user emulation with softmmu,
replace the system emulation check by !user emulation one.

(target/ was cleaned from invalid CONFIG_SOFTMMU uses at
commit cab35c73be, but these files were merged few days
after, thus missed the cleanup.)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004082239.27251-1-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: fc78f56e2546bcf354193d9a380618067c15264b
      
https://github.com/qemu/qemu/commit/fc78f56e2546bcf354193d9a380618067c15264b
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M softmmu/trace-events

  Log Message:
  -----------
  softmmu/trace-events: Fix a typo

Commit 8af3f5c6d6 ("softmmu: add trace point when bdrv_flush_all
fails") added calls to trace_vm_stop_flush_all() in 'cpus.c'.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-2-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 27703590316efc1be5ff1ad8f209d9c5e2f8304b
      
https://github.com/qemu/qemu/commit/27703590316efc1be5ff1ad8f209d9c5e2f8304b
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M .travis.yml

  Log Message:
  -----------
  travis-ci: Correct invalid mentions of 'softmmu' by 'system'

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-3-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 54b99122eb01eb78e2933da4c476d166e846d572
      
https://github.com/qemu/qemu/commit/54b99122eb01eb78e2933da4c476d166e846d572
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M cpu-target.c
    M hw/core/cpu-common.c

  Log Message:
  -----------
  cpu: Correct invalid mentions of 'softmmu' by 'system-mode'

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-4-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c2646d49588d834c2bcc050539053074ac43d4ba
      
https://github.com/qemu/qemu/commit/c2646d49588d834c2bcc050539053074ac43d4ba
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M softmmu/memory.c
    M tests/qtest/fuzz/fuzz.c
    M tests/qtest/fuzz/fuzz.h

  Log Message:
  -----------
  fuzz: Correct invalid mentions of 'softmmu' by 'system'

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alexander Bulekov <alxndr@bu.edu>
Message-ID: <20231004090629.37473-5-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 7893e42d5d9cafeeab30a114e8ec86517f8a1b36
      
https://github.com/qemu/qemu/commit/7893e42d5d9cafeeab30a114e8ec86517f8a1b36
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M accel/tcg/user-exec.c
    M docs/devel/testing.rst
    M include/qemu/atomic128.h
    M include/tcg/tcg-op-common.h
    M target/riscv/vector_helper.c
    M tcg/aarch64/tcg-target.c.inc
    M tcg/arm/tcg-target.c.inc
    M tcg/i386/tcg-target.c.inc
    M tcg/loongarch64/tcg-target.c.inc
    M tcg/meson.build
    M tcg/mips/tcg-target.c.inc
    M tcg/ppc/tcg-target.c.inc
    M tcg/region.c
    M tcg/riscv/tcg-target.c.inc
    M tcg/s390x/tcg-target.c.inc
    M tcg/sparc64/tcg-target.c.inc
    M tcg/tcg.c
    M tests/tcg/Makefile.target
    M tests/tcg/multiarch/gdbstub/interrupt.py
    M tests/tcg/multiarch/gdbstub/memory.py
    M tests/tcg/multiarch/system/memory.c
    M tests/tcg/s390x/pgm-specification-softmmu.S
    M tests/tcg/s390x/pgm-specification.mak
    M tests/tcg/s390x/softmmu.ld
    M tests/tcg/xtensa/Makefile.softmmu-target
    M tests/tcg/xtensaeb/Makefile.softmmu-target

  Log Message:
  -----------
  tcg: Correct invalid mentions of 'softmmu' by 'system-mode'

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-6-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 0017c64e1ce298796caee2d38bde9d7fc59a1510
      
https://github.com/qemu/qemu/commit/0017c64e1ce298796caee2d38bde9d7fc59a1510
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    R accel/accel-softmmu.c
    R accel/accel-softmmu.h
    A accel/accel-system.c
    A accel/accel-system.h
    M accel/accel-target.c
    M accel/meson.build
    M accel/stubs/meson.build

  Log Message:
  -----------
  accel: Rename accel_softmmu* -> accel_system*

Rename accel.softmmu -> accel.system in file paths
and the register_types() method.

Rename sysemu_stubs_ss -> system_stubs_ss in meson
following the pattern used on other source set names.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-7-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 3f7d1bdab0e98190245394875acf0d6d04b5de5b
      
https://github.com/qemu/qemu/commit/3f7d1bdab0e98190245394875acf0d6d04b5de5b
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M gdbstub/internals.h
    M gdbstub/meson.build
    R gdbstub/softmmu.c
    A gdbstub/system.c
    M gdbstub/trace-events

  Log Message:
  -----------
  gdbstub: Rename 'softmmu' -> 'system'

We have gdbstub/user.c for user emulation code,
use gdbstub/system.c for system emulation part.

Rename s/softmmu/system/ in meson and few comments.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-8-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: f14eced5ac9ae2db10a661e0fdef52a2f0316699
      
https://github.com/qemu/qemu/commit/f14eced5ac9ae2db10a661e0fdef52a2f0316699
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    R include/semihosting/softmmu-uaccess.h
    A include/semihosting/uaccess.h
    M semihosting/arm-compat-semi.c
    M semihosting/config.c
    M semihosting/guestfd.c
    M semihosting/syscalls.c
    M semihosting/uaccess.c
    M stubs/semihost.c
    M target/m68k/m68k-semi.c
    M target/mips/tcg/sysemu/mips-semi.c
    M target/nios2/nios2-semi.c

  Log Message:
  -----------
  semihosting: Rename softmmu_FOO_user() -> uaccess_FOO_user()

Add a check in 'softmmu-uaccess.h' that the header is only
include in system emulation, and rename it as 'uaccess.h'.

Rename the API methods:

  - softmmu_[un]lock_user*() -> uaccess_[un]lock_user*()
  - softmmu_strlen_user() -> uaccess_strlen_user().

Update a pair of comments.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-9-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 5338977abdf952249db7ac77a7c3358895fa78b1
      
https://github.com/qemu/qemu/commit/5338977abdf952249db7ac77a7c3358895fa78b1
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M target/i386/kvm/meson.build

  Log Message:
  -----------
  target/i386: Rename i386_softmmu_kvm_ss -> i386_kvm_ss

Software MMU is TCG specific. Here 'softmmu' is misused
for system emulation. Anyhow, since KVM is system emulation
specific, just rename as 'i386_kvm_ss'.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-10-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 21d2140dd8a0e44cd24a640f0316d02e7927f603
      
https://github.com/qemu/qemu/commit/21d2140dd8a0e44cd24a640f0316d02e7927f603
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M meson.build

  Log Message:
  -----------
  meson: Rename softmmu_mods -> system_mods

See commit de6cd7599b ("meson: Replace softmmu_ss -> system_ss")
for rationale.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-12-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 01c85e60a4d0675f0ad203fe1fe119381e7ad15b
      
https://github.com/qemu/qemu/commit/01c85e60a4d0675f0ad203fe1fe119381e7ad15b
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-07 (Sat, 07 Oct 2023)

  Changed paths:
    M docs/devel/build-system.rst
    M meson.build
    M target/alpha/meson.build
    M target/arm/meson.build
    M target/avr/meson.build
    M target/cris/meson.build
    M target/hppa/meson.build
    M target/i386/meson.build
    M target/loongarch/meson.build
    M target/m68k/meson.build
    M target/microblaze/meson.build
    M target/mips/meson.build
    M target/nios2/meson.build
    M target/openrisc/meson.build
    M target/ppc/meson.build
    M target/riscv/meson.build
    M target/rx/meson.build
    M target/s390x/meson.build
    M target/sh4/meson.build
    M target/sparc/meson.build
    M target/tricore/meson.build
    M target/xtensa/meson.build

  Log Message:
  -----------
  meson: Rename target_softmmu_arch -> target_system_arch

Finish the convertion started with commit de6cd7599b
("meson: Replace softmmu_ss -> system_ss"). If the
$target_type is 'system', then use the target_system_arch[]
source set :)

Mechanical change doing:

  $ sed -i -e s/target_softmmu_arch/target_system_arch/g \
      $(git grep -l target_softmmu_arch)

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-13-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8d7f2e767d8cd058c817dbe31430b89f2e11535d
      
https://github.com/qemu/qemu/commit/8d7f2e767d8cd058c817dbe31430b89f2e11535d
  Author: Philippe Mathieu-Daudé <philmd@linaro.org>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M MAINTAINERS
    M accel/tcg/icount-common.c
    M docs/devel/qtest.rst
    A include/sysemu/cpu-timers-internal.h
    M include/sysemu/runstate-action.h
    M meson.build
    M scripts/checkpatch.pl
    M scripts/coverity-scan/COMPONENTS.md
    M scripts/get_maintainer.pl
    M scripts/oss-fuzz/build.sh
    R softmmu/arch_init.c
    R softmmu/async-teardown.c
    R softmmu/balloon.c
    R softmmu/bootdevice.c
    R softmmu/cpu-throttle.c
    R softmmu/cpu-timers.c
    R softmmu/cpus.c
    R softmmu/datadir.c
    R softmmu/device_tree.c
    R softmmu/dirtylimit.c
    R softmmu/dma-helpers.c
    R softmmu/globals.c
    R softmmu/ioport.c
    R softmmu/main.c
    R softmmu/memory.c
    R softmmu/memory_mapping.c
    R softmmu/meson.build
    R softmmu/physmem.c
    R softmmu/qdev-monitor.c
    R softmmu/qemu-seccomp.c
    R softmmu/qtest.c
    R softmmu/rtc.c
    R softmmu/runstate-action.c
    R softmmu/runstate-hmp-cmds.c
    R softmmu/runstate.c
    R softmmu/timers-state.h
    R softmmu/tpm-hmp-cmds.c
    R softmmu/tpm.c
    R softmmu/trace-events
    R softmmu/trace.h
    R softmmu/vl.c
    R softmmu/watchpoint.c
    A system/arch_init.c
    A system/async-teardown.c
    A system/balloon.c
    A system/bootdevice.c
    A system/cpu-throttle.c
    A system/cpu-timers.c
    A system/cpus.c
    A system/datadir.c
    A system/device_tree.c
    A system/dirtylimit.c
    A system/dma-helpers.c
    A system/globals.c
    A system/ioport.c
    A system/main.c
    A system/memory.c
    A system/memory_mapping.c
    A system/meson.build
    A system/physmem.c
    A system/qdev-monitor.c
    A system/qemu-seccomp.c
    A system/qtest.c
    A system/rtc.c
    A system/runstate-action.c
    A system/runstate-hmp-cmds.c
    A system/runstate.c
    A system/tpm-hmp-cmds.c
    A system/tpm.c
    A system/trace-events
    A system/trace.h
    A system/vl.c
    A system/watchpoint.c
    M tests/unit/meson.build

  Log Message:
  -----------
  system: Rename softmmu/ directory as system/

The softmmu/ directory contains files specific to system
emulation. Rename it as system/. Update meson rules, the
MAINTAINERS file and all the documentation and comments.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004090629.37473-14-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 24f9c07ac0b6acc38b8790b101d32944a2b64739
      
https://github.com/qemu/qemu/commit/24f9c07ac0b6acc38b8790b101d32944a2b64739
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M configure

  Log Message:
  -----------
  configure: change $softmmu to $system

"softmmu" is a deprecated moniker, do the easy change matching
the variable to the command line option.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: a492e287e5d5d2b888e5f2580b4e9e41b6057a05
      
https://github.com/qemu/qemu/commit/a492e287e5d5d2b888e5f2580b4e9e41b6057a05
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M util/cutils.c

  Log Message:
  -----------
  cutils: squelch compiler warnings with custom paths

Setting --bindir= to an absolute path that is shorter than the
prefix causes GCC to complain about array accesses out of bounds.
The code however is safe, so disable the warning and explain why
we are doing so.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c7c5caeb1f314c5662a3b2985fe3befebf45b650
      
https://github.com/qemu/qemu/commit/c7c5caeb1f314c5662a3b2985fe3befebf45b650
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M audio/audio.c

  Log Message:
  -----------
  audio: error hints need a trailing \n

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: c753bf479ab75fe245c2de6a414b60b9e25a2bd7
      
https://github.com/qemu/qemu/commit/c753bf479ab75fe245c2de6a414b60b9e25a2bd7
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M audio/audio.c
    M audio/audio.h
    M docs/about/removed-features.rst
    M system/vl.c

  Log Message:
  -----------
  audio: disable default backends if -audio/-audiodev is used

Match what is done for other options, for example -monitor, and also
the behavior of QEMU 8.1 (see the "legacy_config" variable).  Require
the user to specify a backend if one is specified on the command line.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 8f527a3c0d2866df1affe8f0fb8ab73fbbb8ac52
      
https://github.com/qemu/qemu/commit/8f527a3c0d2866df1affe8f0fb8ab73fbbb8ac52
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M audio/audio.c
    M audio/audio.h

  Log Message:
  -----------
  audio: extract audio_define_default

It will be used soon to define a default audio device from the
command line.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 1ebdbff4c37d820b6a97d4c6f24aa38dae302b51
      
https://github.com/qemu/qemu/commit/1ebdbff4c37d820b6a97d4c6f24aa38dae302b51
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M audio/audio.c
    M qemu-options.hx
    M system/vl.c

  Log Message:
  -----------
  audio: extend -audio to allow creating a default backend

If "-audio BACKEND" is used without a model, the resulting backend
will be used whenever the audiodev property is not specified.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 22f84d4f7882d881a5f8574430da62c7ce5a0731
      
https://github.com/qemu/qemu/commit/22f84d4f7882d881a5f8574430da62c7ce5a0731
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M audio/audio.c
    M docs/about/deprecated.rst
    M docs/about/removed-features.rst

  Log Message:
  -----------
  audio: do not use first -audiodev as default audio device

It is now possible to specify the options for the default audio device
using -audio, so there is no need anymore to use a fake -audiodev option.

Remove the fall back to QTAILQ_FIRST(&audio_states), instead remember the
AudioState that was created from default_audiodevs and use that one.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 63a13c08055072e92129a1d0ffeeecdcac6ad3d4
      
https://github.com/qemu/qemu/commit/63a13c08055072e92129a1d0ffeeecdcac6ad3d4
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M audio/audio.c
    M audio/audio.h
    M docs/about/removed-features.rst
    M ui/vnc.c

  Log Message:
  -----------
  audio: reintroduce default audio backend for VNC

Make VNC use the default backend again if one is defined.
The recently introduced support for disabling the VNC audio
extension is still used, in case no default backend exists.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: 912eef205ae9ccfd477c343a51a7c2dcfae2ba43
      
https://github.com/qemu/qemu/commit/912eef205ae9ccfd477c343a51a7c2dcfae2ba43
  Author: Paolo Bonzini <pbonzini@redhat.com>
  Date:   2023-10-08 (Sun, 08 Oct 2023)

  Changed paths:
    M audio/audio.c
    M tests/qtest/libqtest.c

  Log Message:
  -----------
  audio, qtest: get rid of QEMU_AUDIO_DRV

Default audio devices can now be created with "-audio".  Tests for
soundcards were already using "-audiodev" if they want to specify a
particular backend, for the others remove the last remnants of
legacy audio configuration.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>


  Commit: e068c0b9c7e4da0fca4561730c9449eef56074e6
      
https://github.com/qemu/qemu/commit/e068c0b9c7e4da0fca4561730c9449eef56074e6
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M .mailmap
    M block/nbd.c
    M block/trace-events
    M docs/interop/nbd.txt
    M include/block/nbd.h
    M nbd/client-connection.c
    M nbd/client.c
    M nbd/nbd-internal.h
    M nbd/server.c
    M nbd/trace-events
    M qemu-nbd.c
    M tests/qemu-iotests/223.out
    M tests/qemu-iotests/233.out
    M tests/qemu-iotests/241.out
    M tests/qemu-iotests/307.out
    M tests/qemu-iotests/tests/nbd-qemu-allocation.out

  Log Message:
  -----------
  Merge tag 'pull-nbd-2023-10-05' of https://repo.or.cz/qemu/ericb into staging

NBD patches for 2023-10-05

- various: mailmap cleanups
- Eric Blake: enable use of NBD 64-bit extended headers

# -----BEGIN PGP SIGNATURE-----
#
# iQEzBAABCAAdFiEEccLMIrHEYCkn0vOqp6FrSiUnQ2oFAmUfA94ACgkQp6FrSiUn
# Q2o2hAf/Q4q6RoEG9WoOIa6WB1nk9tZN6GRfW4jS+09hJTFVbYUhJOcvQwwZjPT6
# 6oIwde8w7uE+AxBOA3XPbgTOBnTnpt2RH2AYVctNYB2vonuSrx3/KE3XSi4nrJRo
# +XiPbOsDzQu+vYsI7XJ+5e13BE4iZVmzbyke0U6hO88uR6tQstDJV1Mhem4jIbCG
# uLzkVDs3yY5sUFoUe77lFGWgKqfh87eJXV18T76df97ZZ5O2/w9G8MknG/CTSsR0
# fmzzC1Q4a2UEFtX8M3etRQ/b5WbFYhM+XwFevm2YBpod89ejGEA0ohhpn+GpZDU9
# SU66lXL/5jM9N7RkiSFwvupaot9hvw==
# =UieX
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 05 Oct 2023 14:43:42 EDT
# gpg:                using RSA key 71C2CC22B1C4602927D2F3AAA7A16B4A2527436A
# gpg: Good signature from "Eric Blake <eblake@redhat.com>" [full]
# gpg:                 aka "Eric Blake (Free Software Programmer) 
<ebb9@byu.net>" [full]
# gpg:                 aka "[jpeg image of size 6874]" [full]
# Primary key fingerprint: 71C2 CC22 B1C4 6029 27D2  F3AA A7A1 6B4A 2527 436A

* tag 'pull-nbd-2023-10-05' of https://repo.or.cz/qemu/ericb:
  nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS
  nbd/server: Prepare for per-request filtering of BLOCK_STATUS
  nbd/server: Refactor list of negotiated meta contexts
  nbd/client: Request extended headers during negotiation
  nbd/client: Accept 64-bit block status chunks
  nbd/client: Initial support for extended headers
  nbd/client: Plumb errp through nbd_receive_replies
  nbd/server: Enable initial support for extended headers
  nbd/server: Support 64-bit block status
  nbd/server: Prepare to send extended header replies
  nbd/server: Prepare to receive extended header requests
  nbd/server: Support a request payload
  mailmap: Fix BALATON Zoltan author email
  maint: Tweak comments in mailmap regarding SPF
  mailmap: Fix Andrey Drobyshev author email

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 17a319b175a57ee6fde4dabcaa2e11d47c39301e
      
https://github.com/qemu/qemu/commit/17a319b175a57ee6fde4dabcaa2e11d47c39301e
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M audio/ossaudio.c
    M dump/dump.c
    M hw/audio/soundhw.c
    M hw/cxl/cxl-device-utils.c
    M hw/i386/acpi-microvm.c
    M hw/i386/pc.c
    M hw/i386/x86.c
    M hw/ide/ahci.c
    M hw/loongarch/virt.c
    M hw/net/vhost_net.c
    M hw/usb/desc.c
    M hw/usb/dev-hub.c
    M hw/usb/dev-storage.c
    M hw/usb/hcd-xhci.c
    M hw/usb/host-libusb.c
    M hw/virtio/vhost.c
    M hw/virtio/virtio-pci.c
    M include/hw/audio/soundhw.h
    M include/net/net.h
    M include/qemu/guest-random.h
    M include/qemu/plugin.h
    M include/qom/object_interfaces.h
    M include/semihosting/semihost.h
    M include/sysemu/os-posix.h
    M include/sysemu/tpm.h
    M linux-user/flatload.c
    M linux-user/mmap.c
    M linux-user/syscall.c
    M net/net.c
    M os-posix.c
    M plugins/loader.c
    M qemu-img.c
    M qemu-io.c
    M qom/object_interfaces.c
    M semihosting/arm-compat-semi.c
    M semihosting/config.c
    M softmmu/tpm.c
    M softmmu/vl.c
    M stubs/semihost.c
    M target/ppc/int_helper.c
    M target/ppc/kvm.c
    M trace/control.c
    M trace/control.h
    M ui/cocoa.m
    M util/cutils.c
    M util/guest-random.c

  Log Message:
  -----------
  Merge tag 'pull-shadow-2023-10-06' of https://repo.or.cz/qemu/armbru into 
staging

-Wshadow=local patches patches for 2023-10-06

# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEENUvIs9frKmtoZ05fOHC0AOuRhlMFAmUf72kSHGFybWJydUBy
# ZWRoYXQuY29tAAoJEDhwtADrkYZTDU4P/3R9y5D5d3cj4uI+eaM22+Da0MFUL2gq
# bFL192gYj1cmnNqxp+d6ur7FbSlP2AuERHb50Off7jJzdNee+tEeRUPekY+HhKfT
# 5Aj6r9M2jV3/sNXqzns7x9Yj2B8xaJlclKPUAaVAxIuhVradWqJiPSkc26sKPB7l
# eyqjVvr9+GTQYPSh+YVbYDAUYU9rEL6FiWLPkKm7Kt3/xqp5pTVbUSQbgKQczGWL
# /JFILJc5pjISzYPyVxDPSNJY9q4k37JtcJmsO94G9O0GEe5vE72I85OQwI3Fl824
# 1fc2bfkGB6cg1QcJAluOgjuMUe8Wqaw6tnnHgipr1mwFOizrQ9wQW2xRI9RRJfYa
# bZmVWIw22P691pgTnFIHWKV6/A2xyq+j00VojQhLyMX9CPPCbIm9hKCZXz6lPGDt
# xPX2//q866anFCCyQmimMSeJ4E1GgBTnWgLZMYJ+S3DL/VkW2FGZjiQMyOsRplDm
# O6+m6GOiF3wW51uqphaRHwF+PxxNE4Dv+61pYEeKdQELSCAmYrN574BDPehVTcfa
# luvSLZEl+qvUbkbw4ysrtiCX2YzVI4COxSscjxCXbku3wRbGSkHBeDadb3p17kuQ
# 7FZILaFJo1wXHAine4/f6aNeV/GZihMqJ1cok6SDJh2E1PycF9NTdiKMb/6Zvvf+
# KOVyBhY4NXlj
# =uE1Y
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 06 Oct 2023 07:28:41 EDT
# 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-shadow-2023-10-06' of https://repo.or.cz/qemu/armbru: (32 commits)
  linux-user/syscall.c: clean up local variable shadowing in xattr syscalls
  linux-user/syscall.c: clean up local variable shadowing in TARGET_NR_getcpu
  linux-user/syscall.c: clean up local variable shadowing in do_ioctl_dm()
  linux-user/mmap.c: clean up local variable shadowing
  linux-user/flatload: clean up local variable shadowing
  hw/usb: Silence compiler warnings in USB code when compiling with -Wshadow
  target/ppc: Clean up local variable shadowing in kvm_arch_*_registers()
  trace/control: Clean up global variable shadowing
  sysemu/tpm: Clean up global variable shadowing
  softmmu/vl: Clean up global variable shadowing
  semihosting/arm-compat: Clean up local variable shadowing
  util/guest-random: Clean up global variable shadowing
  util/cutils: Clean up global variable shadowing in get_relocated_path()
  ui/cocoa: Clean up global variable shadowing
  semihosting: Clean up global variable shadowing
  qom/object_interfaces: Clean up global variable shadowing
  qemu-io: Clean up global variable shadowing
  qemu-img: Clean up global variable shadowing
  plugins/loader: Clean up global variable shadowing
  os-posix: Clean up global variable shadowing
  ...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: f7294103560260ff09ffdf316cf6ba6d4e368d85
      
https://github.com/qemu/qemu/commit/f7294103560260ff09ffdf316cf6ba6d4e368d85
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M MAINTAINERS
    M hw/audio/Kconfig
    A hw/audio/asc.c
    M hw/audio/meson.build
    M hw/audio/trace-events
    M hw/block/swim.c
    M hw/block/trace-events
    M hw/m68k/Kconfig
    M hw/m68k/q800-glue.c
    M hw/m68k/q800.c
    M hw/misc/Kconfig
    A hw/misc/djmemc.c
    A hw/misc/iosb.c
    M hw/misc/mac_via.c
    M hw/misc/meson.build
    M hw/misc/trace-events
    A include/hw/audio/asc.h
    M include/hw/block/swim.h
    M include/hw/m68k/q800-glue.h
    M include/hw/m68k/q800.h
    A include/hw/misc/djmemc.h
    A include/hw/misc/iosb.h
    M include/hw/misc/mac_via.h

  Log Message:
  -----------
  Merge tag 'q800-for-8.2-pull-request' of https://github.com/vivier/qemu-m68k 
into staging

Pull request q800 20231008

add support for booting:
  - MacOS 7.1 - 8.1, with or without virtual memory enabled
  - A/UX 3.0.1
  - NetBSD 9.3
  - Linux (via EMILE)

# -----BEGIN PGP SIGNATURE-----
#
# iQJGBAABCAAwFiEEzS913cjjpNwuT1Fz8ww4vT8vvjwFAmUiSrISHGxhdXJlbnRA
# dml2aWVyLmV1AAoJEPMMOL0/L748oSUQAKAm3TPYQUDDVFTi2uhzv6IgNSgOVUhK
# 3I3xoNb0UR9AT3Wfg1fah5La3p0kL9Y25gvhCl6veUg39WVicv3fbqUevbJ1Nwgl
# ovwS3MRRcvYhU+omcXImFfoIPyOxfSf3vZ6SedIkB24hQyXN9eFBZMfgCODU6lfo
# rAd/Hm50N2jRI8aKjvN+uHFRz75wqq6rNk/4QLWihRqhtWrjUDPHOTMI9sQxWy9z
# LcXxVKbWCY8/WOAandsGL94l2jfu94HM6CfwHaumdxvPBZT6WUyCv3T1rJsVJU29
# b8oTLcwKAmZ7lGLbjl6GdB8q5KAJFCAGLWuEbNIMj0orB37OpUd0Wx2SD9+aA53H
# yoKGbk6N1UappTtcnZCfwzWRzNaXrRno+w+/xYjlKsXBdHV9ZXHMGD5ERxoC6MY7
# ISsCa4bafeUDes6SCetgq87ho69E8l+gAlNYPgidHaTP226BjrYWQRJIa0leczfO
# aE6dAG7MQFOnOjeOHEJMDB2XpKHiVe1lyVGQH485cLW1J6LHJFWUfUUH2Zjs1v1z
# eXZHBTclPO2wbuQzXG6pAz2jdF/9w4ft/aA0PQhQcFxa9RB6AoNFG/juHJN5eUiw
# NXJetR2g1juNPqmMFWDNMJ7Zzce5Chjoj69XJBFYSXhgbOtwpUpoEPZUeIMcW1eJ
# Va2HvyDQPp1B
# =RUHg
# -----END PGP SIGNATURE-----
# gpg: Signature made Sun 08 Oct 2023 02:22:42 EDT
# gpg:                using RSA key CD2F75DDC8E3A4DC2E4F5173F30C38BD3F2FBE3C
# gpg:                issuer "laurent@vivier.eu"
# gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>" [full]
# gpg:                 aka "Laurent Vivier <laurent@vivier.eu>" [full]
# gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>" 
[full]
# Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C

* tag 'q800-for-8.2-pull-request' of https://github.com/vivier/qemu-m68k:
  mac_via: extend timer calibration hack to work with A/UX
  q800: add alias for MacOS toolbox ROM at 0x40000000
  q800: add ESCC alias at 0xc000
  mac_via: always clear ADB interrupt when switching to A/UX mode
  mac_via: implement ADB_STATE_IDLE state if shift register in input mode
  mac_via: workaround NetBSD ADB bus enumeration issue
  mac_via: work around underflow in TimeDBRA timing loop in SETUPTIMEK
  swim: update IWM/ISM register block decoding
  swim: split into separate IWM and ISM register blocks
  swim: add trace events for IWM and ISM registers
  q800: add easc bool machine class property to switch between ASC and EASC
  q800: add Apple Sound Chip (ASC) audio to machine
  asc: generate silence if FIFO empty but engine still running
  audio: add Apple Sound Chip (ASC) emulation
  q800: allow accesses to RAM area even if less memory is available
  q800: add IOSB subsystem
  q800: implement additional machine id bits on VIA1 port A
  q800: add machine id register
  q800: add djMEMC memory controller
  q800-glue.c: convert to Resettable interface

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: 1527c6b6fa6c6775523287e33f78b41afc7ba46c
      
https://github.com/qemu/qemu/commit/1527c6b6fa6c6775523287e33f78b41afc7ba46c
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M .travis.yml
    M MAINTAINERS
    R accel/accel-softmmu.c
    R accel/accel-softmmu.h
    A accel/accel-system.c
    A accel/accel-system.h
    M accel/accel-target.c
    M accel/meson.build
    M accel/stubs/meson.build
    M accel/tcg/icount-common.c
    M accel/tcg/user-exec.c
    M audio/audio.c
    M audio/audio.h
    M configure
    M cpu-target.c
    M docs/about/deprecated.rst
    M docs/about/removed-features.rst
    M docs/devel/build-system.rst
    M docs/devel/qtest.rst
    M docs/devel/testing.rst
    M gdbstub/internals.h
    M gdbstub/meson.build
    R gdbstub/softmmu.c
    A gdbstub/system.c
    M gdbstub/trace-events
    M hw/core/cpu-common.c
    M include/qemu/atomic128.h
    R include/semihosting/softmmu-uaccess.h
    A include/semihosting/uaccess.h
    A include/sysemu/cpu-timers-internal.h
    M include/sysemu/hvf.h
    M include/sysemu/runstate-action.h
    M include/tcg/tcg-op-common.h
    M meson.build
    M qemu-options.hx
    M scripts/checkpatch.pl
    M scripts/coverity-scan/COMPONENTS.md
    M scripts/get_maintainer.pl
    M scripts/oss-fuzz/build.sh
    M semihosting/arm-compat-semi.c
    M semihosting/config.c
    M semihosting/guestfd.c
    M semihosting/syscalls.c
    M semihosting/uaccess.c
    R softmmu/arch_init.c
    R softmmu/async-teardown.c
    R softmmu/balloon.c
    R softmmu/bootdevice.c
    R softmmu/cpu-throttle.c
    R softmmu/cpu-timers.c
    R softmmu/cpus.c
    R softmmu/datadir.c
    R softmmu/device_tree.c
    R softmmu/dirtylimit.c
    R softmmu/dma-helpers.c
    R softmmu/globals.c
    R softmmu/ioport.c
    R softmmu/main.c
    R softmmu/memory.c
    R softmmu/memory_mapping.c
    R softmmu/meson.build
    R softmmu/physmem.c
    R softmmu/qdev-monitor.c
    R softmmu/qemu-seccomp.c
    R softmmu/qtest.c
    R softmmu/rtc.c
    R softmmu/runstate-action.c
    R softmmu/runstate-hmp-cmds.c
    R softmmu/runstate.c
    R softmmu/timers-state.h
    R softmmu/tpm-hmp-cmds.c
    R softmmu/tpm.c
    R softmmu/trace-events
    R softmmu/trace.h
    R softmmu/vl.c
    R softmmu/watchpoint.c
    M stubs/semihost.c
    A system/arch_init.c
    A system/async-teardown.c
    A system/balloon.c
    A system/bootdevice.c
    A system/cpu-throttle.c
    A system/cpu-timers.c
    A system/cpus.c
    A system/datadir.c
    A system/device_tree.c
    A system/dirtylimit.c
    A system/dma-helpers.c
    A system/globals.c
    A system/ioport.c
    A system/main.c
    A system/memory.c
    A system/memory_mapping.c
    A system/meson.build
    A system/physmem.c
    A system/qdev-monitor.c
    A system/qemu-seccomp.c
    A system/qtest.c
    A system/rtc.c
    A system/runstate-action.c
    A system/runstate-hmp-cmds.c
    A system/runstate.c
    A system/tpm-hmp-cmds.c
    A system/tpm.c
    A system/trace-events
    A system/trace.h
    A system/vl.c
    A system/watchpoint.c
    M target/alpha/meson.build
    M target/arm/meson.build
    M target/avr/meson.build
    M target/cris/meson.build
    M target/hppa/meson.build
    M target/i386/cpu.c
    M target/i386/hvf/hvf-cpu.c
    M target/i386/hvf/hvf-i386.h
    M target/i386/hvf/x86_cpuid.c
    M target/i386/kvm/meson.build
    M target/i386/meson.build
    M target/i386/tcg/misc_helper.c
    M target/i386/tcg/translate.c
    M target/loongarch/meson.build
    M target/m68k/m68k-semi.c
    M target/m68k/meson.build
    M target/microblaze/meson.build
    M target/mips/meson.build
    M target/mips/tcg/sysemu/mips-semi.c
    M target/nios2/meson.build
    M target/nios2/nios2-semi.c
    M target/openrisc/meson.build
    M target/ppc/meson.build
    M target/riscv/meson.build
    M target/riscv/vector_helper.c
    M target/rx/meson.build
    M target/s390x/meson.build
    M target/sh4/meson.build
    M target/sparc/meson.build
    M target/tricore/meson.build
    M target/xtensa/meson.build
    M tcg/aarch64/tcg-target.c.inc
    M tcg/arm/tcg-target.c.inc
    M tcg/i386/tcg-target.c.inc
    M tcg/loongarch64/tcg-target.c.inc
    M tcg/meson.build
    M tcg/mips/tcg-target.c.inc
    M tcg/ppc/tcg-target.c.inc
    M tcg/region.c
    M tcg/riscv/tcg-target.c.inc
    M tcg/s390x/tcg-target.c.inc
    M tcg/sparc64/tcg-target.c.inc
    M tcg/tcg.c
    M tests/qtest/fuzz/fuzz.c
    M tests/qtest/fuzz/fuzz.h
    M tests/qtest/libqtest.c
    M tests/tcg/Makefile.target
    M tests/tcg/multiarch/gdbstub/interrupt.py
    M tests/tcg/multiarch/gdbstub/memory.py
    M tests/tcg/multiarch/system/memory.c
    M tests/tcg/s390x/pgm-specification-softmmu.S
    M tests/tcg/s390x/pgm-specification.mak
    M tests/tcg/s390x/softmmu.ld
    M tests/tcg/xtensa/Makefile.softmmu-target
    M tests/tcg/xtensaeb/Makefile.softmmu-target
    M tests/unit/meson.build
    M ui/vnc.c
    M util/cutils.c
    M util/log.c

  Log Message:
  -----------
  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging

* util/log: re-allow switching away from stderr log file
* finish audio configuration rework
* cleanup HVF stubs
* remove more mentions of softmmu

# -----BEGIN PGP SIGNATURE-----
#
# iQFIBAABCAAyFiEE8TM4V0tmI4mGbHaCv/vSX3jHroMFAmUi/kIUHHBib256aW5p
# QHJlZGhhdC5jb20ACgkQv/vSX3jHroOXWwf/YW16QMzqdAPVHYRf9NcCneRF16El
# t3lEod0q0sHhchPbh9e04aKbh+oBNeWu9sFyTl11Fwsi+DGmp/b28ziva75/4rfd
# h5N9aX/z2jwPqy93IwPDu3soKXCCgTK+ywtD/5GLQwBGqxs7W2xUEEb7eCnVefHa
# zwL3MOUqPICeqOnR1TNw9k3N3veF04D+rmchTwbAjAmx1f8EI+mK9VlGK9V8TUjP
# 3HjpZYJluc0a92lR5VONJ7V25QfttsjLysTgpFwVAQPS6Frzatc/hWclfLYgw9vl
# 2Irk83FV8gXPRl0XKNcqSDsv6h/yGP6TDFIB8QwRSRGBqIQi5aOlfBJzsQ==
# =qbm7
# -----END PGP SIGNATURE-----
# gpg: Signature made Sun 08 Oct 2023 15:08:50 EDT
# gpg:                using RSA key F13338574B662389866C7682BFFBD25F78C7AE83
# gpg:                issuer "pbonzini@redhat.com"
# gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>" [full]
# gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>" [full]
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* tag 'for-upstream' of https://gitlab.com/bonzini/qemu: (25 commits)
  audio, qtest: get rid of QEMU_AUDIO_DRV
  audio: reintroduce default audio backend for VNC
  audio: do not use first -audiodev as default audio device
  audio: extend -audio to allow creating a default backend
  audio: extract audio_define_default
  audio: disable default backends if -audio/-audiodev is used
  audio: error hints need a trailing \n
  cutils: squelch compiler warnings with custom paths
  configure: change $softmmu to $system
  system: Rename softmmu/ directory as system/
  meson: Rename target_softmmu_arch -> target_system_arch
  meson: Rename softmmu_mods -> system_mods
  target/i386: Rename i386_softmmu_kvm_ss -> i386_kvm_ss
  semihosting: Rename softmmu_FOO_user() -> uaccess_FOO_user()
  gdbstub: Rename 'softmmu' -> 'system'
  accel: Rename accel_softmmu* -> accel_system*
  tcg: Correct invalid mentions of 'softmmu' by 'system-mode'
  fuzz: Correct invalid mentions of 'softmmu' by 'system'
  cpu: Correct invalid mentions of 'softmmu' by 'system-mode'
  travis-ci: Correct invalid mentions of 'softmmu' by 'system'
  ...

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


  Commit: cea3ea670fe265421131aad90c36fbb87bc4d206
      
https://github.com/qemu/qemu/commit/cea3ea670fe265421131aad90c36fbb87bc4d206
  Author: Stefan Hajnoczi <stefanha@redhat.com>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M hw/vfio/display.c
    M hw/vfio/pci.c
    M hw/vfio/pci.h
    M hw/vfio/trace-events

  Log Message:
  -----------
  Merge tag 'pull-vfio-20231009' of https://github.com/legoater/qemu into 
staging

vfio queue:

* Fix for VFIO display when using Intel vGPUs
* Support for dynamic MSI-X

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEEoPZlSPBIlev+awtgUaNDx8/77KEFAmUjoLIACgkQUaNDx8/7
# 7KE+gw/9FTQFRkmlkSMlqRGjINF/VmfX6TsX+dy3ZB+aJia6qahco+u9hd3yQxiA
# /KI4FZnQCH/ZFizjR7hJdsxLnd+l989RFmoy+NTEXfgBMSLu4aU1UlVC1pyuhJ5L
# xadGQ2UIclD1Gz70laa9ketebLHdyc/Pku2xt9oreR6kRRFHZ3V4QhMNhcwGapO1
# 0wytLFXPVyGa7YYTB5qQPHPWyY9sM0n6E4E7jVnhfOw75cUVNvSr+9HlJbR1FN3Z
# 4klNMXayKGAZmh9oKpQWBsf4aUwLDu//eCk64TkQHp0pNrvRAJJBwgkhsI1FigeW
# SJ2JjQsIg/vLu2oyUhp2PJ59cQSMFZPgEqRhhRQ2RKhIfwOZY4kgfvKFtSHvWijV
# u0r8/HMIJE0fNffigyDlfLCsUEYu3OuJXMlU+5xrwi77hWlPrGb8D1J7LhwUnldk
# kZaw9VEranlbMQT773cMA7f/pgS1Sc6CkdqfJLGIHA4PsEk44Lzen2BzRroz8+Km
# tn8hHt+GQK/ZGKmOPXWm44Bd48Be08cMz/pOI2cqoScEKKEQ8HUul3H1/k8sqauh
# 1gPo1hIPXo/GaGRvUvPsj4cK8oQm77EHksEQ4Nxvn+ZWTW2FnMQkb9QFbF8bTmEo
# KiJJ6s8qbd1CWGYbO0GSE8ss3NUZq1YbWsMXmUP0JccEgvjeL2M=
# =QRhQ
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 09 Oct 2023 02:41:54 EDT
# gpg:                using RSA key A0F66548F04895EBFE6B0B6051A343C7CFFBECA1
# gpg: Good signature from "Cédric Le Goater <clg@redhat.com>" [unknown]
# gpg:                 aka "Cédric Le Goater <clg@kaod.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: A0F6 6548 F048 95EB FE6B  0B60 51A3 43C7 CFFB ECA1

* tag 'pull-vfio-20231009' of https://github.com/legoater/qemu:
  vfio/pci: enable MSI-X in interrupt restoring on dynamic allocation
  vfio/pci: use an invalid fd to enable MSI-X
  vfio/pci: enable vector on dynamic MSI-X allocation
  vfio/pci: detect the support of dynamic MSI-X allocation
  vfio/pci: rename vfio_put_device to vfio_pci_put_device
  vfio/display: Fix missing update to set backing fields

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>


Compare: https://github.com/qemu/qemu/compare/2f3913f4b2ad...cea3ea670fe2



reply via email to

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