[2/2] iotests: fix 172 test
diff mbox series

Message ID 20200611171608.22052-3-den@openvz.org
State New
Headers show
Series
  • block: propagate discard alignment from format drivers to the guest
Related show

Commit Message

Denis V. Lunev June 11, 2020, 5:16 p.m. UTC
Default discard granularity is set to -2 now.

Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Kevin Wolf <kwolf@redhat.com>
CC: Max Reitz <mreitz@redhat.com>
CC: Eduardo Habkost <ehabkost@redhat.com>
CC: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
CC: John Snow <jsnow@redhat.com>
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Fam Zheng <fam@euphon.net>
---
 tests/qemu-iotests/172.out | 106 ++++++++++++++++++-------------------
 1 file changed, 53 insertions(+), 53 deletions(-)

Patch
diff mbox series

diff --git a/tests/qemu-iotests/172.out b/tests/qemu-iotests/172.out
index 7abbe82427..fb6d3efe7b 100644
--- a/tests/qemu-iotests/172.out
+++ b/tests/qemu-iotests/172.out
@@ -28,7 +28,7 @@  Testing:
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "288"
@@ -58,7 +58,7 @@  Testing: -fda TEST_DIR/t.qcow2
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -85,7 +85,7 @@  Testing: -fdb TEST_DIR/t.qcow2
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -96,7 +96,7 @@  Testing: -fdb TEST_DIR/t.qcow2
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "288"
@@ -123,7 +123,7 @@  Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2.2
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -134,7 +134,7 @@  Testing: -fda TEST_DIR/t.qcow2 -fdb TEST_DIR/t.qcow2.2
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -164,7 +164,7 @@  Testing: -drive if=floppy,file=TEST_DIR/t.qcow2
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -191,7 +191,7 @@  Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -202,7 +202,7 @@  Testing: -drive if=floppy,file=TEST_DIR/t.qcow2,index=1
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "288"
@@ -229,7 +229,7 @@  Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -240,7 +240,7 @@  Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=floppy,file=TEST_DIR/t
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -270,7 +270,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveA=none0
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -297,7 +297,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -global isa-fdc.driveB=none0
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -324,7 +324,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -335,7 +335,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -365,7 +365,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -392,7 +392,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,unit=1
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -419,7 +419,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -430,7 +430,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -460,7 +460,7 @@  Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global is
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -471,7 +471,7 @@  Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global is
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -498,7 +498,7 @@  Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global is
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -509,7 +509,7 @@  Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global is
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -536,7 +536,7 @@  Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global is
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -563,7 +563,7 @@  Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -global is
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -593,7 +593,7 @@  Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device fl
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -604,7 +604,7 @@  Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device fl
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -631,7 +631,7 @@  Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device fl
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -642,7 +642,7 @@  Testing: -fda TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device fl
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -669,7 +669,7 @@  Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device fl
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -680,7 +680,7 @@  Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device fl
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -707,7 +707,7 @@  Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device fl
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -718,7 +718,7 @@  Testing: -fdb TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qcow2.2 -device fl
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -754,7 +754,7 @@  Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.q
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -765,7 +765,7 @@  Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.q
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -792,7 +792,7 @@  Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.q
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -803,7 +803,7 @@  Testing: -drive if=floppy,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.q
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -836,7 +836,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -847,7 +847,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -874,7 +874,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -885,7 +885,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -912,7 +912,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -923,7 +923,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -950,7 +950,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -961,7 +961,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -drive if=none,file=TEST_DIR/t.qco
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -1003,7 +1003,7 @@  Testing: -device floppy
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "288"
@@ -1030,7 +1030,7 @@  Testing: -device floppy,drive-type=120
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "120"
@@ -1057,7 +1057,7 @@  Testing: -device floppy,drive-type=144
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -1084,7 +1084,7 @@  Testing: -device floppy,drive-type=288
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "288"
@@ -1114,7 +1114,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-t
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "120"
@@ -1141,7 +1141,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,drive-t
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "288"
@@ -1171,7 +1171,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,logical
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"
@@ -1198,7 +1198,7 @@  Testing: -drive if=none,file=TEST_DIR/t.qcow2 -device floppy,drive=none0,physica
                 physical_block_size = 512 (0x200)
                 min_io_size = 0 (0x0)
                 opt_io_size = 0 (0x0)
-                discard_granularity = 4294967295 (0xffffffff)
+                discard_granularity = 4294967294 (0xfffffffe)
                 write-cache = "auto"
                 share-rw = false
                 drive-type = "144"