From 55e85b16121e73475a8eb1652be7e43a42d2dd9d Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Wed, 12 Feb 2014 10:39:32 +0100 Subject: [PATCH] Unify prettification of VirtIO serial Use the same case for occurrences of 'VirtIO' which start with uppercase V. Signed-off-by: Martin Kletzander --- virtManager/addhardware.py | 4 ++-- virtManager/details.py | 4 ++-- virtinst/devicecontroller.py | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/virtManager/addhardware.py b/virtManager/addhardware.py index 3293171b..121c75b8 100644 --- a/virtManager/addhardware.py +++ b/virtManager/addhardware.py @@ -756,8 +756,8 @@ class vmmAddHardware(vmmGObjectUI): if self.vm.get_hv_type() in ["qemu", "kvm", "test"]: model.append(["sata", "SATA"]) model.append(["sd", "SD"]) - model.append(["virtio", "Virtio"]) - model.append(["virtio-scsi", "Virtio SCSI"]) + model.append(["virtio", "VirtIO"]) + model.append(["virtio-scsi", "VirtIO SCSI"]) if self.conn.is_xen() or self.conn.is_test_conn(): model.append(["xen", "Xen"]) diff --git a/virtManager/details.py b/virtManager/details.py index d8b0d1ed..72e79da5 100644 --- a/virtManager/details.py +++ b/virtManager/details.py @@ -3024,7 +3024,7 @@ class vmmDetails(vmmGObjectUI): self.widget("config-remove").set_sensitive(False) if dev.type == virtinst.VirtualController.TYPE_SCSI: model.append(["default", "Default"]) - model.append(["virtio-scsi", "Virtio SCSI"]) + model.append(["virtio-scsi", "VirtIO SCSI"]) else: self.widget("config-remove").set_sensitive(True) @@ -3130,7 +3130,7 @@ class vmmDetails(vmmGObjectUI): buses.append(["usb", "USB"]) if self.vm.get_hv_type() in ["kvm", "test"]: buses.append(["sata", "SATA"]) - buses.append(["virtio", "Virtio"]) + buses.append(["virtio", "VirtIO"]) if (self.vm.get_hv_type() == "kvm" and self.vm.get_machtype() == "pseries"): buses.append(["spapr-vscsi", "sPAPR-vSCSI"]) diff --git a/virtinst/devicecontroller.py b/virtinst/devicecontroller.py index 9da44bf5..03857cff 100644 --- a/virtinst/devicecontroller.py +++ b/virtinst/devicecontroller.py @@ -1,5 +1,5 @@ # -# Copyright 2010, 2013 Red Hat, Inc. +# Copyright 2010, 2013, 2014 Red Hat, Inc. # Cole Robinson # # This program is free software; you can redistribute it and/or modify @@ -44,7 +44,7 @@ class VirtualController(VirtualDevice): VirtualController.TYPE_FDC : "Floppy", VirtualController.TYPE_SCSI : "SCSI", VirtualController.TYPE_SATA : "SATA", - VirtualController.TYPE_VIRTIOSERIAL : "Virtio Serial", + VirtualController.TYPE_VIRTIOSERIAL : "VirtIO Serial", VirtualController.TYPE_USB : "USB", VirtualController.TYPE_PCI : "PCI", VirtualController.TYPE_CCID : "CCID",