6505c36ecc
virtman-netstats-fix.diff virtman-finish-button-fix.diff virtman-shutoff-fix.diff virtman-set-has-window-fix.diff virtman-grep-fix.diff virtman-no-cd-present-fix.diff virtman-resize-menu-fix.diff virtman-vcpu-count-fix.diff virtman-storage-pool-fix.diff virtman-domain-name-fix.diff virtman-unapplied-changes-fix.diff virtman-details-fix.diff virtman-delete-fix.diff virtman-collidelist-fix.diff virtman-char-device-mode-fix.diff virtinst-hv-version-fix.diff virtinst-initrd-inject-fix.diff virtinst-initrd-inject2-fix.diff virtinst-no-volume-fix.diff virtinst-prompts-fix.diff virtinst-cpu-model-name-fix.diff virtinst-xml-clear-fix.diff virtinst-remote-storage-fix.diff virtinst-error-message-fix.diff virtinst-typo-fix.diff virtinst-cdrom.diff virtinst-storage-ocfs2.diff OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=63
49 lines
1.8 KiB
Diff
49 lines
1.8 KiB
Diff
|
|
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 @@
|
|
<features>
|
|
<acpi/><apic/><pae/>
|
|
</features>
|
|
+ <cpu match='exact'>
|
|
+ <model>Penryn</model>
|
|
+ </cpu>
|
|
<clock offset="utc"/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
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
|
|
|