Hello community, here is the log from the commit of package vm-install for openSUSE:11.4 checked in at Tue May 10 17:23:00 CEST 2011. -------- --- old-versions/11.4/all/vm-install/vm-install.changes 2011-02-14 22:46:35.000000000 +0100 +++ 11.4/vm-install/vm-install.changes 2011-04-29 22:59:09.000000000 +0200 @@ -1,0 +2,30 @@ +Thu Apr 28 11:03:50 MDT 2011 - carnold@novell.com + +- When PXE boot is selected as the installation source, make sure + an emulated nic is defined during the install of HVM guests. + +------------------------------------------------------------------- +Mon Apr 25 08:46:02 MDT 2011 - carnold@novell.com + +- bnc#688757 - SLED10SP4 fully virtualized in SLES10SP4 XEN - + kernel panic (also fails as a guest on sles11sp1) + +------------------------------------------------------------------- +Mon Apr 4 11:24:45 MDT 2011 - carnold@novell.com + +- Fix keymap initialization. Looks in wrong directory for kvm. + +------------------------------------------------------------------- +Thu Mar 17 13:48:13 MDT 2011 - carnold@novell.com + +- bnc#678152 - Xen: virt-manager: harmless block device admin + actions on FV guests mess up network (VIF) device + type ==> network lost. + +------------------------------------------------------------------- +Fri Mar 4 08:40:51 MST 2011 - carnold@novell.com + +- bnc#631680 - OpenSUSE 11.3 KVM install of windows xp fails on + first reboot during installation. + +------------------------------------------------------------------- Package does not exist at destination yet. Using Fallback old-versions/11.4/all/vm-install Destination is old-versions/11.4/UPDATES/all/vm-install calling whatdependson for 11.4-i586 Old: ---- vm-install-0.4.28.tar.bz2 New: ---- vm-install-0.4.30.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vm-install.spec ++++++ --- /var/tmp/diff_new_pack.HIJfwW/_old 2011-05-10 17:22:37.000000000 +0200 +++ /var/tmp/diff_new_pack.HIJfwW/_new 2011-05-10 17:22:37.000000000 +0200 @@ -26,10 +26,10 @@ License: GPLv2+ Group: System/Emulators/PC AutoReqProv: yes -Version: 0.4.28 -Release: 4 +Version: 0.4.30 +Release: 0.<RELEASE2> Summary: Tool to Define a Virtual Machine and Install Its Operating System -Source0: %{name}-0.4.28.tar.bz2 +Source0: %{name}-0.4.30.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: %ix86 x86_64 Requires: libvirt python-urlgrabber libxml2-python libvirt-python virt-utils udhcp tftp ++++++ vm-install-0.4.28.tar.bz2 -> vm-install-0.4.30.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vm-install-0.4.28/Makefile new/vm-install-0.4.30/Makefile --- old/vm-install-0.4.28/Makefile 2011-02-10 00:13:29.000000000 +0100 +++ new/vm-install-0.4.30/Makefile 2011-04-25 17:52:32.000000000 +0200 @@ -1,5 +1,5 @@ PACKAGE = vm-install -VER = 0.4.28 +VER = 0.4.30 default: @echo "Run 'make install DESTDIR=$destdir' to install." diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vm-install-0.4.28/glade/vm-install.glade new/vm-install-0.4.30/glade/vm-install.glade --- old/vm-install-0.4.28/glade/vm-install.glade 2011-02-10 00:13:28.000000000 +0100 +++ new/vm-install-0.4.30/glade/vm-install.glade 2011-04-29 21:37:54.000000000 +0200 @@ -1823,6 +1823,7 @@ <widget class="GtkEntry" id="create-vm-name"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="has_focus">True</property> <property name="editable">True</property> <property name="visibility">True</property> <property name="max_length">50</property> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vm-install-0.4.28/setup.py new/vm-install-0.4.30/setup.py --- old/vm-install-0.4.28/setup.py 2011-02-10 00:13:29.000000000 +0100 +++ new/vm-install-0.4.30/setup.py 2011-04-25 17:52:25.000000000 +0200 @@ -1,7 +1,7 @@ from distutils.core import setup setup(name='vminstall', - version='0.4.28', + version='0.4.30', description='Define a virtual machine and install its operating system', author='Charles Coffing', author_email='ccoffing@novell.com', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vm-install-0.4.28/src/vmdisks/disks.py new/vm-install-0.4.30/src/vmdisks/disks.py --- old/vm-install-0.4.28/src/vmdisks/disks.py 2011-02-10 00:13:27.000000000 +0100 +++ new/vm-install-0.4.30/src/vmdisks/disks.py 2011-03-04 16:45:19.000000000 +0100 @@ -83,7 +83,10 @@ sparse = 1 log.debug("Creating raw file '%s', %d bytes (sparse=%d)." % (filename, bytes, sparse)) fd = os.open(filename, os.O_WRONLY | os.O_CREAT | os.O_TRUNC) - os.chmod(filename, 0600) + if os.geteuid() == 0: + os.chmod(filename, 0600) + else: + os.chmod(filename, 0644) if sparse: offset = bytes - 1 os.lseek(fd, offset, 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vm-install-0.4.28/src/vminstall/VMDefaults.py new/vm-install-0.4.30/src/vminstall/VMDefaults.py --- old/vm-install-0.4.28/src/vminstall/VMDefaults.py 2011-02-10 00:13:28.000000000 +0100 +++ new/vm-install-0.4.30/src/vminstall/VMDefaults.py 2011-04-25 17:51:24.000000000 +0200 @@ -226,7 +226,7 @@ if caps.is_kvm() or caps.is_qemu(): return [ KvmNic(model='virtio') ] else: - return [ XenNic() ] + return [ XenNic(model='para') ] class SLED10Defaults(SUSEDefaults): def name(self): @@ -235,8 +235,18 @@ return 256 def default_memory(self): return 512 + def _disk_size(self): + return 8 def is_upgradeable(self): return True + def apic(self): + # Turned on even for uni-processor + return True + def nics(self): + if caps.is_kvm() or caps.is_qemu(): + return [ KvmNic() ] + else: + return [ XenNic(model='para') ] class SLED11Defaults(SUSEDefaults): def name(self): @@ -249,6 +259,9 @@ return 16 def supports_32nonpae(self): return False + def apic(self): + # Turned on even for uni-processor + return True def virtio(self): if caps.is_kvm() or caps.is_qemu(): return True @@ -258,7 +271,7 @@ if caps.is_kvm() or caps.is_qemu(): return [ KvmNic(model='virtio') ] else: - return [ XenNic() ] + return [ XenNic(model='para') ] class SLES8Defaults(SUSEDefaults): def name(self): @@ -293,6 +306,11 @@ return True def is_upgradeable(self): return True + def nics(self): + if caps.is_kvm() or caps.is_qemu(): + return [ KvmNic() ] + else: + return [ XenNic(model='para') ] class SLES11Defaults(SUSEDefaults): def name(self): @@ -316,7 +334,7 @@ if caps.is_kvm() or caps.is_qemu(): return [ KvmNic(model='virtio') ] else: - return [ XenNic() ] + return [ XenNic(model='para') ] class NetWareDefaults(GenericDefaults): def group(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vm-install-0.4.28/src/vminstall/keytable.py new/vm-install-0.4.30/src/vminstall/keytable.py --- old/vm-install-0.4.28/src/vminstall/keytable.py 2011-02-10 00:13:28.000000000 +0100 +++ new/vm-install-0.4.30/src/vminstall/keytable.py 2011-04-04 19:30:11.000000000 +0200 @@ -95,6 +95,8 @@ def read_keymaps(): if caps.is_xen(): location = "/usr/share/xen/qemu/keymaps" + elif caps.is_kvm(): + location = "/usr/share/qemu-kvm/keymaps" else: location = "/usr/share/qemu/keymaps" names = os.listdir(location) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/vm-install-0.4.28/src/vminstall/xen_guest.py new/vm-install-0.4.30/src/vminstall/xen_guest.py --- old/vm-install-0.4.28/src/vminstall/xen_guest.py 2011-02-10 00:13:28.000000000 +0100 +++ new/vm-install-0.4.30/src/vminstall/xen_guest.py 2011-04-28 19:08:27.000000000 +0200 @@ -141,6 +141,13 @@ def _get_network_xen(self): """Get the network config in the xend python format""" + need_emulated_nic = False + if self.options.full_virt and self.options.pxe_boot: + # If PXE booting, must have emulated nic + need_emulated_nic = True + for nic in self.options.nics: + if nic.model != 'para': + need_emulated_nic = False ret = 'vif=[ ' for nic in self.options.nics: ret += "'" @@ -157,7 +164,10 @@ if self.options.full_virt: if nic.model == 'para': ret += commas[needComma] - ret += 'type=netfront' + if self.isInstall and need_emulated_nic: + ret += 'model=rtl8139' + else: + ret += 'type=netfront' needComma = 1 else: if nic.model: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org