Hello community,

here is the log from the commit of package vm-install for openSUSE:11.3
checked in at Tue May 10 11:09:19 CEST 2011.



--------
--- old-versions/11.3/UPDATES/all/vm-install/vm-install.changes 2011-03-08 
22:21:29.000000000 +0100
+++ 11.3/vm-install/vm-install.changes  2011-04-29 23:20:14.000000000 +0200
@@ -1,0 +2,24 @@
+Thu Apr 28 11:03:50 MDT 2011 - [email protected]
+
+- 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 - [email protected]
+
+- 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 - [email protected]
+
+- Fix keymap initialization.  Looks in wrong directory for kvm.
+
+-------------------------------------------------------------------
+Thu Mar 17 13:48:13 MDT 2011 - [email protected]
+
+- bnc#678152 - Xen: virt-manager: harmless block device admin 
+  actions on FV guests mess up network (VIF) device 
+  type ==> network lost.
+
+-------------------------------------------------------------------

calling whatdependson for 11.3-i586


Old:
----
  vm-install-0.4.29.tar.bz2

New:
----
  vm-install-0.4.30.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vm-install.spec ++++++
--- /var/tmp/diff_new_pack.dU0tPg/_old  2011-05-10 11:09:01.000000000 +0200
+++ /var/tmp/diff_new_pack.dU0tPg/_new  2011-05-10 11:09:01.000000000 +0200
@@ -26,10 +26,10 @@
 License:        GPLv2+
 Group:          System/Emulators/PC
 AutoReqProv:    yes
-Version:        0.4.29
+Version:        0.4.30
 Release:        0.<RELEASE2>
 Summary:        Tool to Define a Virtual Machine and Install Its Operating 
System
-Source0:        %{name}-0.4.29.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.29.tar.bz2 -> vm-install-0.4.30.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vm-install-0.4.29/Makefile 
new/vm-install-0.4.30/Makefile
--- old/vm-install-0.4.29/Makefile      2011-03-08 22:10:00.000000000 +0100
+++ new/vm-install-0.4.30/Makefile      2011-04-25 17:49:24.000000000 +0200
@@ -1,5 +1,5 @@
 PACKAGE = vm-install
-VER = 0.4.29
+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.29/glade/vm-install.glade 
new/vm-install-0.4.30/glade/vm-install.glade
--- old/vm-install-0.4.29/glade/vm-install.glade        2010-08-02 
18:49:54.000000000 +0200
+++ new/vm-install-0.4.30/glade/vm-install.glade        2011-04-29 
21:37:03.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.29/setup.py 
new/vm-install-0.4.30/setup.py
--- old/vm-install-0.4.29/setup.py      2011-03-08 22:09:55.000000000 +0100
+++ new/vm-install-0.4.30/setup.py      2011-04-25 17:49:17.000000000 +0200
@@ -1,7 +1,7 @@
 from distutils.core import setup
 
 setup(name='vminstall',
-      version='0.4.29',
+      version='0.4.30',
       description='Define a virtual machine and install its operating system',
       author='Charles Coffing',
       author_email='[email protected]',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vm-install-0.4.29/src/vminstall/VMDefaults.py 
new/vm-install-0.4.30/src/vminstall/VMDefaults.py
--- old/vm-install-0.4.29/src/vminstall/VMDefaults.py   2011-03-04 
16:39:15.000000000 +0100
+++ new/vm-install-0.4.30/src/vminstall/VMDefaults.py   2011-04-25 
17:37:23.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.29/src/vminstall/keytable.py 
new/vm-install-0.4.30/src/vminstall/keytable.py
--- old/vm-install-0.4.29/src/vminstall/keytable.py     2010-07-21 
22:48:02.000000000 +0200
+++ new/vm-install-0.4.30/src/vminstall/keytable.py     2011-04-04 
19:28:30.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.29/src/vminstall/xen_guest.py 
new/vm-install-0.4.30/src/vminstall/xen_guest.py
--- old/vm-install-0.4.29/src/vminstall/xen_guest.py    2011-03-04 
16:39:15.000000000 +0100
+++ new/vm-install-0.4.30/src/vminstall/xen_guest.py    2011-04-28 
19:06:46.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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to