Unify prettification of VirtIO serial

Use the same case for occurrences of 'VirtIO' which start with
uppercase V.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2014-02-12 10:39:32 +01:00
parent 4196f4287b
commit 55e85b1612
3 changed files with 6 additions and 6 deletions

View File

@ -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"])

View File

@ -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"])

View File

@ -1,5 +1,5 @@
#
# Copyright 2010, 2013 Red Hat, Inc.
# Copyright 2010, 2013, 2014 Red Hat, Inc.
# Cole Robinson <crobinso@redhat.com>
#
# 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",