[PATCH] nbd: Prevent NULL pointer dereference in nbd_blockdev_client_closed()

2024-06-07 Thread Alexander Ivanov
In some cases, the NBD server can be stopped before nbd_blockdev_client_closed() is called, causing the nbd_server variable to be nullified. This leads to a NULL pointer dereference when accessing nbd_server. Add a NULL check for nbd_server to the nbd_blockdev_client_closed() function to prevent

Re: [PULL v2 2/2] hw/ufs: Add support MCQ of UFSHCI 4.0

2024-06-07 Thread Peter Maydell
On Mon, 3 Jun 2024 at 09:38, Jeuk Kim wrote: > > From: Minwoo Im > > This patch adds support for MCQ defined in UFSHCI 4.0. This patch > utilized the legacy I/O codes as much as possible to support MCQ. > > MCQ operation & runtime register is placed at 0x1000 offset of UFSHCI > register

Re: [PULL 02/17] crypto: Introduce SM4 symmetric cipher algorithm

2024-06-07 Thread Peter Maydell
On Fri, 9 Feb 2024 at 14:07, Daniel P. Berrangé wrote: > > From: Hyman Huang > > Introduce the SM4 cipher algorithms (OSCCA GB/T 32907-2016). > > SM4 (GBT.32907-2016) is a cryptographic standard issued by the > Organization of State Commercial Administration of China (OSCCA) > as an authorized

RE: [PATCH-for-9.1 v2 2/3] migration: Remove RDMA protocol handling

2024-06-07 Thread Gonglei (Arei)
Hi, > -Original Message- > From: Peter Xu [mailto:pet...@redhat.com] > Sent: Thursday, June 6, 2024 5:19 AM > To: Dr. David Alan Gilbert > Cc: Michael Galaxy ; zhengchuan > ; Gonglei (Arei) ; > Daniel P. Berrangé ; Markus Armbruster > ; Yu Zhang ; Zhijian Li (Fujitsu) > ; Jinpu Wang ;