|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v3 2/3] tests/qtest/virtio-scsi-test: add unmap large LBA with 4k blocks test |
Date: | Wed, 26 May 2021 16:40:12 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 25/05/21 21:46, Kit Westneat wrote:
+static void *virtio_scsi_setup_4k(GString *cmd_line, void *arg) +{ + g_string_append(cmd_line, + " -drive file=blkdebug::null-co://," + "file.image.read-zeroes=on," + "if=none,id=dr1,format=raw,file.blocksize=4k " + "-device scsi-hd,drive=dr1,lun=0,scsi-id=1");
Instead of having patches 1+3, I think it's enough to use "-device scsi-hd,...,logical_block_size=4096".
Thanks, Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |