[PATCH v1] virtinst: set preserve when on_crash in s390x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When booting from empty disk image or none bootdev, its leads
system IPL enter into infinite loop with message on s390x.
This patch sets preserve when on_crash to avoid the loop.

Signed-off-by: Leno Hou <lenohou@xxxxxxxxx>
---
 virtinst/guest.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/virtinst/guest.py b/virtinst/guest.py
index ab6dcba..67b1180 100644
--- a/virtinst/guest.py
+++ b/virtinst/guest.py
@@ -358,6 +358,8 @@ class Guest(XMLBuilder):
         if install:
             self.on_reboot = "destroy"
             self.on_crash = "destroy"
+	elif self.os.is_s390x():
+            self.on_crash = "preserve"
 
         self._set_osxml_defaults()
 
-- 
1.9.1

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux