- bsc#1180897 - SLES15 SP2: VM does not boot after virt-install
installing from ISO image. virtinst-keep-iso-for-xenpv.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=539
This commit is contained in:
parent
599036ed43
commit
47f719b76e
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 25 14:32:10 MST 2021 - carnold@suse.com
|
||||||
|
|
||||||
|
- bsc#1180897 - SLES15 SP2: VM does not boot after virt-install
|
||||||
|
installing from ISO image.
|
||||||
|
virtinst-keep-iso-for-xenpv.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 25 11:32:34 MST 2021 - carnold@suse.com
|
Mon Jan 25 11:32:34 MST 2021 - carnold@suse.com
|
||||||
|
|
||||||
|
@ -77,6 +77,7 @@ Patch176: virtinst-dont-use-special-copy-cpu-features.patch
|
|||||||
Patch177: virtinst-set-default-nic.patch
|
Patch177: virtinst-set-default-nic.patch
|
||||||
Patch178: virtinst-sap-detection.patch
|
Patch178: virtinst-sap-detection.patch
|
||||||
Patch179: virtinst-smbios-unsupported-for-xenpv.patch
|
Patch179: virtinst-smbios-unsupported-for-xenpv.patch
|
||||||
|
Patch180: virtinst-keep-iso-for-xenpv.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -207,6 +208,7 @@ machine).
|
|||||||
%patch177 -p1
|
%patch177 -p1
|
||||||
%patch178 -p1
|
%patch178 -p1
|
||||||
%patch179 -p1
|
%patch179 -p1
|
||||||
|
%patch180 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if %{default_hvs}
|
%if %{default_hvs}
|
||||||
|
16
virtinst-keep-iso-for-xenpv.patch
Normal file
16
virtinst-keep-iso-for-xenpv.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
Index: virt-manager-3.2.0/virtinst/install/installer.py
|
||||||
|
===================================================================
|
||||||
|
--- virt-manager-3.2.0.orig/virtinst/install/installer.py
|
||||||
|
+++ virt-manager-3.2.0/virtinst/install/installer.py
|
||||||
|
@@ -174,8 +174,9 @@ class Installer(object):
|
||||||
|
for disk in guest.devices.disk:
|
||||||
|
if (disk.is_cdrom() and
|
||||||
|
disk.get_source_path() == self._cdrom_path()):
|
||||||
|
- disk.set_source_path(None)
|
||||||
|
- disk.sync_path_props()
|
||||||
|
+ if not guest.os.is_xenpv():
|
||||||
|
+ disk.set_source_path(None)
|
||||||
|
+ disk.sync_path_props()
|
||||||
|
break
|
||||||
|
|
||||||
|
def _add_unattended_install_cdrom_device(self, guest, location):
|
Loading…
Reference in New Issue
Block a user