connection: Remove some outdated pretty hv labels

And also the embedded label, our default behavior covers
this well enough for what is likely to be an obscure case

Signed-off-by: Cole Robinson <crobinso@redhat.com>
This commit is contained in:
Cole Robinson 2020-08-29 11:53:19 -04:00
parent 87eb36dda1
commit c8ed6534e5

View File

@ -377,18 +377,12 @@ class vmmConnection(vmmGObject):
pretty_map = {
"esx": "ESX",
"gsx": "GSX",
"libxl": "libxl",
"lxc": "LXC",
"openvz": "OpenVZ",
"phyp": "phyp",
"qemu": "QEMU/KVM",
"test": "test",
"uml": "UML",
"vbox": "VBox",
"vbox": "Virtualbox",
"vmware": "VMWare",
"xen": "Xen",
"xenapi": "XenAPI",
}
hv = pretty_map.get(self.get_driver(), self.get_driver())
@ -399,8 +393,6 @@ class vmmConnection(vmmGObject):
if path == "/session":
ret += " " + _("User session")
elif path == "/embed":
ret += " " + _("Embedded session")
elif (path and path != "/system" and os.path.basename(path)):
# Used by test URIs to report what XML file they are using
ret += " %s" % os.path.basename(path)