Subject: virt-install: Don't lowercase --cpu model name From: Cole Robinson crobinso@redhat.com Mon Aug 29 11:53:05 2011 -0400 Date: Mon Aug 29 11:53:05 2011 -0400: Git: 36c0e33c0ec1b725726679f6c904374578e25eba Index: virtinst-0.600.0/tests/cli-test-xml/compare/qemu-plain.xml =================================================================== --- virtinst-0.600.0.orig/tests/cli-test-xml/compare/qemu-plain.xml +++ virtinst-0.600.0/tests/cli-test-xml/compare/qemu-plain.xml @@ -11,6 +11,9 @@ + + Penryn + destroy restart Index: virtinst-0.600.0/tests/clitest.py =================================================================== --- virtinst-0.600.0.orig/tests/clitest.py +++ virtinst-0.600.0/tests/clitest.py @@ -678,7 +678,8 @@ args_dict = { # xenner ("--os-variant fedora14 --nodisks --boot hd --paravirt", "kvm-xenner"), # plain qemu - ("--os-variant fedora14 --nodisks --boot cdrom --virt-type qemu", + ("--os-variant fedora14 --nodisks --boot cdrom --virt-type qemu " + "--cpu Penryn", "qemu-plain"), # 32 on 64 ("--os-variant fedora14 --nodisks --boot network --nographics --arch i686", Index: virtinst-0.600.0/virtinst/cli.py =================================================================== --- virtinst-0.600.0.orig/virtinst/cli.py +++ virtinst-0.600.0/virtinst/cli.py @@ -1149,7 +1149,7 @@ def parse_optstr_tuples(optstr, compress opt_type, opt_val = opt.split("=", 1) optlist.append((opt_type.lower(), opt_val)) else: - optlist.append((opt.lower(), None)) + optlist.append((opt, None)) return optlist