On Thu, Feb 29, 2024 at 07:37:11PM +, Matthew Wilcox wrote:
> On Thu, Feb 29, 2024 at 11:25:13AM -0700, Greg Edwards wrote:
>>> [1/1] block: Remove special-casing of compound pages
>>> commit: 1b151e2435fc3a9b10c8946c6aebe9f3e1938c55
>>
>> This commit re
On Thu, Dec 07, 2023 at 02:04:26PM -0700, Jens Axboe wrote:
> On Mon, 14 Aug 2023 15:41:00 +0100, Matthew Wilcox (Oracle) wrote:
>> The special casing was originally added in pre-git history; reproducing
>> the commit log here:
>>
>>> commit a318a92567d77
>>> Author: Andrew Morton
>>> Date: Sun
In preparation for having vhost-scsi also make use of host_features,
move it from struct VHostUserSCSI into struct VHostSCSICommon.
Signed-off-by: Greg Edwards
---
hw/scsi/vhost-user-scsi.c | 15 ---
include/hw/virtio/vhost-scsi-common.h | 1 +
include/hw/virtio/vhost
Allow toggling on/off the VIRTIO_SCSI_F_T10_PI feature bit for both
vhost-scsi and vhost-user-scsi devices.
Signed-off-by: Greg Edwards
---
hw/scsi/vhost-scsi.c | 3 +++
hw/scsi/vhost-user-scsi.c | 3 +++
2 files changed, 6 insertions(+)
diff --git a/hw/scsi/vhost-scsi.c b/hw/scsi/vhost
Move the enablement of preset host features into the common
vhost_scsi_common_get_features() function. This is in preparation for
having vhost-scsi also make use of host_features.
Signed-off-by: Greg Edwards
---
hw/scsi/vhost-scsi-common.c | 3 +++
hw/scsi/vhost-user-scsi.c | 14
Unify the get_features functions for vhost-scsi and vhost-user-scsi, including
their use of host_features, and expose a new 't10_pi' property to enable
negotiation of the VIRTIO_SCSI_F_T10_PI feature bit with the backend.
Greg Edwards (3):
vhost-user-scsi: move host_fea