- bsc#1167569 - SLES 15 SP2 RC1 - virt-install: cache=none is
ignored (kvm) virtinst-set-cache-mode-unsafe-for-install.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=501
This commit is contained in:
parent
6d564cadcc
commit
c687b1fb64
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 24 14:00:39 MDT 2020 - carnold@suse.com
|
||||
|
||||
- bsc#1167569 - SLES 15 SP2 RC1 - virt-install: cache=none is
|
||||
ignored (kvm)
|
||||
virtinst-set-cache-mode-unsafe-for-install.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 20 15:03:40 MDT 2020 - carnold@suse.com
|
||||
|
||||
|
@ -14,7 +14,7 @@ Index: virt-manager-2.2.1/virtinst/install/installer.py
|
||||
+ if guest.devices.disk:
|
||||
+ target_disk = guest.devices.disk[0]
|
||||
+ saved_cache = target_disk.driver_cache
|
||||
+ if target_disk.type != DeviceDisk.TYPE_BLOCK:
|
||||
+ if target_disk.type != DeviceDisk.TYPE_BLOCK and target_disk.driver_io != "native":
|
||||
+ target_disk.driver_cache = DeviceDisk.CACHE_MODE_UNSAFE
|
||||
+
|
||||
data = self._prepare_get_install_xml(guest)
|
||||
|
Loading…
Reference in New Issue
Block a user