From fda1e219de430d1301839e277666690e108b12c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Tue, 20 Jun 2017 15:50:45 +0100 Subject: [PATCH] Add more major device numbers for virtio. BUG: 378607 --- src/plugins/libparted/libpartedbackend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/libparted/libpartedbackend.cpp b/src/plugins/libparted/libpartedbackend.cpp index c7a7205..48528aa 100644 --- a/src/plugins/libparted/libpartedbackend.cpp +++ b/src/plugins/libparted/libpartedbackend.cpp @@ -419,7 +419,7 @@ QList 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"), {