Re: [PULL 0/2] hw/nvme fixes

2023-08-07 Thread Richard Henderson
On 8/7/23 04:54, Klaus Jensen wrote: From: Klaus Jensen Hi, The following changes since commit 9400601a689a128c25fa9c21e932562e0eeb7a26: Merge tag 'pull-tcg-20230806-3' ofhttps://gitlab.com/rth7680/qemu into staging (2023-08-06 16:47:48 -0700) are available in the Git repository at:

Re: [Libguestfs] [PATCH v4 24/24] nbd/server: Add FLAG_PAYLOAD support to CMD_BLOCK_STATUS

2023-08-07 Thread Eric Blake
On Tue, Jun 27, 2023 at 10:42:20PM +0300, Vladimir Sementsov-Ogievskiy wrote: > On 08.06.23 16:56, Eric Blake wrote: > > 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

Re: [PATCH v4 19/24] nbd/client: Initial support for extended headers

2023-08-07 Thread Eric Blake
On Tue, Jun 27, 2023 at 05:22:09PM +0300, Vladimir Sementsov-Ogievskiy wrote: > On 08.06.23 16:56, Eric Blake wrote: > > 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

Re: [PATCH v3 0/8] misc AHCI cleanups

2023-08-07 Thread John Snow
On Mon, Aug 7, 2023, 6:33 AM Niklas Cassel wrote: > On Tue, Jul 25, 2023 at 03:00:56PM -0400, John Snow wrote: > > On Tue, Jul 25, 2023 at 9:04 AM Philippe Mathieu-Daudé > > wrote: > > > > > > Hi Niklas, John, Paolo, Kevin, > > > > > > On 19/7/23 12:47, Niklas Cassel wrote: > > > > > > >>

Re: [PATCH v4 16/24] nbd/server: Support 64-bit block status

2023-08-07 Thread Vladimir Sementsov-Ogievskiy
On 04.08.23 22:36, Eric Blake wrote: On Tue, Jun 27, 2023 at 04:23:49PM +0300, Vladimir Sementsov-Ogievskiy wrote: On 08.06.23 16:56, Eric Blake wrote: The NBD spec states that if the client negotiates extended headers, the server must avoid NBD_REPLY_TYPE_BLOCK_STATUS and instead use

Re: [PATCH v4 15/24] nbd/server: Prepare to send extended header replies

2023-08-07 Thread Vladimir Sementsov-Ogievskiy
On 04.08.23 22:28, Eric Blake wrote: On Fri, Jun 16, 2023 at 09:48:18PM +0300, Vladimir Sementsov-Ogievskiy wrote: On 08.06.23 16:56, Eric Blake wrote: 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

Re: [PATCH v5 8/9] fsdev: Use ThrottleDirection instread of bool is_write

2023-08-07 Thread Greg Kurz
On Fri, 28 Jul 2023 10:20:05 +0800 zhenwei pi wrote: > 'bool is_write' style is obsolete from throttle framework, adapt > fsdev to the new style. > > Cc: Greg Kurz > Reviewed-by: Hanna Czenczek > Signed-off-by: zhenwei pi Reviewed-by: Greg Kurz > --- > fsdev/qemu-fsdev-throttle.c | 14

[PULL 0/2] hw/nvme fixes

2023-08-07 Thread Klaus Jensen
From: Klaus Jensen Hi, The following changes since commit 9400601a689a128c25fa9c21e932562e0eeb7a26: Merge tag 'pull-tcg-20230806-3' of https://gitlab.com/rth7680/qemu into staging (2023-08-06 16:47:48 -0700) are available in the Git repository at: https://gitlab.com/birkelund/qemu.git

[PULL 1/2] hw/nvme: fix oob memory read in fdp events log

2023-08-07 Thread Klaus Jensen
From: Klaus Jensen As reported by Trend Micro's Zero Day Initiative, an oob memory read vulnerability exists in nvme_fdp_events(). The host-provided offset is not verified. Fix this. This is only exploitable when Flexible Data Placement mode (fdp=on) is enabled. Fixes: CVE-2023-4135 Fixes:

[PULL 2/2] hw/nvme: fix compliance issue wrt. iosqes/iocqes

2023-08-07 Thread Klaus Jensen
From: Klaus Jensen As of prior to this patch, the controller checks the value of CC.IOCQES and CC.IOSQES prior to enabling the controller. As reported by Ben in GitLab issue #1691, this is not spec compliant. The controller should only check these values when queues are created. This patch

Re: [PATCH v3 0/8] misc AHCI cleanups

2023-08-07 Thread Niklas Cassel
On Tue, Jul 25, 2023 at 03:00:56PM -0400, John Snow wrote: > On Tue, Jul 25, 2023 at 9:04 AM Philippe Mathieu-Daudé > wrote: > > > > Hi Niklas, John, Paolo, Kevin, > > > > On 19/7/23 12:47, Niklas Cassel wrote: > > > > >> Niklas Cassel (8): > > >>hw/ide/ahci: remove stray backslash > > >>