- bsc#1116990 - [virt-install] internal error: libxenlight failed

to create new domain 'sles-11-sp4-64-pv-def-net'. Fix reversed
  logic when testing for i386.
  virtinst-use-xenpae-kernel-for-32bit.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=445
This commit is contained in:
Charles Arnold 2018-11-27 20:17:52 +00:00 committed by Git OBS Bridge
parent 21d4e7f959
commit 70c0e81adf
3 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Nov 27 13:13:15 MST 2018 - carnold@suse.com
- bsc#1116990 - [virt-install] internal error: libxenlight failed
to create new domain 'sles-11-sp4-64-pv-def-net'. Fix reversed
logic when testing for i386.
virtinst-use-xenpae-kernel-for-32bit.patch
-------------------------------------------------------------------
Tue Oct 30 16:06:51 MDT 2018 - carnold@suse.com

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

View File

@ -15,14 +15,14 @@ Index: virt-manager-2.0.0/virtinst/urldetect.py
- self._kernel_paths.append(
- ("boot/%s/vmlinuz-xen" % tree_arch,
- "boot/%s/initrd-xen" % tree_arch))
+ if self.arch == "i386":
+ self._kernel_paths.append(
+ ("boot/%s/vmlinuz-xen" % tree_arch,
+ "boot/%s/initrd-xen" % tree_arch))
+ else:
+ if tree_arch == "i386":
+ self._kernel_paths.append(
+ ("boot/%s/vmlinuz-xenpae" % tree_arch,
+ "boot/%s/initrd-xenpae" % tree_arch))
+ else:
+ self._kernel_paths.append(
+ ("boot/%s/vmlinuz-xen" % tree_arch,
+ "boot/%s/initrd-xen" % tree_arch))
if (tree_arch == "s390x" and
(self._os_variant == "sles11" or self._os_variant == "sled11")):