Author: charlesa Date: Tue Nov 1 20:09:23 2011 New Revision: 66657 URL: http://svn.opensuse.org/viewcvs/yast?rev=66657&view=rev Log: bnc#727523 - yast2 xen should be modified for 32bit Modified: branches/SuSE-Code-11-SP2-Branch/vm/VERSION branches/SuSE-Code-11-SP2-Branch/vm/package/yast2-vm.changes branches/SuSE-Code-11-SP2-Branch/vm/src/VM_XEN.ycp branches/SuSE-Code-11-SP2-Branch/vm/src/xen.ycp Modified: branches/SuSE-Code-11-SP2-Branch/vm/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/vm/VERSION?rev=66657&r1=66656&r2=66657&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/vm/VERSION (original) +++ branches/SuSE-Code-11-SP2-Branch/vm/VERSION Tue Nov 1 20:09:23 2011 @@ -1 +1 @@ -2.17.7 +2.17.8 Modified: branches/SuSE-Code-11-SP2-Branch/vm/package/yast2-vm.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/vm/package/yast2-vm.changes?rev=66657&r1=66656&r2=66657&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/vm/package/yast2-vm.changes (original) +++ branches/SuSE-Code-11-SP2-Branch/vm/package/yast2-vm.changes Tue Nov 1 20:09:23 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Nov 1 12:04:05 MDT 2011 - carnold@novell.com + +- bnc#727523 - yast2 xen should be modified for 32bit +- 2.17.8 + +------------------------------------------------------------------- Tue Oct 25 10:02:24 UTC 2011 - lslezak@suse.cz - fixed translation of button labels (bnc#723657) Modified: branches/SuSE-Code-11-SP2-Branch/vm/src/VM_XEN.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/vm/src/VM_XEN.ycp?rev=66657&r1=66656&r2=66657&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/vm/src/VM_XEN.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/vm/src/VM_XEN.ycp Tue Nov 1 20:09:23 2011 @@ -109,6 +109,19 @@ } + global boolean isX86_64() { + boolean ret = true; + + if (Arch::x86_64 () == false) { + string arch = Arch::architecture(); + Report::Error(_("x86_64 is the only supported architecture for hosting virtual machines. Your architecture is ") + arch); + ret = false; + } + + y2milestone("VM_XEN::isX86_64 returned: %1", ret); + return ret; + } + global boolean isUML() { boolean ret = false; Modified: branches/SuSE-Code-11-SP2-Branch/vm/src/xen.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-SP2-Branch/vm/src/xen.ycp?rev=66657&r1=66656&r2=66657&view=diff ============================================================================== --- branches/SuSE-Code-11-SP2-Branch/vm/src/xen.ycp (original) +++ branches/SuSE-Code-11-SP2-Branch/vm/src/xen.ycp Tue Nov 1 20:09:23 2011 @@ -57,6 +57,9 @@ // check whether VM can be started (cannot start a vm using UML) if ( VM_XEN::isUML() ) return false; + // we now only support 64 bit hosts + if ( VM_XEN::isX86_64() == false ) return false; + y2milestone("Checking for Xen installation"); // check the dom0 configuration... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org