Add more major device numbers for virtio.

BUG: 378607
This commit is contained in:
Andrius Štikonas 2017-06-20 15:50:45 +01:00
parent 6b31dd0e85
commit fda1e219de
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ QList<Device*> LibPartedBackend::scanDevices(bool excludeReadOnly)
"8,65,66,67,68,69,70,71," // SCSI disk devices
"80,81,82,83,84,85,86,87," // I2O hard disk
"179," // MMC block devices
"253," // Virtio KVM devices (e.g. /dev/vda)
"240,241,242,243,244,245,246,247,248,249,250,251,252,253,254," // Virtio KVM devices (e.g. /dev/vda)
"259" // Block Extended Major (include NVMe)
);
ExternalCommand cmd(QStringLiteral("lsblk"), {