From b1d2f73a28edeaf3809df6f3028998f1f087bb5e Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Wed, 20 Nov 2024 13:41:49 +0100 Subject: [PATCH] Revert "pyanaconda: storage: workaround for Virtio Block Device being displayed as 0x1af4" This reverts commit 4785219049066c7734d2a48815f857fd3f974938. Can be reverted once https://github.com/storaged-project/blivet/pull/1313/commits/874f8f50ab870e0c0b1cd4d53839015a232c9332 reaches Rawhide. --- pyanaconda/modules/storage/devicetree/viewer.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pyanaconda/modules/storage/devicetree/viewer.py b/pyanaconda/modules/storage/devicetree/viewer.py index f1ca031c64a..07d22e4618f 100644 --- a/pyanaconda/modules/storage/devicetree/viewer.py +++ b/pyanaconda/modules/storage/devicetree/viewer.py @@ -133,11 +133,6 @@ def _set_device_data(self, device, data): # FIXME: We should generate the description from the device data. data.description = getattr(device, "description", "") - # Workaround for Virtio Block Device being displayed as 0x1af4 - # https://github.com/storaged-project/blivet/pull/174 - if data.description == "0x1af4": - data.description = _("Virtio Block Device") - data.attrs["serial"] = self._get_attribute(device, "serial") data.attrs["vendor"] = self._get_attribute(device, "vendor") data.attrs["model"] = self._get_attribute(device, "model")