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