From 876a3932fd58bdc607f74bbb227a7a5ad813769f Mon Sep 17 00:00:00 2001 From: Teo Mrnjavac Date: Fri, 17 Feb 2017 11:54:18 +0100 Subject: [PATCH] Do not filter out KVM virtual disks in LibPartedBackend::scanDevices. --- src/plugins/libparted/libpartedbackend.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/libparted/libpartedbackend.cpp b/src/plugins/libparted/libpartedbackend.cpp index 2a490c4..c5f912c 100644 --- a/src/plugins/libparted/libpartedbackend.cpp +++ b/src/plugins/libparted/libpartedbackend.cpp @@ -419,6 +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) "259" // Block Extended Major (include NVMe) ); ExternalCommand cmd(QStringLiteral("lsblk"), {