29 Oct
2026
29 Oct
'26
12:52 p.m.
On Thu, Oct 29, 2026 at 12:23:57AM +0100, Kevin Wolf wrote:
@@ -802,6 +866,11 @@ static void register_virtio_blk_test(void) qos_add_test("nxvirtq", "virtio-blk-pci", test_nonexistent_virtqueue, &opts); qos_add_test("hotplug", "virtio-blk-pci", pci_hotplug, &opts); + + /* serial number tests */ + opts.edge.extra_device_opts = "serial=abc"; + qos_add_test("get_id/serial_short", "virtio-blk", + get_id_serial_short, &opts);
The edge case where the serial string is 20 ASCII characters long (no NUL padding) is worth testing now that you're adding the infrastructure to do so.