After thinking about this some more, I'm not sure there is anything that can be 
done due to the fact that boot is using interfaces that assume 512 byte sectors 
such as a read sectors 13h.  Is that why BIOS/boot is stuck, changing the read 
to allow 4k sector size could cause buffer over run because the 13h interface 
doesn't specify the sector size?

________________________________________
From: SeaBIOS <[email protected]> on behalf of James Shimer 
<[email protected]>
Sent: Tuesday, April 5, 2016 12:25 AM
To: [email protected]
Subject: [SeaBIOS] virtio-blk ... block size 4096 is unsupported

Hi,

I've been doing some testing if KVM with 4K physical sector virtio disks and 
they work with KVM as a none boot disk.  We'd like to be able to boot a 4k 
physical sector disk in KVM, is there 4K support in any seabios newer/upcoming 
releases, or is there a way to configure for 4k sectors?

reference from master
src/hw/virtio-blk.c lin 142

       if (vdrive->drive.blksize != DISK_SECTOR_SIZE) {
            dprintf(1, "virtio-blk %pP block size %d is unsupported\n",
                    pci, vdrive->drive.blksize);
            goto fail;
        }

Thanks,
Jim

_______________________________________________
SeaBIOS mailing list
[email protected]
https://www.coreboot.org/mailman/listinfo/seabios

_______________________________________________
SeaBIOS mailing list
[email protected]
https://www.coreboot.org/mailman/listinfo/seabios

Reply via email to