]> git.baikalelectronics.ru Git - kernel.git/commit
virtio-blk: Allow extended partitions
authorFam Zheng <famz@redhat.com>
Sun, 6 Sep 2015 09:05:42 +0000 (17:05 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 8 Sep 2015 10:31:07 +0000 (13:31 +0300)
commitcab407341500cd1b2a46a94d5799c1e254019f3f
treee86e2ca9704e72e2b56abdb08d0c784f67db1489
parent6d13b6de9e43dffb57b9866e98ff8db1f9923fe2
virtio-blk: Allow extended partitions

This will allow up to DISK_MAX_PARTS (256) partitions, with for example
GPT in the guest. Otherwise, the partition scan code will only discover
the first 15 partitions.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/block/virtio_blk.c