public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emulation/virtinst/files: virtinst-0.300.1-nfs-check.patch digest-virtinst-0.300.1 virtinst-0.300.1-remove-usb-tablet.patch
@ 2007-10-15 11:16 Donnie Berkholz (dberkholz)
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz (dberkholz) @ 2007-10-15 11:16 UTC (permalink / raw
  To: gentoo-commits

dberkholz    07/10/15 11:16:33

  Added:                virtinst-0.300.1-nfs-check.patch
                        digest-virtinst-0.300.1
                        virtinst-0.300.1-remove-usb-tablet.patch
  Log:
  Adds some new features like remote access and OpenVZ (although the latter may only be at the libvirt level so far).
  (Portage version: 2.1.3.13)

Revision  Changes    Path
1.1                  app-emulation/virtinst/files/virtinst-0.300.1-nfs-check.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtinst/files/virtinst-0.300.1-nfs-check.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtinst/files/virtinst-0.300.1-nfs-check.patch?rev=1.1&content-type=text/plain

Index: virtinst-0.300.1-nfs-check.patch
===================================================================
diff -r 531b73491ac2 virtinst/DistroManager.py
--- a/virtinst/DistroManager.py	Wed Oct 10 14:24:48 2007 -0400
+++ b/virtinst/DistroManager.py	Thu Oct 11 11:39:58 2007 -0400
@@ -161,7 +161,7 @@ class MountedImageFetcher(ImageFetcher):
             if tmpfile is not None:
                 os.unlink(tmpfile)
             return True
-        except RuntimeError, e:
+        except Exception, e:
             logging.debug("Cannot find file %s" % filename)
             return False
 



1.1                  app-emulation/virtinst/files/digest-virtinst-0.300.1

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtinst/files/digest-virtinst-0.300.1?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtinst/files/digest-virtinst-0.300.1?rev=1.1&content-type=text/plain

Index: digest-virtinst-0.300.1
===================================================================
MD5 0424cdd829fda57b7117782f367d4aec virtinst-0.300.1.tar.gz 96757
RMD160 7a334a18bea44db4c383e0b7420cb144381256a4 virtinst-0.300.1.tar.gz 96757
SHA256 58e812432685950e7179373a26219558f612ca459e461ee5874f84058dd97b40 virtinst-0.300.1.tar.gz 96757



1.1                  app-emulation/virtinst/files/virtinst-0.300.1-remove-usb-tablet.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtinst/files/virtinst-0.300.1-remove-usb-tablet.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtinst/files/virtinst-0.300.1-remove-usb-tablet.patch?rev=1.1&content-type=text/plain

Index: virtinst-0.300.1-remove-usb-tablet.patch
===================================================================
Only in virtinst-0.300.1.new: .coverage
diff -rup virtinst-0.300.1.orig/tests/boot-fullyvirt-disk-block.xml virtinst-0.300.1.new/tests/boot-fullyvirt-disk-block.xml
--- virtinst-0.300.1.orig/tests/boot-fullyvirt-disk-block.xml	2007-09-25 11:01:12.000000000 -0400
+++ virtinst-0.300.1.new/tests/boot-fullyvirt-disk-block.xml	2007-10-04 12:10:00.000000000 -0400
@@ -28,7 +28,7 @@
     </disk>
 
 
-    <input type='tablet' bus='usb'/>
+    <input type='mouse' bus='ps2'/>
     <graphics type='sdl'/>
   </devices>
 </domain>
diff -rup virtinst-0.300.1.orig/tests/boot-fullyvirt-disk-file.xml virtinst-0.300.1.new/tests/boot-fullyvirt-disk-file.xml
--- virtinst-0.300.1.orig/tests/boot-fullyvirt-disk-file.xml	2007-09-25 11:01:12.000000000 -0400
+++ virtinst-0.300.1.new/tests/boot-fullyvirt-disk-file.xml	2007-10-04 12:10:17.000000000 -0400
@@ -28,7 +28,7 @@
     </disk>
 
 
-    <input type='tablet' bus='usb'/>
+    <input type='mouse' bus='ps2'/>
     <graphics type='sdl'/>
   </devices>
 </domain>
diff -rup virtinst-0.300.1.orig/tests/install-fullyvirt-disk-block.xml virtinst-0.300.1.new/tests/install-fullyvirt-disk-block.xml
--- virtinst-0.300.1.orig/tests/install-fullyvirt-disk-block.xml	2007-09-25 11:01:12.000000000 -0400
+++ virtinst-0.300.1.new/tests/install-fullyvirt-disk-block.xml	2007-10-04 12:10:29.000000000 -0400
@@ -29,7 +29,7 @@
     </disk>
 
 
-    <input type='tablet' bus='usb'/>
+    <input type='mouse' bus='ps2'/>
     <graphics type='sdl'/>
   </devices>
 </domain>
diff -rup virtinst-0.300.1.orig/tests/install-fullyvirt-disk-file.xml virtinst-0.300.1.new/tests/install-fullyvirt-disk-file.xml
--- virtinst-0.300.1.orig/tests/install-fullyvirt-disk-file.xml	2007-09-25 11:01:12.000000000 -0400
+++ virtinst-0.300.1.new/tests/install-fullyvirt-disk-file.xml	2007-10-04 12:10:37.000000000 -0400
@@ -29,7 +29,7 @@
     </disk>
 
 
-    <input type='tablet' bus='usb'/>
+    <input type='mouse' bus='ps2'/>
     <graphics type='sdl'/>
   </devices>
 </domain>
diff -rup virtinst-0.300.1.orig/virtinst/FullVirtGuest.py virtinst-0.300.1.new/virtinst/FullVirtGuest.py
--- virtinst-0.300.1.orig/virtinst/FullVirtGuest.py	2007-09-25 11:01:12.000000000 -0400
+++ virtinst-0.300.1.new/virtinst/FullVirtGuest.py	2007-10-04 12:02:36.000000000 -0400
@@ -27,6 +27,7 @@ class FullVirtGuest(Guest.XenGuest):
                             "acpi": True, \
                             "apic": True, \
                             "continue": False, \
+                            "input": [ "mouse", "ps2"],
                             "variants": { "rhel2.1": { "label": "Red Hat Enterprise Linux 2.1", "distro": "rhel" }, \
                                           "rhel3": { "label": "Red Hat Enterprise Linux 3", "distro": "rhel" }, \
                                           "rhel4": { "label": "Red Hat Enterprise Linux 4", "distro": "rhel" }, \
@@ -44,6 +45,7 @@ class FullVirtGuest(Guest.XenGuest):
                               "acpi": True, \
                               "apic": True, \
                               "continue": True, \
+                              "input": [ "tablet", "usb"],
                               "variants": { "winxp": { "label": "Microsoft Windows XP", \
                                                        "acpi": False, \
                                                        "apic": False }, \
@@ -58,6 +60,7 @@ class FullVirtGuest(Guest.XenGuest):
                            "acpi": True,
                            "apic": True,
                            "continue": False, \
+                           "input": [ "mouse", "ps2"],
                            "variants": { "solaris9": { "label": "Sun Solaris 9" }, \
                                          "solaris10": { "label": "Sun Solaris 10" }, \
                                          "freebsd6": { "label": "Free BSD 6.x" }, \
@@ -68,6 +71,7 @@ class FullVirtGuest(Guest.XenGuest):
                             "acpi": True,
                             "apic": True,
                             "continue": False,
+                            "input": [ "mouse", "ps2"],
                             "variants": { "msdos": { "label": "MS-DOS", \
                                                      "acpi": False, \
                                                      "apic": False }, \
@@ -161,7 +165,10 @@ class FullVirtGuest(Guest.XenGuest):
     os_distro = property(get_os_distro)
 
     def get_input_device(self):
-        return ("tablet", "usb")
+        if self.os_type is None or not FullVirtGuest.OS_TYPES.has_key(self.os_type):
+            return ("mouse", "ps2")
+        input = FullVirtGuest.OS_TYPES[self.os_type]["input"]
+        return (input[0], input[1])
 
     def _get_features_xml(self):
         ret = "<features>\n"



-- 
gentoo-commits@gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-15 11:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-15 11:16 [gentoo-commits] gentoo-x86 commit in app-emulation/virtinst/files: virtinst-0.300.1-nfs-check.patch digest-virtinst-0.300.1 virtinst-0.300.1-remove-usb-tablet.patch Donnie Berkholz (dberkholz)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox