f42ba1daac
533d708d-fix-showing-vcpus-values.patch 533d7602-fix-changing-graphics-type.patch 533d7be7-clarify-iscsi-IQN-fields.patch - Dropped virtman-init-vm-processor-topology.patch in favor of upstream 533d708d-fix-showing-vcpus-values.patch - bnc#869024 - Build0198: Only option to create a virtual machine is "import existing disk image" virtman-add-s390x-arch-support.patch - bnc#871642 - virt-manager wants to install libvirt-daemon-xen even when it is installed xen.spec - Xen: Virt-install won't reboot VM after install of SLE HVM guest because of libxl exception. virtinst-keep-cdrom-media-attached.patch - Fate#315125: add NOCOW flag virtinst-vol-default-nocow.patch - Upstream bug fixes 53375bad-raise-value-error-when-no-ipaddr-set.patch 53388de2-show-port-number-for-active-autoport-VM.patch 53397ae0-check-ip-address-format.patch 53399b45-hook-into-domain-balloon-event.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=162
49 lines
2.0 KiB
Diff
49 lines
2.0 KiB
Diff
Index: virt-manager-1.0.1/virtManager/create.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtManager/create.py
|
|
+++ virt-manager-1.0.1/virtManager/create.py
|
|
@@ -415,7 +415,7 @@ class vmmCreate(vmmGObjectUI):
|
|
can_remote_url = self.conn.get_backend().support_remote_url_install()
|
|
|
|
installable_arch = (self.capsguest.arch in
|
|
- ["i686", "x86_64", "ppc64", "ia64"])
|
|
+ ["i686", "x86_64", "ppc64", "ia64", "s390x"])
|
|
|
|
# Install Options
|
|
method_tree = self.widget("method-tree")
|
|
@@ -677,7 +677,7 @@ class vmmCreate(vmmGObjectUI):
|
|
archs.remove("i686")
|
|
archs.sort()
|
|
|
|
- prios = ["x86_64", "i686", "armv7l", "ppc64"]
|
|
+ prios = ["x86_64", "i686", "armv7l", "ppc64", "s390x"]
|
|
if self.conn.caps.host.cpu.arch not in prios:
|
|
prios = []
|
|
else:
|
|
Index: virt-manager-1.0.1/virtinst/osxml.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtinst/osxml.py
|
|
+++ virt-manager-1.0.1/virtinst/osxml.py
|
|
@@ -53,6 +53,8 @@ class OSXML(XMLBuilder):
|
|
return self.arch == "ppc64"
|
|
def is_pseries(self):
|
|
return self.is_ppc64 and self.machine == "pseries"
|
|
+ def is_s390x(self):
|
|
+ return self.arch == "s390x"
|
|
|
|
_XML_ROOT_NAME = "os"
|
|
_XML_PROP_ORDER = ["arch", "os_type", "loader",
|
|
Index: virt-manager-1.0.1/virtinst/guest.py
|
|
===================================================================
|
|
--- virt-manager-1.0.1.orig/virtinst/guest.py
|
|
+++ virt-manager-1.0.1/virtinst/guest.py
|
|
@@ -598,7 +598,7 @@ class Guest(XMLBuilder):
|
|
return
|
|
if self.os.is_container():
|
|
return
|
|
- if self.os.arch not in ["x86_64", "i686", "ppc64", "ia64"]:
|
|
+ if self.os.arch not in ["x86_64", "i686", "ppc64", "ia64", "s390x"]:
|
|
return
|
|
self.add_device(virtinst.VirtualGraphics(self.conn))
|
|
|