Gentoo Archives: gentoo-commits

From: "Donnie Berkholz (dberkholz)" <dberkholz@g.o>
To: gentoo-commits@l.g.o
Subject: [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
Date: Mon, 15 Oct 2007 11:26:47
Message-Id: E1IhNw1-0001JW-3t@stork.gentoo.org
1 dberkholz 07/10/15 11:16:33
2
3 Added: virtinst-0.300.1-nfs-check.patch
4 digest-virtinst-0.300.1
5 virtinst-0.300.1-remove-usb-tablet.patch
6 Log:
7 Adds some new features like remote access and OpenVZ (although the latter may only be at the libvirt level so far).
8 (Portage version: 2.1.3.13)
9
10 Revision Changes Path
11 1.1 app-emulation/virtinst/files/virtinst-0.300.1-nfs-check.patch
12
13 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
14 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
15
16 Index: virtinst-0.300.1-nfs-check.patch
17 ===================================================================
18 diff -r 531b73491ac2 virtinst/DistroManager.py
19 --- a/virtinst/DistroManager.py Wed Oct 10 14:24:48 2007 -0400
20 +++ b/virtinst/DistroManager.py Thu Oct 11 11:39:58 2007 -0400
21 @@ -161,7 +161,7 @@ class MountedImageFetcher(ImageFetcher):
22 if tmpfile is not None:
23 os.unlink(tmpfile)
24 return True
25 - except RuntimeError, e:
26 + except Exception, e:
27 logging.debug("Cannot find file %s" % filename)
28 return False
29
30
31
32
33 1.1 app-emulation/virtinst/files/digest-virtinst-0.300.1
34
35 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/virtinst/files/digest-virtinst-0.300.1?rev=1.1&view=markup
36 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
37
38 Index: digest-virtinst-0.300.1
39 ===================================================================
40 MD5 0424cdd829fda57b7117782f367d4aec virtinst-0.300.1.tar.gz 96757
41 RMD160 7a334a18bea44db4c383e0b7420cb144381256a4 virtinst-0.300.1.tar.gz 96757
42 SHA256 58e812432685950e7179373a26219558f612ca459e461ee5874f84058dd97b40 virtinst-0.300.1.tar.gz 96757
43
44
45
46 1.1 app-emulation/virtinst/files/virtinst-0.300.1-remove-usb-tablet.patch
47
48 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
49 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
50
51 Index: virtinst-0.300.1-remove-usb-tablet.patch
52 ===================================================================
53 Only in virtinst-0.300.1.new: .coverage
54 diff -rup virtinst-0.300.1.orig/tests/boot-fullyvirt-disk-block.xml virtinst-0.300.1.new/tests/boot-fullyvirt-disk-block.xml
55 --- virtinst-0.300.1.orig/tests/boot-fullyvirt-disk-block.xml 2007-09-25 11:01:12.000000000 -0400
56 +++ virtinst-0.300.1.new/tests/boot-fullyvirt-disk-block.xml 2007-10-04 12:10:00.000000000 -0400
57 @@ -28,7 +28,7 @@
58 </disk>
59
60
61 - <input type='tablet' bus='usb'/>
62 + <input type='mouse' bus='ps2'/>
63 <graphics type='sdl'/>
64 </devices>
65 </domain>
66 diff -rup virtinst-0.300.1.orig/tests/boot-fullyvirt-disk-file.xml virtinst-0.300.1.new/tests/boot-fullyvirt-disk-file.xml
67 --- virtinst-0.300.1.orig/tests/boot-fullyvirt-disk-file.xml 2007-09-25 11:01:12.000000000 -0400
68 +++ virtinst-0.300.1.new/tests/boot-fullyvirt-disk-file.xml 2007-10-04 12:10:17.000000000 -0400
69 @@ -28,7 +28,7 @@
70 </disk>
71
72
73 - <input type='tablet' bus='usb'/>
74 + <input type='mouse' bus='ps2'/>
75 <graphics type='sdl'/>
76 </devices>
77 </domain>
78 diff -rup virtinst-0.300.1.orig/tests/install-fullyvirt-disk-block.xml virtinst-0.300.1.new/tests/install-fullyvirt-disk-block.xml
79 --- virtinst-0.300.1.orig/tests/install-fullyvirt-disk-block.xml 2007-09-25 11:01:12.000000000 -0400
80 +++ virtinst-0.300.1.new/tests/install-fullyvirt-disk-block.xml 2007-10-04 12:10:29.000000000 -0400
81 @@ -29,7 +29,7 @@
82 </disk>
83
84
85 - <input type='tablet' bus='usb'/>
86 + <input type='mouse' bus='ps2'/>
87 <graphics type='sdl'/>
88 </devices>
89 </domain>
90 diff -rup virtinst-0.300.1.orig/tests/install-fullyvirt-disk-file.xml virtinst-0.300.1.new/tests/install-fullyvirt-disk-file.xml
91 --- virtinst-0.300.1.orig/tests/install-fullyvirt-disk-file.xml 2007-09-25 11:01:12.000000000 -0400
92 +++ virtinst-0.300.1.new/tests/install-fullyvirt-disk-file.xml 2007-10-04 12:10:37.000000000 -0400
93 @@ -29,7 +29,7 @@
94 </disk>
95
96
97 - <input type='tablet' bus='usb'/>
98 + <input type='mouse' bus='ps2'/>
99 <graphics type='sdl'/>
100 </devices>
101 </domain>
102 diff -rup virtinst-0.300.1.orig/virtinst/FullVirtGuest.py virtinst-0.300.1.new/virtinst/FullVirtGuest.py
103 --- virtinst-0.300.1.orig/virtinst/FullVirtGuest.py 2007-09-25 11:01:12.000000000 -0400
104 +++ virtinst-0.300.1.new/virtinst/FullVirtGuest.py 2007-10-04 12:02:36.000000000 -0400
105 @@ -27,6 +27,7 @@ class FullVirtGuest(Guest.XenGuest):
106 "acpi": True, \
107 "apic": True, \
108 "continue": False, \
109 + "input": [ "mouse", "ps2"],
110 "variants": { "rhel2.1": { "label": "Red Hat Enterprise Linux 2.1", "distro": "rhel" }, \
111 "rhel3": { "label": "Red Hat Enterprise Linux 3", "distro": "rhel" }, \
112 "rhel4": { "label": "Red Hat Enterprise Linux 4", "distro": "rhel" }, \
113 @@ -44,6 +45,7 @@ class FullVirtGuest(Guest.XenGuest):
114 "acpi": True, \
115 "apic": True, \
116 "continue": True, \
117 + "input": [ "tablet", "usb"],
118 "variants": { "winxp": { "label": "Microsoft Windows XP", \
119 "acpi": False, \
120 "apic": False }, \
121 @@ -58,6 +60,7 @@ class FullVirtGuest(Guest.XenGuest):
122 "acpi": True,
123 "apic": True,
124 "continue": False, \
125 + "input": [ "mouse", "ps2"],
126 "variants": { "solaris9": { "label": "Sun Solaris 9" }, \
127 "solaris10": { "label": "Sun Solaris 10" }, \
128 "freebsd6": { "label": "Free BSD 6.x" }, \
129 @@ -68,6 +71,7 @@ class FullVirtGuest(Guest.XenGuest):
130 "acpi": True,
131 "apic": True,
132 "continue": False,
133 + "input": [ "mouse", "ps2"],
134 "variants": { "msdos": { "label": "MS-DOS", \
135 "acpi": False, \
136 "apic": False }, \
137 @@ -161,7 +165,10 @@ class FullVirtGuest(Guest.XenGuest):
138 os_distro = property(get_os_distro)
139
140 def get_input_device(self):
141 - return ("tablet", "usb")
142 + if self.os_type is None or not FullVirtGuest.OS_TYPES.has_key(self.os_type):
143 + return ("mouse", "ps2")
144 + input = FullVirtGuest.OS_TYPES[self.os_type]["input"]
145 + return (input[0], input[1])
146
147 def _get_features_xml(self):
148 ret = "<features>\n"
149
150
151
152 --
153 gentoo-commits@g.o mailing list