diff options
author | Cole Robinson <crobinso@redhat.com> | 2020-01-25 13:09:37 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2020-01-25 14:30:07 -0500 |
commit | 79fe886ac816e07e7a80cd4c9a454396562aa63b (patch) | |
tree | a2306176e0e86c9461a3682dea2a4e64e2acc894 /virtManager/object/domain.py | |
parent | 106686758346c7f7f0f25ce2a29e36fa6dff0547 (diff) | |
download | virt-manager-79fe886ac816e07e7a80cd4c9a454396562aa63b.tar.gz |
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 <crobinso@redhat.com>
Diffstat (limited to 'virtManager/object/domain.py')
-rw-r--r-- | virtManager/object/domain.py | 4 |
1 files changed, 1 insertions, 3 deletions
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 |