1
2009-12-03 Cole Robinson <crobinso@redhat.com>
4
Storage: Don't use libvirt VIR_STORAGE_VOL* flags unless they exist
8
support: Add check for libvirt openAuth
11
2009-12-02 Cole Robinson <crobinso@redhat.com>
13
* man/en/virt-install.pod.in, tests/clitest.py, virt-install:
14
virt-install: --disk: make path= optional
17
* man/en/virt-install.pod.in, setup.py, tests/clitest.py, virt-image,
18
virt-install, virtinst/DistroInstaller.py, virtinst/Guest.py,
20
virt-install: Add --os-variant 'none' option to disable autodetect
22
First, add a new method set_os_detect to Guest, so that API users
23
can opt into the behavior, and set the behavior off by default.
25
However, virt-install will continue to do autodetect by default, but
26
now users have a way to opt out via --os-variant none
30
osdict: Add fedora13 and rhel6 entries
32
Fedora 12 was mysteriously added to the osdict twice, so just
36
* tests/urltest.py, virtinst/DistroInstaller.py, virtinst/OSDistro.py,
38
osdict: Add RHEL 5.4 (and later) value
40
Also, fix up the URL test suite to verify this change.
43
* tests/xmlconfig-xml/install-f11-xen.xml, tests/xmlconfig.py,
45
osdict: Use variables for common device settings
47
Improves readability a bit.
50
* virtinst/Storage.py:
51
Storage: Report nicer error if createVolFrom not supported.
54
2009-12-01 Cole Robinson <crobinso@redhat.com>
56
* tests/nodedev.py, tests/testdriver.xml,
57
virtinst/NodeDeviceParser.py:
58
NodeDeviceParser: Parse nodedev storage media media_label
60
Not committed upstream yet, but will likely go in, and I'd like this
61
as early as possible so it makes the pending release.
64
* virtinst/VirtualGraphics.py:
65
VirtualGraphics: Fix 'None' keymap on recent qemu
68
* virtinst/VirtualDisk.py:
69
VirtualDisk: Clean up fix_search_path logging a bit
72
* virtinst/DistroInstaller.py, virtinst/Installer.py:
73
installer: Add public scratchdir_required()
75
Useful for API users to determine if a scratchdir will be used for
76
install, so requisit permissions can be checked.
79
2009-11-29 Cole Robinson <crobinso@redhat.com>
81
* virtinst/support.py:
82
support: Fix function checking with empty arg list
85
2009-11-22 Guido Günther <agx@sigxcpu.org>
87
* virtinst/VirtualDisk.py:
88
VirtualDisk: add error handling to VirtualDisk._clone_local()
91
2009-11-19 Cole Robinson <crobinso@redhat.com>
93
* virtinst/support.py:
94
support: Add checks for libvirt network and interface APIs
97
2009-11-16 Cole Robinson <crobinso@redhat.com>
100
Guest: Add static function cpuset_str_to_tuple
102
Helps using cpuset strings for the pinVcpu command.
105
* virtinst/support.py:
106
support: Add support check for domain vcpus()
109
2009-11-15 Cole Robinson <crobinso@redhat.com>
111
* virtinst/NodeDeviceParser.py, virtinst/Storage.py,
112
virtinst/VirtualGraphics.py, virtinst/__init__.py,
113
virtinst/support.py, virtinst/util.py:
114
Add a new module 'support' for checking if libvirt feature avail.
116
Use this new module to implement all the support checks we are
117
currently using in the code base (with the exception of osdict).
120
* tests/storage-xml/pool-dir-vol.xml, tests/storage-xml/pool-dir-
121
volclone.xml, tests/storage-xml/pool-dir-volinput.xml, tests
122
/storage-xml/pool-disk-vol.xml, tests/storage-xml/pool-disk-
123
volclone.xml, tests/storage-xml/pool-disk-volinput.xml, tests
124
/storage-xml/pool-fs-vol.xml, tests/storage-xml/pool-fs-
125
volclone.xml, tests/storage-xml/pool-fs-volinput.xml, tests/storage-
126
xml/pool-logical-vol.xml, tests/storage-xml/pool-logical-
127
volclone.xml, tests/storage-xml/pool-logical-volinput.xml, tests
128
/storage-xml/pool-netfs-vol.xml, tests/storage-xml/pool-netfs-
129
volclone.xml, tests/storage-xml/pool-netfs-volinput.xml,
130
tests/storage.py, tests/testdriver.xml, virtinst/Storage.py:
131
tests: Make sure storage test output doesn't use local UID
134
2009-11-11 Cole Robinson <crobinso@redhat.com>
136
* virt-clone, virt-convert, virt-image, virt-install:
137
Add --version commands for CLI utils.
140
* setup.py, virtinst/__init__.py, virtinst/version.py:
141
Add __version__ and __version_info__ values.
143
The canonical 'version' value is stored in virtinst/version.py,
144
which will need to be updated whenever cutting a new release.
147
2009-10-28 Cole Robinson <crobinso@redhat.com>
149
* tests/storage-xml/pool-logical-manydev.xml, tests/storage-xml/pool-
150
logical-target-srcname.xml, tests/storage-xml/pool-logical.xml,
151
tests/storage.py, virtinst/Storage.py:
152
Storage: Always set a logical pool source name
154
Either set it via the pool name, or try to parse the target path for
158
2009-10-21 Cole Robinson <crobinso@redhat.com>
160
* tests/storage-xml/pool-logical-list0.xml, tests/storage-xml/pool-
161
logical-list1.xml, tests/storage-xml/pool-netfs-list0.xml,
163
tests: Add tests for FindPoolSources
166
2009-10-22 Cole Robinson <crobinso@redhat.com>
169
Guest: Fix up harmless error message typo
172
2009-10-21 Cole Robinson <crobinso@redhat.com>
174
* virtinst/CloneManager.py:
175
CloneManager: Fix error reporting to show the proper erroneous path.
178
* virtinst/VirtualDisk.py:
179
VirtualDisk: Fix LVM/Disk volume creation on QEMU
181
Make sure that a vol_install actually supports the format parameter
182
before we try and read it.
185
2009-10-20 Cole Robinson <crobinso@redhat.com>
187
* virtinst/Storage.py:
188
Storage: Support listStoragePoolSources
190
We add a static method to storage pool class that takes the required
191
params (conn, pool type, extra source attributes) and returns a list
192
of build pool objects that libvirt gives us.
195
* virtinst/CapabilitiesParser.py, virtinst/NodeDeviceParser.py,
197
Break out duplicate XML parsing routings from *Parser files.
200
* tests/storage-xml/pool-dir-vol.xml, tests/storage-xml/pool-dir-
201
volclone.xml, tests/storage-xml/pool-dir-volinput.xml, tests
202
/storage-xml/pool-dir.xml, tests/storage-xml/pool-disk-vol.xml,
203
tests/storage-xml/pool-disk-volclone.xml, tests/storage-xml/pool-
204
disk-volinput.xml, tests/storage-xml/pool-disk.xml, tests/storage-
205
xml/pool-fs-vol.xml, tests/storage-xml/pool-fs-volclone.xml, tests
206
/storage-xml/pool-fs-volinput.xml, tests/storage-xml/pool-fs.xml,
207
tests/storage-xml/pool-iscsi.xml, tests/storage-xml/pool-logical-
208
manydev.xml, tests/storage-xml/pool-logical-srcname.xml, tests
209
/storage-xml/pool-logical-vol.xml, tests/storage-xml/pool-logical-
210
volclone.xml, tests/storage-xml/pool-logical-volinput.xml, tests
211
/storage-xml/pool-logical.xml, tests/storage-xml/pool-netfs-vol.xml,
212
tests/storage-xml/pool-netfs-volclone.xml, tests/storage-xml/pool-
213
netfs-volinput.xml, tests/storage-xml/pool-netfs.xml, tests/storage-
214
xml/pool-scsi.xml, tests/storage.py:
215
tests: Add XML comparison tests for storage objects
218
* virtinst/Storage.py:
219
Storage: Add a newline after generated XML
221
This helps XML comparison in the test driver, since editting an XML
222
file with vim won't cause the tests to break (since vim seems to add
223
some kind of silent trailing character).
226
* virtinst/Storage.py:
227
Storage: Fix setting pool UUID on init
230
2009-10-19 Cole Robinson <crobinso@redhat.com>
232
* tests/nodedev.py, virtinst/NodeDeviceParser.py:
233
NodeDevice: Don't error when parsing an unknown device.
236
* virtinst/NodeDeviceParser.py:
237
NodeDevice: Use a shared pretty_name where applicable
240
* tests/storage.py, virtinst/Storage.py:
241
storage: Allow creating SCSI pools.
244
* tests/validation.py:
248
* tests/storage.py, virtinst/Storage.py:
249
storage: Allow setting logical pool source name
252
* tests/validation.py:
253
tests: Use custom testdriver pools/vols in validation.py
256
2009-10-16 Cole Robinson <crobinso@redhat.com>
259
Guest: Fix up XML generation to allow extra pieces without breaking
263
* tests/clone-xml/fullpool-in.xml, tests/clonetest.py,
264
tests/testdriver.xml:
265
tests: Add clone tests for full pools.
268
* tests/nodedev.py, tests/pylint-virtinst.sh, virt-install,
269
virtinst/OSDistro.py:
270
Fix up some pylint issues.
274
clitest: Add readonly file checks
277
* tests/pylint-virtinst.sh:
278
pylint: Make sure we don't add msgs that aren't supported
282
Add some more cpuset cli tests.
285
2009-10-05 Cole Robinson <crobinso@redhat.com>
288
Allow setting an empty cpuset.
291
2009-10-14 Cole Robinson <crobinso@redhat.com>
293
* tests/nodedev.py, virtinst/NodeDeviceParser.py:
294
NodeDevice: Add fc_host and vport_ops parsing.
297
* HACKING, README, setup.py, tests/coverage.py:
298
Remove static coverage.py infavor of the system installed version.
301
* tests/nodedev-xml/nodexml/net1.xml, tests/nodedev-
302
xml/nodexml/net2.xml, tests/nodedev-xml/nodexml/pci1.xml, tests
303
/nodedev-xml/nodexml/pci2.xml, tests/nodedev-
304
xml/nodexml/scsibus.xml, tests/nodedev-xml/nodexml/scsidev.xml,
305
tests/nodedev-xml/nodexml/storage1.xml, tests/nodedev-
306
xml/nodexml/storage2.xml, tests/nodedev-xml/nodexml/system.xml,
307
tests/nodedev-xml/nodexml/usbbus.xml, tests/nodedev-
308
xml/nodexml/usbdev1.xml, tests/nodedev-xml/nodexml/usbdev2.xml,
309
tests/nodedev.py, tests/testdriver.xml:
310
tests: Update libvirt test driver to read node device XML
312
Allows us to ditch all the nodexml files we keep around.
315
* virtinst/Installer.py:
316
Fix error generating scratchdir for xen installs.
319
2009-10-13 Cole Robinson <crobinso@redhat.com>
321
* tests/clitest.py, virtinst/Guest.py:
322
virt-install: Fix --cpuset
324
A commit before 0.500.0 broke cpuset with commas, and the test suite
325
wasn't checking it. Fix the error and add tests to prevent this in
329
2009-10-12 Cole Robinson <crobinso@redhat.com>
331
* virtinst/Installer.py:
332
Installer: Break out 'what is my scratchdir' logic.
334
This is really a static choice that doesn't have anything to do with
338
* tests/__init__.py, tests/image-xml/image2guest/image-xenfv32.xml,
339
tests/xmlconfig-xml/boot-fullyvirt-disk-block.xml, tests/xmlconfig-
340
xml/boot-fullyvirt-disk-file.xml, tests/xmlconfig-xml/boot-
341
fullyvirt-pxe-nodisks.xml, tests/xmlconfig-xml/boot-fullyvirt-
342
pxe.xml, tests/xmlconfig-xml/boot-many-chars.xml, tests/xmlconfig-
343
xml/boot-many-devices.xml, tests/xmlconfig-xml/boot-many-disks2.xml,
344
tests/xmlconfig-xml/boot-many-hostdevs.xml, tests/xmlconfig-xml
345
/boot-many-nics.xml, tests/xmlconfig-xml/boot-many-sounds.xml, tests
346
/xmlconfig-xml/boot-windowsxp-kvm.xml, tests/xmlconfig-
347
xml/install-f10.xml, tests/xmlconfig-xml/install-f11.xml, tests
348
/xmlconfig-xml/install-fullyvirt-disk-block.xml, tests/xmlconfig-xml
349
/install-fullyvirt-disk-file.xml, tests/xmlconfig-xml/install-
350
fullyvirt-import.xml, tests/xmlconfig-xml/install-fullyvirt-
351
livecd.xml, tests/xmlconfig-xml/install-fullyvirt-pxe-nodisks.xml,
352
tests/xmlconfig-xml/install-fullyvirt-pxe.xml, tests/xmlconfig-xml
353
/install-windowsxp-kvm.xml, tests/xmlconfig-xml/install-windowsxp-
354
xennew.xml, tests/xmlconfig-xml/install-windowsxp-xenold.xml, tests
355
/xmlconfig-xml/misc-qemu-driver-name.xml, tests/xmlconfig-xml/misc-
356
qemu-driver-type.xml, tests/xmlconfig-xml/misc-qemu-iso-disk.xml,
357
tests/xmlconfig-xml/misc-xml-escaping.xml:
358
Use a real directory as HOME in the test suite.
361
* virtinst/VirtualDisk.py:
362
VirtualDisk: If changing path ACL fails, fall back to regular chmod
366
* virtinst/Installer.py, virtinst/cli.py:
367
Make .virtinst/* as globally searchable.
369
Makes life easier for allowing emulator access to downloaded
373
* virtinst/VirtualDisk.py:
374
VirtualDisk: Make sure requested user exists when checking disk
378
2009-10-06 Cole Robinson <crobinso@redhat.com>
381
clitest: Make sure DISPLAY is set.
384
2009-10-05 Cole Robinson <crobinso@redhat.com>
386
* po/es.po, po/it.po, po/pl.po:
387
Updated translations.
390
2009-09-28 Cole Robinson <crobinso@redhat.com>
392
* man/en/virt-install.pod.in, tests/clitest.py,
393
virtinst/VirtualGraphics.py, virtinst/cli.py:
394
virt-install: Add --keymap 'none' and 'local' values.
396
Allows the user more control over the default behavior. Default is
397
also changed to take the hypervisor and version into account (for
398
example, newer qemu versions shouldn't have a keymap specified if
402
* virtconv/parsers/ovf.py, virtinst/Storage.py:
403
Fix some harmless pylint.
407
virt-install: clean up --disk vs. --file parsing.
409
Make it easier to extend in the future without breaking back compat.
412
2009-09-23 Cole Robinson <crobinso@redhat.com>
414
* virtinst/VirtualDisk.py:
415
VirtualDisk: Teach perms changing functions about a target
419
* virtinst/VirtualDisk.py:
420
VirtualDisk: Add methods for checking/changing path perms for
423
Since libvirtd can now run qemu processes as non-root, the tools
424
need to try to check directory permissions and make sure they are at
425
least searchable by a specific username. This simply implements the
426
functions to make that happen.
429
2009-09-21 Cole Robinson <crobinso@redhat.com>
431
* tests/testdriver.xml, tests/xmlconfig-xml/misc-qemu-iso-disk.xml,
432
tests/xmlconfig.py, virtinst/VirtualDisk.py:
433
VirtualDisk: Don't use 'iso' as a qemu driver name (bz 524109)
436
* tests/pylint-virtinst.sh:
437
Ignore a new pylint check.
440
2009-09-16 Cole Robinson <crobinso@redhat.com>
442
* virtinst/User.py, virtinst/__init__.py, virtinst/_util.py,
443
virtinst/cli.py, virtinst/util.py:
444
Use virtual networking (not user) if we are non-root on
447
Since virt-install can use policykit now, we can be non-root and
448
still use qemu:///system.
451
* tests/pylint-virtinst.sh:
452
Ignore 'maximum recursion' warnings from pylint.
455
* virtinst/osdict.py:
456
osdict: Add 'Fedora 12' entry
459
* man/en/virt-install.1, man/en/virt-install.pod.in, tests/clitest.py,
460
virt-install, virtinst/VirtualDisk.py:
461
virt-install: Add 'format' option to --disk
463
Allows specifying storage volume format (raw, qcow2, etc.).
466
2009-09-13 Cole Robinson <crobinso@redhat.com>
468
* tests/xmlconfig-xml/install-f11.xml, tests/xmlconfig.py,
469
virtinst/FullVirtGuest.py:
470
Don't use virtio for cdrom/floppy devices (bz 517151)
472
Also add a test case to prevent against this issue in the future.
475
* tests/clitest.py, virtinst/VirtualDisk.py:
476
Don't erroneously limit the amount of virtio disks (bz 499654)
478
Just let qemu error if we add too many.
481
2009-08-05 Alban Browaeys <prahal@yahoo.com>
483
* AUTHORS, tests/xmlconfig-xml/boot-many-devices.xml,
484
virtinst/VirtualDisk.py:
485
Set proper driver type from storage volume xml.
487
Fixes possible traceback if creating a qemu VM from a storage
491
2009-08-05 Cole Robinson <crobinso@redhat.com>
493
* tests/testdriver.xml, tests/xmlconfig-xml/boot-many-devices.xml,
494
tests/xmlconfig.py, virtinst/VirtualDisk.py:
495
Add virtual disk XML tests for pulling driver type/name from volume.
1
498
2009-07-28 Cole Robinson <crobinso@redhat.com>
501
Added tag virtinst-0_500_0 for changeset 273dbcbdd051
504
* python-virtinst.spec.in:
505
Update spec changelog.
506
[273dbcbdd051] [virtinst-0_500_0]
508
* ChangeLog, NEWS, man/en/virt-install.1, setup.py:
509
Bump version number, update NEWS and CHANGELOG.
3
512
* tests/urltest.py:
4
513
Update url test suite with newer fedora links.
7
516
* virtinst/osdict.py:
8
517
osdict: Add Fedora 12.