From 79fe886ac816e07e7a80cd4c9a454396562aa63b Mon Sep 17 00:00:00 2001 From: Cole Robinson Date: Sat, 25 Jan 2020 13:09:37 -0500 Subject: virtManager: Remove disk format/driver_type UI This was proposed here: https://www.redhat.com/archives/virt-tools-list/2019-June/msg00117.html """ * disk: storage format: this was from before the days when we storage-ified everything and we could get the disk format wrong, telling qemu it has a raw image when it's qcow2. shouldn't be needed anymore for normal virt usage """ Signed-off-by: Cole Robinson --- virtManager/object/domain.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'virtManager/object/domain.py') diff --git a/virtManager/object/domain.py b/virtManager/object/domain.py index 6375dfe8..0e090aa0 100644 --- a/virtManager/object/domain.py +++ b/virtManager/object/domain.py @@ -658,7 +658,7 @@ class vmmDomain(vmmLibvirtObject): path=_SENTINEL, readonly=_SENTINEL, shareable=_SENTINEL, removable=_SENTINEL, cache=_SENTINEL, io=_SENTINEL, discard=_SENTINEL, detect_zeroes=_SENTINEL, - driver_type=_SENTINEL, bus=_SENTINEL, addrstr=_SENTINEL, + bus=_SENTINEL, addrstr=_SENTINEL, sgio=_SENTINEL, managed_pr=_SENTINEL): xmlobj = self._make_xmlobj_to_define() editdev = self._lookup_device_to_define(xmlobj, devobj, do_hotplug) @@ -711,8 +711,6 @@ class vmmDomain(vmmLibvirtObject): editdev.driver_discard = discard or None if detect_zeroes != _SENTINEL: editdev.driver_detect_zeroes = detect_zeroes or None - if driver_type != _SENTINEL: - editdev.driver_type = driver_type or None if sgio != _SENTINEL: editdev.sgio = sgio or None -- cgit v1.2.1