1
2011-01-14 Cole Robinson <crobinso@redhat.com>
3
* tests/xmlparse-xml/change-graphics-in.xml, tests/xmlparse-xml
4
/change-graphics-out.xml, tests/xmlparse.py,
5
virtinst/VirtualGraphics.py:
6
VirtualGraphics: Parse pending vnc socket attribute
8
Not upstream yet, but if the attribute name changes it will be
12
* virtinst/VirtualGraphics.py:
13
VirtualGraphics: Refactor XML building
16
2010-12-17 Cole Robinson <crobinso@redhat.com>
18
* man/en/virt-clone.pod, tests/cli-test-xml/compare/clone-auto1.xml,
19
tests/cli-test-xml/compare/clone-auto2.xml, tests/clitest.py,
20
tests/testdriver.xml, virt-clone:
21
virt-clone: Add --print-xml option
24
* virtinst/Guest.py, virtinst/VirtualNetworkInterface.py:
25
Remove possible infinite loops generating MAC/UUID
28
* tests/clitest.py, virtinst/cli.py:
29
clitest: Have fake virtinst URI set a repeatable UUID
32
2010-12-14 Cole Robinson <crobinso@redhat.com>
35
virt-install: Fix chardev variable naming to match VirtualCharDevice
38
* virtinst/VirtualCharDevice.py:
39
virt-install: Error for invalid option --console virtio
42
2010-12-16 Cole Robinson <crobinso@redhat.com>
44
* tests/capabilities-xml/cpu_map.xml, tests/capabilities.py,
45
virtinst/CapabilitiesParser.py:
46
capabilities: Parse libvirt's cpu_map.xml file
49
* tests/cli-test-xml/compare/kvm-f14-url.xml, virtinst/CPU.py:
50
virt-install: --cpu host shouldn't copy topology
53
* virt-clone, virt-convert, virt-image, virt-install, virtinst/cli.py:
54
virt-*: Add --quiet option
57
* virtinst/VirtualController.py:
58
Controller: Add method for pretty printing device type
61
* virtinst/VirtualGraphics.py:
62
VirtualGraphics: Don't bail if parsing dev with no port
65
* tests/cli-test-xml/compare/image-boot0.xml, tests/cli-test-
66
xml/compare/image-boot1.xml, tests/cli-test-xml/image.xml,
68
clitest: Test xml output of virt-image --print
71
2010-12-15 Cole Robinson <crobinso@redhat.com>
73
* tests/cli-test-xml/compare/kvm-win2k3-cdrom.xml, tests/cli-test-
74
xml/compare/w2k3-cdrom.xml, tests/cli-test-xml/compare/xen-hvm.xml,
75
tests/xmlconfig-xml/install-f10.xml, tests/xmlconfig-xml/install-
76
fullyvirt-disk-block.xml, tests/xmlconfig-xml/install-fullyvirt-
77
disk-file.xml, tests/xmlconfig-xml/install-fullyvirt-pxe.xml, tests
78
/xmlconfig-xml/install-windowsxp-kvm.xml, tests/xmlconfig-xml
79
/install-windowsxp-xennew.xml, tests/xmlconfig-xml/install-
80
windowsxp-xenold.xml, tests/xmlconfig-xml/misc-qemu-driver-name.xml,
81
tests/xmlconfig-xml/misc-qemu-driver-overwrite.xml, tests/xmlconfig-
82
xml/misc-qemu-driver-type.xml, tests/xmlconfig-xml/misc-qemu-iso-
83
disk.xml, tests/xmlconfig-xml/misc-xml-escaping.xml, tests
84
/xmlconfig-xml/winxp-kvm-stage1.xml, virtinst/Installer.py:
85
Installer: If disk attached, always specify <boot dev='hd'/> during
88
This ensures virtio disks are marked as bootable, which is required
89
by windows virtio installs.
92
* tests/utils.py, tests/xmlparse-xml/change-disk-out.xml, tests
93
/xmlparse-xml/change-media-in.xml, tests/xmlparse-xml/change-media-
94
out.xml, tests/xmlparse.py, virtinst/VirtualDisk.py:
95
VirtualDisk: Fix setting driver vals if changing media w/ parsing
98
* virtinst/ImageInstaller.py, virtinst/ImportInstaller.py,
99
virtinst/Installer.py, virtinst/LiveCDInstaller.py:
100
Installer: Make has_install_phase canonical
103
* virt-install, virtinst/cli.py:
104
virt-install: Touch up some printed messages
107
* virt-install, virtinst/Guest.py, virtinst/ImageInstaller.py,
108
virtinst/ImportInstaller.py, virtinst/Installer.py,
109
virtinst/LiveCDInstaller.py:
110
virt-install: Make sure we launch a console for import/livecd
112
Make virt-install aware of whether the guest has an install phase,
113
and use it change our expected behavior.
116
* virt-install, virtinst/Guest.py:
117
virt-install: Try to make install/wait loop more comprehensible
120
2010-12-14 Cole Robinson <crobinso@redhat.com>
122
* man/en/virt-install.pod.in, tests/capabilities-xml/libvirt-0.7.6
123
-qemu-caps.xml, tests/capabilities.py, tests/cli-test-
124
xml/compare/kvm-f14-url.xml, tests/clitest.py, virtinst/CPU.py,
125
virtinst/CapabilitiesParser.py, virtinst/cli.py:
126
virt-install: Support --cpu host
129
* man/en/virt-image.pod:
130
virt-image: man: Point to virt-install(1) for --cpu docs
133
* virt-image, virt-install, virtinst/cli.py:
134
Remove unneeded params from some CLI parsing functions
137
* man/en/virt-install.1, man/en/virt-install.pod.in, tests/clitest.py,
138
virt-image, virt-install, virtinst/cli.py:
139
virt-install: Add --cpu option
141
Allows setting remaing CPU params, like model, vendor, and feature
145
* man/en/virt-install.pod.in, tests/cli-test-
146
xml/compare/w2k3-cdrom.xml, tests/clitest.py, tests/xmlconfig.py,
147
tests/xmlparse-xml/change-minimal-guest-out.xml, tests/xmlparse.py,
148
virtinst/CPU.py, virtinst/Guest.py, virtinst/cli.py:
149
virt-install: Allow specifying CPU topology with --vcpus
153
* tests/xmlconfig-xml/boot-cpuset.xml, tests/xmlconfig.py, tests
154
/xmlparse-xml/change-guest-in.xml, tests/xmlparse-xml/change-guest-
155
out.xml, tests/xmlparse.py, virtinst/CPU.py, virtinst/Guest.py,
156
virtinst/__init__.py:
157
Add CPU model for building domain <cpu> XML
160
* man/en/virt-install.pod.in, tests/clitest.py, tests/testdriver.xml,
161
virt-image, virt-install, virtinst/cli.py:
162
virt-install: Support --vcpus maxcpus=MAX
165
* virt-install, virtinst/cli.py:
166
cli: Move first option parsing into parse_optstr
169
* tests/xmlconfig-xml/boot-cpuset.xml, tests/xmlconfig.py, tests
170
/xmlparse-xml/change-guest-out.xml, tests/xmlparse.py,
171
virtinst/Guest.py, virtinst/support.py:
172
Guest: Support maxvcpus value
174
Only put it in the XML if using a sufficiently new libvirt,
175
otherwise the users specified 'current' vcpus value won't take
179
* virtinst/Boot.py, virtinst/XMLBuilderDomain.py:
180
XMLBuilder: If no XML value found, pass None to get_converter
183
* virtinst/Boot.py, virtinst/Guest.py, virtinst/VirtualGraphics.py,
184
virtinst/VirtualHostDevice.py, virtinst/XMLBuilderDomain.py:
185
XMLBuilder: Pass 'self' to all converter functions
188
2010-12-13 Cole Robinson <crobinso@redhat.com>
190
* tests/clitest.py, virtinst/VirtualDisk.py:
191
VirtualDisk: Allow disk backed by a pool's source device
193
This allows the user to specify '/dev/sda' if the path is a disk
197
* virtinst/Guest.py, virtinst/osdict.py:
198
osdict: Allow passing a preferred distro list
200
The sorted lists will prioritized the passed distro sorting
203
* virtinst/osdict.py:
204
osdict: Improve sorting, so we list distro groups from newest to
208
2010-12-10 Cole Robinson <crobinso@redhat.com>
210
* virt-install, virtinst/CapabilitiesParser.py,
211
virtinst/VirtualDisk.py, virtinst/_util.py:
212
virt-install: Print warning if KVM isn't available
215
* virtinst/CapabilitiesParser.py:
216
virt-install: Print better error if --virt-type not supported
220
virt-install: Fix PXE check and error reporting if it goes wrong
224
virt-install: Pull URI from Guest when launching console
226
Since we do some test specific URI mangling sometimes
229
2010-12-12 Cole Robinson <crobinso@redhat.com>
231
* virtinst/CloneManager.py:
232
clone: Be smarter about generating disk names if orig disk == VM
236
2010-12-11 Cole Robinson <crobinso@redhat.com>
238
* tests/xmlconfig-xml/boot-many-devices.xml, tests/xmlconfig.py, tests
239
/xmlparse-xml/change-graphics-out.xml, tests/xmlparse.py,
240
virtinst/VirtualGraphics.py:
241
VirtualGraphics: Allow changing SDL xauth/display
244
2010-12-10 Cole Robinson <crobinso@redhat.com>
247
Guest: Fix default device auto-removal
250
* setup.py, tests/capabilities.py, tests/clitest.py,
251
tests/clonetest.py, tests/interface.py, tests/nodedev.py, tests
252
/pylint-virtinst.sh, tests/storage.py, tests/urltest.py,
253
tests/utils.py, tests/validation.py, tests/virtconvtest.py,
254
tests/xmlconfig.py, virt-clone, virt-convert, virt-image, virt-
255
install, virtconv/diskcfg.py, virtconv/formats.py,
256
virtconv/netdevcfg.py, virtconv/parsers/ovf.py,
257
virtconv/parsers/virtimage.py, virtconv/parsers/vmx.py,
258
virtinst/CapabilitiesParser.py, virtinst/CloneManager.py,
259
virtinst/Guest.py, virtinst/ImageFetcher.py,
260
virtinst/ImageInstaller.py, virtinst/ImageParser.py,
261
virtinst/Installer.py, virtinst/Interface.py,
262
virtinst/LiveCDInstaller.py, virtinst/NodeDeviceParser.py,
263
virtinst/OSDistro.py, virtinst/ParaVirtGuest.py,
264
virtinst/Storage.py, virtinst/VirtualAudio.py,
265
virtinst/VirtualController.py, virtinst/VirtualDevice.py,
266
virtinst/VirtualDisk.py, virtinst/VirtualGraphics.py,
267
virtinst/VirtualHostDevice.py, virtinst/VirtualInputDevice.py,
268
virtinst/VirtualNetworkInterface.py, virtinst/VirtualWatchdog.py,
269
virtinst/XMLBuilderDomain.py, virtinst/_util.py, virtinst/cli.py,
270
virtinst/keytable.py, virtinst/osdict.py, virtinst/util.py:
271
Run pep8 in pylint script and fix reported issues
274
2010-12-08 Cole Robinson <crobinso@redhat.com>
276
* virtinst/Boot.py, virtinst/Clock.py, virtinst/DistroInstaller.py,
277
virtinst/DomainFeatures.py, virtinst/FullVirtGuest.py,
278
virtinst/Guest.py, virtinst/ImageInstaller.py,
279
virtinst/Installer.py, virtinst/LiveCDInstaller.py,
280
virtinst/ParaVirtGuest.py, virtinst/Seclabel.py,
281
virtinst/VirtualAudio.py, virtinst/VirtualCharDevice.py,
282
virtinst/VirtualController.py, virtinst/VirtualDevice.py,
283
virtinst/VirtualDisk.py, virtinst/VirtualGraphics.py,
284
virtinst/VirtualHostDevice.py, virtinst/VirtualInputDevice.py,
285
virtinst/VirtualNetworkInterface.py, virtinst/VirtualVideoDevice.py,
286
virtinst/VirtualWatchdog.py, virtinst/XMLBuilderDomain.py:
287
Allow passing preparsed Capabilities to all objects
289
Help speed up virt-manager substancially
292
2010-12-07 Cole Robinson <crobinso@redhat.com>
294
* tests/clitest.py, virtconv/parsers/virtimage.py:
295
virt-convert: Handle qcow2 when importing virt-image XML
298
* tests/cli-test-xml/compare/noargs-fail.xml:
299
Commit forgotten test file
302
* tests/image-xml/image-format.xml, tests/image-xml/image2guest/image-
303
format-out.xml, tests/image.py, tests/pylint-virtinst.sh,
304
virtinst/ImageInstaller.py:
305
virt-image: Properly generate domain XML using disk formats
309
virt-image: Fix --print
313
virt-install: Don't --prompt for media if doing implicit CDROM
318
virt-install: Don't ask about overwriting CDROM or floppy images
321
* tests/clitest.py, virt-install, virtinst/DistroInstaller.py:
322
virt-install: Verify install URLs in --prompt mode
325
* virt-install, virtinst/cli.py:
326
virt-install: Better error message if users are missing required
329
Remove the suggestion for --prompt, since prompting sucks. List all
330
the required options the user is missing (there really isn't a lot)
334
Guest: Make sure a failed livecd install doesn't leave guest
338
* virtinst/DistroInstaller.py:
339
DistroInstaller: Add a simple LiveCD mode
341
Helps simplify virt-manager usage.
344
* virtinst/DomainFeatures.py, virtinst/Guest.py:
345
Guest: Move various xen vs. hvm setup out of __init__
348
* tests/clitest.py, virtinst/cli.py:
349
testcli: Add test uri option for predicatable MAC/tmp naming
352
* tests/image-xml/image2guest/image-xenfv32.xml, tests/pylint-
353
virtinst.sh, tests/xmlconfig.py, virtinst/CapabilitiesParser.py,
354
virtinst/FullVirtGuest.py, virtinst/Guest.py, virtinst/Installer.py,
355
virtinst/OSDistro.py, virtinst/ParaVirtGuest.py:
356
Guest: Move most FV and PV functionality into Guest
358
FV and PV aren't sufficiently different that they really need
359
separate classes, and it makes tools like virt-manager a pain: if
360
the user changes from PV to FV, we need to rebuild the entire guest
364
* tests/capabilities-xml/xen-ia64-hvm.xml, tests/cli-test-xml/compare
365
/xen-default.xml, tests/cli-test-xml/compare/xen-hvm.xml, tests/cli-
366
test-xml/compare/xen-ia64-default.xml, tests/cli-test-xml/compare
367
/xen-ia64-hvm.xml, tests/cli-test-xml/compare/xen-ia64-pv.xml, tests
368
/cli-test-xml/compare/xen-pv.xml, tests/clitest.py, virtinst/cli.py:
369
clitest: Test various xen caps combinations
373
testcli: Rename category_args->args
376
2010-12-06 Cole Robinson <crobinso@redhat.com>
378
* man/en/virt-install.pod.in, tests/__init__.py, tests/cli-test-
379
xml/compare/kvm-machine.xml, tests/cli-test-
380
xml/compare/qemu-32-on-64.xml, tests/cli-test-xml/compare/qemu-
381
sparc.xml, tests/clitest.py, tests/utils.py, virt-image,
383
virt-install: Deprecate old graphics options, document --graphics
387
virt-install: Warn if network setup doesn't support PXE
390
* man/en/virt-install.pod.in, setup.py, tests/cli-test-
391
xml/compare/kvm-f14-url.xml, tests/cli-test-xml/compare/kvm-
392
machine.xml, tests/cli-test-xml/compare/kvm-win2k3-cdrom.xml, tests
393
/cli-test-xml/compare/kvm-xenner.xml, tests/cli-test-
394
xml/compare/qemu-32-on-64.xml, tests/cli-test-xml/compare/qemu-
395
plain.xml, tests/cli-test-xml/compare/qemu-sparc.xml,
396
tests/clitest.py, tests/xmlparse-xml/change-guest-in.xml, tests
397
/xmlparse-xml/change-guest-out.xml, tests/xmlparse.py, virt-install,
398
virtinst/CapabilitiesParser.py, virtinst/Installer.py:
399
virt-install: Add --machine option
402
* man/en/virt-install.pod.in, tests/cli-test-xml/compare/quiet-
403
url.xml, tests/clitest.py, virt-install, virtinst/cli.py,
405
virt-install: Add --quiet option, use with --print functions
408
* man/en/virt-install.pod.in, tests/cli-test-xml/clone-disk.xml, tests
409
/cli-test-xml/compare/kvm-f14-url.xml, tests/cli-test-xml/compare
410
/kvm-win2k3-cdrom.xml, tests/cli-test-xml/compare/simple-pxe.xml,
411
tests/cli-test-xml/compare/w2k3-cdrom.xml, tests/clitest.py, tests
412
/pylint-virtinst.sh, virt-install, virtinst/Guest.py,
414
virt-install: Add options --print-xml, --print-step, --dry
416
--print-xml prints single stage install XML, and errors otherwise
417
--print-step allows printing a specific install stages XML or all XML
419
--dry allows running an install, but does not create storage or
420
create/define the guest
422
This enables testing, and is an often requested feature, hopefully
423
making it difficult to abuse since the multiple XML generation is
424
non-intuitive to most users.
427
* virtinst/VirtualDevice.py, virtinst/VirtualNetworkInterface.py:
428
VirtualNetworkInterface: Run non-destructive setup bits on demand
430
Move towards making setup_dev() only for potentially destuctive ops
433
* tests/clitest.py, virtinst/cli.py:
434
clitest: Add gross hack to help fake a qemu URI
437
* tests/__init__.py, tests/clonetest.py, tests/image.py,
438
tests/interface.py, tests/nodedev.py, tests/storage.py,
439
tests/urltest.py, tests/utils.py, tests/validation.py,
440
tests/virtconvtest.py, tests/xmlconfig.py, tests/xmlparse.py:
441
tests: Move utility functions from __init__ to utils
443
Can be used easier by non-unittest files like clitest
446
2010-12-05 Cole Robinson <crobinso@redhat.com>
449
Guest: Move XML building out of _create_guest
451
This will make it easier to do a dry run install that just returns
456
Guest: Move _do_install function contents into start_install
458
Having it be a separate function doesn't really help follow what's
462
2010-12-04 Cole Robinson <crobinso@redhat.com>
465
virt-install: Split up main function
468
2010-12-01 Cole Robinson <crobinso@redhat.com>
470
* virtinst/support.py:
471
support: Add check for jobInfo API
474
* tests/clitest.py, virt-clone, virt-install:
475
virt-install: Error on positional arguments
477
This will help catch errors like --extra-args console=foo
478
console=bar with an error like: Unknown argument 'console=bar'
481
2010-11-30 Cole Robinson <crobinso@redhat.com>
484
autobuild: Make sure user doesn't run manually
487
2010-11-29 Cole Robinson <crobinso@redhat.com>
489
* tests/clitest.py, tests/pylint-virtinst.sh, tests/urltest.py, virt-
490
image, virtinst/ImageParser.py, virtinst/Installer.py,
491
virtinst/OSDistro.py, virtinst/Storage.py, virtinst/VirtualDisk.py,
492
virtinst/cli.py, virtinst/util.py:
493
Enable some more pylint checks and fix the code
496
* tests/pylint-virtinst.sh, virtinst/ImageParser.py,
497
virtinst/VirtualGraphics.py, virtinst/cli.py:
498
Clean up various pylint issues
501
* virtinst/support.py:
502
support: Make sure migratedowntime check doesn't have side effects
505
2010-11-22 Cole Robinson <crobinso@redhat.com>
508
virt-install: Fix locale error if piped to pager
510
Not really sure what's going on, and I can only reproduce if
511
commenting the setlocale call in setupGettext, but there is a bz
514
https://bugzilla.redhat.com/show_bug.cgi?id=655328
517
* virt-clone, virt-convert, virt-image, virt-install, virtinst/cli.py:
518
Setup logging to help debug early errors
521
2010-11-17 Marc-André Lureau <marcandre.lureau@redhat.com>
523
* tests/clitest.py, virt-image, virt-install, virtinst/cli.py:
524
cli: add --graphics argument (and SPICE support)
527
2010-11-19 Marc-André Lureau <marcandre.lureau@redhat.com>
529
* tests/xmlparse-xml/change-graphics-in.xml, tests/xmlparse-xml
530
/change-graphics-out.xml, tests/xmlparse.py,
531
virtinst/VirtualGraphics.py:
532
graphics: add spice channel configuration
535
* tests/xmlconfig-xml/boot-many-devices.xml, tests/xmlconfig.py:
536
Add tests for QXL video device XML
539
* tests/xmlconfig-xml/boot-many-devices.xml, tests/xmlconfig.py,
540
virtinst/VirtualGraphics.py:
541
graphics: add SPICE VirtualGraphics support
544
2010-11-17 Cole Robinson <crobinso@redhat.com>
546
* tests/pylint-virtinst.sh:
547
Fix pylint script for latest CLI args
550
* virtinst/osdict.py:
551
osdict: Add Ubuntu 10.10 (bz 642441)
554
* tests/testdriver.xml, tests/xmlconfig-xml/misc-qemu-driver-type.xml,
555
tests/xmlconfig.py, virtinst/VirtualDisk.py:
556
VirtualDisk: Fix detecting format of existing block devices (bz
561
cli: Open logging files with O_CLOEXEC (bz 502088)
565
cli: Don't erroneously lower() --boot values (and others) (bz
568
This was a misguided attempt at making parameter parsing more
572
2010-11-13 Marc-André Lureau <marcandre.lureau@redhat.com>
574
* virtinst/VirtualVideoDevice.py:
575
videoDevice: add qxl device for SPICE
578
2010-11-16 Cole Robinson <crobinso@redhat.com>
580
* virtinst/support.py:
581
support: Add check for MigrateDowntime API
584
2010-11-08 Martin Ellis <martin@ellis.name>
586
* virtinst/_util.py, virtinst/util.py:
587
Check /etc/default/keyboard when finding keyboard layout
589
virt-install checks the host system to determine the keyboard layout
590
for virtual machines it creates. One of the places it checks is
591
/etc/default/console-setup. In the next version of Debian, the file
592
to look for is /etc/default/keyboard [1].
594
Currently, the Debian package has a patch to virt-install to check
596
-CONSOLE_SETUP_CONF = "/etc/default/console-setup"
597
+CONSOLE_SETUP_CONF = "/etc/default/keyboard"
599
This patch will check for 'keyboard' and then 'console-setup'
602
2010-11-04 Cole Robinson <crobinso@redhat.com>
604
* tests/xmlconfig-xml/boot-many-devices.xml, tests/xmlconfig-xml
605
/install-kvm-keymap-local.xml, tests/xmlconfig-xml/install-kvm-
606
keymap-none.xml, tests/xmlconfig.py, virtinst/VirtualGraphics.py,
608
virt-install: Fix default keymap for QEMU and -k none
610
Make sure to not pass a keymap for sufficiently new QEMU versions.
613
2010-10-27 Satoru SATOH <satoru.satoh@gmail.com>
615
* AUTHORS, tests/clitest.py, virt-install:
616
virt-install: Accept perms=rw
619
2010-10-27 Martin Ellis <martin@ellis.name>
621
* AUTHORS, virtinst/DistroInstaller.py:
622
virt-install: Improve --initrd-inject to work with latest Ubuntu
625
2010-10-24 bozzo <bozzo@fedoraproject.org>
628
l10n: Updates to French (fr) translation
630
Transmitted-via: Transifex (translate.fedoraproject.org)
633
2010-09-30 aron <aron@fedoraproject.org>
636
l10n: Updates to Chinese (China) (zh_CN) translation
638
Transmitted-via: Transifex (translate.fedoraproject.org)
641
2010-09-13 Shahar Havivi <shaharh@redhat.com>
643
* AUTHORS, virt-install:
644
virt-install: prompt: Fix error on empty input
647
2010-09-08 Cole Robinson <crobinso@redhat.com>
649
* tests/xmlparse-xml/change-guest-out.xml, tests/xmlparse.py,
650
virtinst/FullVirtGuest.py, virtinst/Guest.py:
651
Guest: allow reading <emulator> path
654
* tests/xmlparse-xml/change-disk-in.xml, virtinst/VirtualDisk.py:
655
VirtualDisk: Some XML parsing tweaks
658
* tests/xmlparse.py, virtinst/Boot.py, virtinst/Clock.py,
659
virtinst/DomainFeatures.py, virtinst/Installer.py,
660
virtinst/Seclabel.py, virtinst/XMLBuilderDomain.py:
661
Fix get_xml_config when parsing Guest subclasses
664
* tests/xmlconfig.py:
665
tests: xmlconfig: Fix test dependency on local keymap
668
* tests/xmlparse-xml/add-devices-in.xml, tests/xmlparse-xml/add-
669
devices-out.xml, tests/xmlparse-xml/change-minimal-guest-in.xml,
670
tests/xmlparse-xml/change-minimal-guest-out.xml:
671
Actually add new test files
674
* tests/xmlparse.py, virtinst/Clock.py, virtinst/DomainFeatures.py,
675
virtinst/Guest.py, virtinst/Seclabel.py,
676
virtinst/XMLBuilderDomain.py:
677
Guest: When parsing XML, always have Clock, Seclabel, Features
681
* tests/xmlconfig.py, virt-install, virtinst/Guest.py,
682
virtinst/Seclabel.py:
683
Guest: Always have a Seclabel, just make it default to empty
686
* tests/xmlconfig-xml/boot-fullyvirt-pxe-always.xml,
687
tests/xmlconfig.py, virtinst/Seclabel.py:
688
Seclabel: Simplify bare XML creation
691
2010-09-07 Cole Robinson <crobinso@redhat.com>
693
* virtinst/VirtualDisk.py:
694
VirtualDisk: Remove __repr__ override
696
Actually more useful for debugging to see the default class repr()
699
* tests/xmlconfig.py, tests/xmlparse.py, virtinst/DomainFeatures.py,
700
virtinst/Guest.py, virtinst/VirtualHostDevice.py,
701
virtinst/XMLBuilderDomain.py:
702
Guest: Support device add/remove for XML parsing
706
clitest: Print confirmation message when finished
709
2010-09-03 Cole Robinson <crobinso@redhat.com>
711
* tests/xmlparse-xml/change-nics-in.xml, tests/xmlparse-xml/console-
712
compat-in.xml, tests/xmlparse-xml/console-compat-out.xml,
713
tests/xmlparse.py, virtinst/VirtualCharDevice.py:
714
VirtualCharDevice: Back compat parsing for ./@tty
717
* tests/xmlconfig-xml/boot-many-nics.xml, tests/xmlconfig.py, tests
718
/xmlparse-xml/change-nics-in.xml, tests/xmlparse-xml/change-nics-
719
out.xml, tests/xmlparse.py, virtinst/VirtualNetworkInterface.py:
720
VirtualNetworkDevice: Add ethernet source dev, and get_source helper
723
* tests/xmlparse-xml/change-inputs-out.xml:
724
Fix leftover test failure
727
* tests/xmlconfig-xml/boot-many-nics.xml, tests/xmlconfig.py, tests
728
/xmlparse-xml/change-nics-out.xml, tests/xmlparse.py,
729
virtinst/VirtualNetworkInterface.py:
730
VirtualNetworkInterface: Support parsing/setting <target dev=
733
* tests/xmlconfig-xml/boot-paravirt-disk-file.xml, tests/xmlconfig.py,
734
virtinst/Installer.py:
735
Installer: Actually fix post_install_check, and test it
739
virt-install: Exit with error code if post_install_check fails
742
2010-09-02 Cole Robinson <crobinso@redhat.com>
744
* tests/xmlparse-xml/change-guest-out.xml, tests/xmlparse.py,
745
virtinst/DomainFeatures.py, virtinst/FullVirtGuest.py,
746
virtinst/Guest.py, virtinst/ParaVirtGuest.py:
747
Add DomainFeatures class for building/parsing <features> XML
750
* tests/xmlparse-xml/change-boot-kernel-in.xml, tests/xmlparse-xml
751
/change-boot-kernel-out.xml, tests/xmlparse-xml/change-boot-multi-
752
in.xml, tests/xmlparse-xml/change-boot-multi-out.xml:
753
Add boot XML parsing test files
757
clitest: Print a '.' for every completed test
760
* tests/xmlparse-xml/change-chars-in.xml, tests/xmlparse-xml/change-
761
chars-out.xml, tests/xmlparse-xml/change-disk-out.xml, tests
762
/xmlparse-xml/change-guest-in.xml, tests/xmlparse-xml/change-guest-
763
out.xml, tests/xmlparse-xml/change-hostdevs-out.xml, tests/xmlparse-
764
xml/change-nics-in.xml, tests/xmlparse-xml/change-nics-out.xml,
765
tests/xmlparse.py, virtinst/Boot.py, virtinst/Guest.py,
766
virtinst/Installer.py, virtinst/XMLBuilderDomain.py,
767
virtinst/_util.py, virtinst/cli.py:
768
XML parsing support for Boot/Installer settings
771
2010-09-01 Cole Robinson <crobinso@redhat.com>
773
* tests/xmlparse-xml/change-guest-in.xml, tests/xmlparse-xml/change-
774
guest-out.xml, tests/xmlparse.py, virtinst/Clock.py,
775
virtinst/Guest.py, virtinst/Seclabel.py:
776
XML parsing support for Clock and Seclabel
779
* tests/xmlparse-xml/change-sounds-out.xml, tests/xmlparse-xml/change-
780
videos-out.xml, tests/xmlparse-xml/change-watchdogs-out.xml,
781
tests/xmlparse.py, virtinst/VirtualAudio.py,
782
virtinst/VirtualVideoDevice.py, virtinst/VirtualWatchdog.py:
783
XML parsing support for audio, video, and watchdogs
786
* tests/xmlparse-xml/change-hostdevs-in.xml, tests/xmlparse-xml
787
/change-hostdevs-out.xml, tests/xmlparse.py,
788
virtinst/VirtualHostDevice.py:
789
VirtualHostDevice: XML Parsing support
792
* tests/xmlparse.py, virtinst/VirtualInputDevice.py:
793
VirtualInputDevice: XML parsing support
796
* tests/xmlparse-xml/change-graphics-in.xml, tests/xmlparse-xml
797
/change-graphics-out.xml, tests/xmlparse.py,
798
virtinst/VirtualGraphics.py:
799
VirtualGraphics: Add XML parsing
802
* tests/xmlconfig-xml/boot-many-devices.xml, tests/xmlconfig.py,
804
Guest: Support multiple <graphics> devices
807
* tests/xmlparse-xml/change-chars-out.xml, tests/xmlparse-xml/change-
808
controllers-out.xml, tests/xmlparse-xml/change-disk-out.xml,
809
tests/xmlparse.py, virtinst/VirtualController.py,
810
virtinst/XMLBuilderDomain.py:
811
VirtualController: XML parsing support
814
* tests/testdriver.xml, tests/xmlparse-xml/change-nics-in.xml, tests
815
/xmlparse-xml/change-nics-out.xml, tests/xmlparse.py,
816
virtinst/Guest.py, virtinst/VirtualNetworkInterface.py:
817
VirtualNetworkInterface: XML parsing support
820
* virtinst/VirtualNetworkInterface.py:
821
VirtualNetworkInterface: Small cleanups
824
2010-08-31 Cole Robinson <crobinso@redhat.com>
826
* tests/__init__.py, tests/xmlconfig-xml/boot-many-chars.xml,
827
tests/xmlconfig.py, tests/xmlparse-xml/change-chars-in.xml, tests
828
/xmlparse-xml/change-chars-out.xml, tests/xmlparse.py, virt-install,
829
virtinst/VirtualCharDevice.py, virtinst/XMLBuilderDomain.py:
830
VirtualCharDevice: Support XML parsing
832
We had to change one piece of the chardev API, all properties are
833
now registered up front. This will mean patching virt-install and
837
* tests/xmlparse-xml/change-chars-in.xml, tests/xmlparse-xml/change-
838
chars-out.xml, tests/xmlparse-xml/change-controllers-in.xml, tests
839
/xmlparse-xml/change-controllers-out.xml, tests/xmlparse-xml/change-
840
graphics-in.xml, tests/xmlparse-xml/change-graphics-out.xml, tests
841
/xmlparse-xml/change-hostdevs-in.xml, tests/xmlparse-xml/change-
842
hostdevs-out.xml, tests/xmlparse-xml/change-inputs-in.xml, tests
843
/xmlparse-xml/change-inputs-out.xml, tests/xmlparse-xml/change-nics-
844
in.xml, tests/xmlparse-xml/change-nics-out.xml, tests/xmlparse-xml
845
/change-sounds-in.xml, tests/xmlparse-xml/change-sounds-out.xml,
846
tests/xmlparse-xml/change-videos-in.xml, tests/xmlparse-xml/change-
847
videos-out.xml, tests/xmlparse-xml/change-watchdogs-in.xml, tests
848
/xmlparse-xml/change-watchdogs-out.xml, tests/xmlparse.py,
849
virtinst/Guest.py, virtinst/VirtualAudio.py,
850
virtinst/VirtualCharDevice.py, virtinst/VirtualController.py,
851
virtinst/VirtualGraphics.py, virtinst/VirtualHostDevice.py,
852
virtinst/VirtualInputDevice.py, virtinst/VirtualNetworkInterface.py,
853
virtinst/VirtualVideoDevice.py, virtinst/VirtualWatchdog.py:
854
Initial wire up for all device parsing
856
Add some simple test stubs as well, so following patches are
860
2010-08-30 Cole Robinson <crobinso@redhat.com>
862
* virtinst/Installer.py:
863
Installer: Fix error in post_install_check
866
* tests/xmlparse-xml/change-disk-in.xml, tests/xmlparse-xml/change-
867
disk-out.xml, tests/xmlparse-xml/change-guest-out.xml,
868
tests/xmlparse.py, virtinst/Guest.py, virtinst/VirtualDevice.py,
869
virtinst/VirtualDisk.py, virtinst/XMLBuilderDomain.py:
870
VirtualDisk: Add XML parsing support
872
Guest is just hacked to only request disk parsing for the moment
875
* virtinst/VirtualDisk.py:
876
VirtualDisk: Fix a possible recursion case
879
* virtinst/VirtualDisk.py:
880
VirtualDisk: Break out lookup_vol_name helper
883
* virtinst/VirtualDisk.py:
884
VirtualDisk: Don't change storage parameters in validate function
886
Change all necessary params in set_* functions.
889
* virtinst/VirtualDisk.py:
890
VirtualDisk: Determine driver values lazilly
893
* tests/validation.py, virtinst/VirtualDisk.py:
894
VirtualDisk: Determine device type lazilly
896
We remove a bogus validation check here, the user should be able to
897
override our logic if we are wrong.
900
* virtinst/VirtualDisk.py:
901
VirtualDisk: Don't sync size values, just return the relevant one
904
2010-08-27 Cole Robinson <crobinso@redhat.com>
906
* virtinst/VirtualDisk.py:
907
VirtualDisk: s/storage_specified()/managed_storage()/g
910
* virtinst/VirtualDisk.py:
911
VirtualDisk: Move label determination to get_selinux_label
914
* virtinst/VirtualDisk.py:
915
VirtualDisk: Move no_storage validation out of the helper function
918
* virtinst/VirtualDisk.py:
919
VirtualDisk: Don't sync storage values, just return the relevant
923
* tests/xmlparse-xml/change-guest-in.xml, tests/xmlparse.py,
924
virtinst/Guest.py, virtinst/XMLBuilderDomain.py:
925
Guest: More thorough XML read/write tests
928
2010-08-26 Cole Robinson <crobinso@redhat.com>
930
* tests/__init__.py, tests/pylint-virtinst.sh, tests/xmlconfig.py,
931
tests/xmlparse-xml/change-guest-in.xml, tests/xmlparse-xml/change-
932
guest-out.xml, tests/xmlparse.py, virtinst/Guest.py,
933
virtinst/XMLBuilderDomain.py:
934
Guest: Allow altering guest properties in parsed XML document
936
We can now feed an existing <domain> definition to a plain Guest
937
object, and alter parameters like name, uuid, etc. in place via the
941
* virtinst/Boot.py, virtinst/Clock.py, virtinst/Guest.py,
942
virtinst/Installer.py, virtinst/Seclabel.py,
943
virtinst/VirtualAudio.py, virtinst/VirtualCharDevice.py,
944
virtinst/VirtualController.py, virtinst/VirtualDevice.py,
945
virtinst/VirtualDisk.py, virtinst/VirtualGraphics.py,
946
virtinst/VirtualHostDevice.py, virtinst/VirtualInputDevice.py,
947
virtinst/VirtualNetworkInterface.py, virtinst/VirtualVideoDevice.py,
948
virtinst/VirtualWatchdog.py, virtinst/XMLBuilderDomain.py:
949
XMLBuilderDomain: Basic XML parsing plumbing
952
* tests/pylint-virtinst.sh, virtinst/Boot.py, virtinst/Clock.py,
953
virtinst/FullVirtGuest.py, virtinst/Guest.py, virtinst/Installer.py,
954
virtinst/Seclabel.py, virtinst/VirtualDevice.py,
955
virtinst/XMLBuilderDomain.py, virtinst/__init__.py:
956
Add XMLBuilderDomain base class
958
All XML building classes share things in common, so stick them in a
959
base class. Standardize xml function naming while we are at it.
962
* virtinst/VirtualDevice.py, virtinst/VirtualDisk.py:
963
VirtualDevice: Only parse capabilities on demand
965
Most devices don't use caps at this point, so don't parse them
969
* tests/__init__.py, tests/xmlconfig-xml/boot-many-devices.xml, tests
970
/xmlconfig-xml/misc-xml-escaping.xml, tests/xmlconfig.py,
971
tests/xmlparse.py, virtinst/Guest.py:
972
Guest: Add basic XML parsing support
975
2010-08-30 elsupergomez <elsupergomez@fedoraproject.org>
978
l10n: Updates to Spanish (Castilian) (es) translation
980
Transmitted-via: Transifex (translate.fedoraproject.org)
983
2010-08-26 warrink <warrink@fedoraproject.org>
986
l10n: Updates to Dutch (Flemish) (nl) translation
988
Transmitted-via: Transifex (translate.fedoraproject.org)
992
l10n: Updates to Dutch (Flemish) (nl) translation
994
Transmitted-via: Transifex (translate.fedoraproject.org)
997
2010-08-26 logan <logan@fedoraproject.org>
1000
l10n: Updates to Spanish (Castilian) (es) translation
1002
Transmitted-via: Transifex (translate.fedoraproject.org)
1005
2010-08-25 raven <raven@fedoraproject.org>
1008
l10n: Updates to Polish (pl) translation
1010
Transmitted-via: Transifex (translate.fedoraproject.org)
1013
2010-08-25 warrink <warrink@fedoraproject.org>
1016
l10n: Updates to Dutch (Flemish) (nl) translation
1018
Transmitted-via: Transifex (translate.fedoraproject.org)
1021
2010-08-24 Cole Robinson <crobinso@redhat.com>
1024
Added tag virtinst-0_500_4 for changeset 3e21bf7b2a74
1027
* ChangeLog, NEWS, man/en/virt-install.1, po/es.po, po/fr.po,
1028
po/it.po, po/ja.po, po/nl.po, po/pl.po, po/pt_BR.po, po/ru.po,
1029
po/sr.po, po/sr@latin.po, po/uk.po, po/virtinst.pot, po/zh_CN.po,
1030
python-virtinst.spec.in, virtinst/version.py:
1032
[3e21bf7b2a74] [virtinst-0_500_4]
1034
* man/en/virt-install.pod.in:
1035
virt-install: man: Fix small typo
1038
2010-08-23 Cole Robinson <crobinso@redhat.com>
1040
* virtinst/Installer.py:
1041
Guest: skip post install disk check if using non-raw format
1044
* virtinst/OSDistro.py:
1045
OSDistro: Properly detect RHEL3 distro
1049
virt-install: If in --prompt mode, ask about overwriting existing
1053
* virtinst/ImageFetcher.py, virtinst/OSDistro.py:
1054
imagefetcher: Better error message for incorrect --location
1058
urltest: Update with F13 location
1061
* virt-clone, virt-convert, virt-image, virt-install, virtinst/cli.py:
1062
virt-*: Don't show backtraces for most errors
1064
Additionally, improve some error message cosmetics.
1068
virt-clone: Don't warn about overwrite of block device
1070
Since nearly every manually specified block path is going to already
1071
exist, don't bother warning about it.
1074
* virtinst/CloneManager.py:
1075
CloneManager: Fix an error message typo
1079
cli: Some small prompting cleanups
1082
* tests/clitest.py, virt-clone, virtinst/CloneManager.py:
1083
virt-clone: Add --clone-running option
1085
Skips shutoff/paused check to allow cloning running VMs. Useful for
1089
* tests/clitest.py, virt-install:
1090
virt-install: Error if --extra-args passed w/o --location
1093
* man/en/virt-install.pod.in:
1094
virt-install: man: explicitly mention kickstart in --extra-args docs
1096
That way users can search the man page for 'kickstart' and find what
1100
* virtinst/osdict.py:
1101
osdict: Add Ubuntu Lucid
1104
* virtinst/osdict.py:
1105
osdict: Add Fedora 14
1108
* man/en/virt-install.pod.in:
1109
virt-install: man: Improve intro and first CLI example
1111
Optimize for people that just want to get started.
1114
2010-08-10 Cole Robinson <crobinso@redhat.com>
1116
* tests/xmlconfig-xml/boot-many-disks2.xml, tests/xmlconfig.py,
1117
virtinst/VirtualDisk.py:
1118
VirtualDisk: Allow specifying non-raw formats for block devices
1121
* tests/xmlconfig-xml/boot-many-disks2.xml, tests/xmlconfig.py,
1122
virtinst/VirtualDisk.py:
1123
VirtualDisk: allow setting driver type/cache without name
1126
2010-08-07 warrink <warrink@fedoraproject.org>
1129
l10n: First Dutch translation
1131
Transmitted-via: Transifex (translate.fedoraproject.org)
1134
2010-08-02 Cole Robinson <crobinso@redhat.com>
1136
* man/en/virt-install.pod.in, tests/xmlconfig-xml/misc-qemu-driver-
1137
overwrite.xml, tests/xmlconfig.py, virtinst/VirtualDisk.py:
1138
virt-install: Set driver type from --disk format=
1140
We can't rely on newer libvirt detecting storage format, so take the
1141
info directly from the user. This fixes creating qcow2 images with
1142
libvirt 0.8.3 and later.
1145
* man/en/virt-install.pod.in, tests/clitest.py, virt-install:
1146
virt-install: Add --disk driver_name and driver_type options
1149
2010-07-28 Cole Robinson <crobinso@redhat.com>
1152
Add Diego to AUTHORS
1155
2010-07-26 Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
1157
* virtinst/osdict.py:
1158
Change network device for FreeBSD 8.x to e1000
1160
Using the FreeBSD 7.x model (ne2k_pci) causes errors related to
1161
corruption of NIC memory with both 8.0 and 8.1, while e1000 works
1165
* virtinst/osdict.py:
1166
Fix spelling of BSD variants official names.
1169
2010-07-27 Cole Robinson <crobinso@redhat.com>
1171
* man/en/virt-install.pod.in, tests/clitest.py, virt-install,
1172
virtinst/Boot.py, virtinst/ImportInstaller.py, virtinst/cli.py:
1173
virt-install: Add a --boot option for configuring post install boot
1176
Allows permanently booting off a kernel/initrd, specifying a boot
1177
device order, and enabling the BIOS boot menu prompt.
1180
* tests/pylint-virtinst.sh, tests/xmlconfig-xml/boot-fullyvirt-pxe-
1181
always.xml, tests/xmlconfig-xml/install-fullyvirt-import-kernel.xml,
1182
tests/xmlconfig-xml/install-fullyvirt-import-multiboot.xml, tests
1183
/xmlconfig-xml/install-paravirt-disk-block.xml, tests/xmlconfig-xml
1184
/install-paravirt-disk-drv-file.xml, tests/xmlconfig-xml/install-
1185
paravirt-disk-drv-phy.xml, tests/xmlconfig-xml/install-paravirt-
1186
disk-drv-tap-qcow.xml, tests/xmlconfig-xml/install-paravirt-disk-
1187
drv-tap.xml, tests/xmlconfig-xml/install-paravirt-disk-file.xml,
1188
tests/xmlconfig-xml/install-paravirt-many-disks.xml,
1189
tests/xmlconfig.py, virtinst/Boot.py, virtinst/DistroInstaller.py,
1190
virtinst/ImageInstaller.py, virtinst/ImportInstaller.py,
1191
virtinst/Installer.py, virtinst/LiveCDInstaller.py,
1192
virtinst/PXEInstaller.py:
1193
Refactor boot XML generation
1195
Implement XML building support for changing post-install boot device
1196
order or use kernel/initrd boot, and boot menu setting.
1199
* tests/image-xml/image-kernel.xml, tests/image-xml/image2guest/image-
1200
xenfv32.xml, tests/image-xml/image2guest/image-xenpv32-kernel.xml,
1201
tests/image-xml/image2guest/image-xenpv32.xml, tests/image.py,
1202
virtinst/ImageInstaller.py:
1203
tests: Test virt-image PV kernel/initrd
1206
* man/en/virt-install.pod.in:
1207
docs: virtio console only supported for libvirt 0.8.3+
1210
* man/en/virt-install.pod.in, tests/clitest.py, tests/xmlconfig-xml
1211
/boot-many-chars.xml, tests/xmlconfig.py, virt-install,
1212
virtinst/VirtualCharDevice.py:
1213
virt-install: Support --console option
1215
Allows specifying a virtio console with --console
1216
pty,target_type=virtio
1219
* man/en/virt-install.pod.in, tests/clitest.py, tests/xmlconfig-xml
1220
/boot-many-chars.xml, tests/xmlconfig.py, virt-install,
1221
virtinst/VirtualCharDevice.py, virtinst/VirtualController.py,
1222
virtinst/VirtualDevice.py:
1223
virt-install: Support --channel option
1225
Used for specifying qemu <channel> devices
1228
* tests/pylint-virtinst.sh:
1229
Drop unneeded pylint hack
1232
2010-07-25 htaira <htaira@fedoraproject.org>
1235
l10n: Updates to Japanese (ja) translation
1237
Transmitted-via: Transifex (translate.fedoraproject.org)
1240
2010-07-21 Cole Robinson <crobinso@redhat.com>
1242
* tests/xmlconfig.py, virtinst/Guest.py:
1243
Guest: Fix setting default values if OS type changes more than once
1245
Not really relevant to the virt-* tools, but a handy internal
1246
cleanup that hopefully will help avoid future bugs. Internally we
1247
only call set_defaults in a non-persistent manner, so defaults
1248
always take into account user specified values.
1251
* virtinst/FullVirtGuest.py, virtinst/Guest.py:
1252
Guest: Unify emulator XML building in Guest class
1255
* virtinst/Guest.py:
1256
Guest: Simplify device handling during install
1258
Rather than have different functions for listing install devices,
1259
just combine them under the same general calls.
1262
* virtinst/FullVirtGuest.py, virtinst/Guest.py,
1263
virtinst/ParaVirtGuest.py, virtinst/VirtualInputDevice.py:
1264
Guest: Uncomplicate default device setup
1266
Just add default devices up front, and have the OS related device
1267
settings filled in by set_defaults.
1270
* tests/xmlconfig.py:
1271
tests: Actually run recently added test
1274
2010-07-20 Cole Robinson <crobinso@redhat.com>
1276
* tests/xmlconfig-xml/boot-default-device-removal.xml,
1278
tests: xmlconfig: Test default device removal
1281
* virtinst/ImageInstaller.py, virtinst/Installer.py, virtinst/cli.py:
1285
* tests/cli-test-xml/fakerhel6tree/.treeinfo, tests/cli-test-
1286
xml/fakerhel6tree/images/boot.iso, tests/cli-test-
1287
xml/fakerhel6tree/images/pxeboot/initrd.img, tests/cli-test-
1288
xml/fakerhel6tree/images/pxeboot/vmlinuz, tests/cli-test-
1289
xml/fakerhel6tree/images/xen/initrd.img, tests/cli-test-
1290
xml/fakerhel6tree/images/xen/vmlinuz, tests/clitest.py,
1291
tests/testdriver.xml, tests/xmlconfig-xml/rhel6-kvm-stage1.xml,
1292
tests/xmlconfig-xml/rhel6-kvm-stage2.xml, tests/xmlconfig-xml/winxp-
1293
kvm-stage1.xml, tests/xmlconfig-xml/winxp-kvm-stage2.xml, tests
1294
/xmlconfig-xml/winxp-kvm-stage3.xml, tests/xmlconfig.py:
1295
tests: xmlconfig: Add Full install/continue install testing
1297
These tests should much more closely mimic what virt-install
1301
* tests/xmlconfig.py:
1302
tests: xmlconfig: Unify all Installer() building
1304
This will allow us to change installer parameters globally. Use it
1305
to use a local directory as a scratchdir
1308
* tests/xmlconfig.py:
1309
tests: xmlconfig: Make wrapper helper more flexible
1311
Will be used shortly for full install testing
1314
* virtinst/DistroInstaller.py, virtinst/Guest.py,
1315
virtinst/ImageInstaller.py, virtinst/Installer.py,
1316
virtinst/LiveCDInstaller.py:
1317
Fix device defaults if auto determining OS variant.
1319
Fix the interface between Installer + Guests, for adding devices
1320
recognized during the Installer.prepare() phase. This lets us
1321
properly call set_defaults after prepare(), which fixes the
1325
2010-07-19 Cole Robinson <crobinso@redhat.com>
1327
* virtinst/OSDistro.py:
1328
OSDistro: Fix auto URL detection
1331
2010-07-14 Cole Robinson <crobinso@redhat.com>
1333
* tests/clitest.py, virtinst/ImportInstaller.py:
1334
virt-install: Fix --import install floppy booting
1337
2010-06-23 Cole Robinson <crobinso@redhat.com>
1339
* virtinst/Guest.py:
1340
virt-install: Fix CDROM attach for windows installs
1342
We were unintentionally dropping the CDROM device for the 2nd stage
1346
2010-06-21 Cole Robinson <crobinso@redhat.com>
1348
* tests/capabilities-xml/capabilities-test.xml, tests/xmlconfig-xml
1349
/boot-cpuset.xml, tests/xmlconfig.py, virtinst/Guest.py,
1351
virt-install: Move cpuset=auto logic to Guest class, and test
1354
* tests/capabilities.py:
1355
tests: capabilities: Add some basic topology parsing tests
1358
2010-06-14 Cole Robinson <crobinso@redhat.com>
1360
* virtinst/Storage.py:
1361
Storage: Fix an error message
1364
* virtinst/support.py:
1365
support: Fix check for findStoragePoolSources
1368
2010-06-09 Cole Robinson <crobinso@redhat.com>
1371
dist: include manpage makefile. Fixes RPM build
1374
2010-05-20 Cole Robinson <crobinso@redhat.com>
1376
* virtinst/Storage.py:
1377
Storage: Sanitize pool paths before defining
1380
2010-05-13 Cole Robinson <crobinso@redhat.com>
1382
* tests/clitest.py, virt-install:
1383
virt-install: Handle commas in security labels
1386
2010-05-12 Cole Robinson <crobinso@redhat.com>
1388
* tests/urltest.py, virtinst/DistroInstaller.py, virtinst/OSDistro.py:
1389
OSDistro: Unify media acquire* functions
1392
* virtinst/DistroInstaller.py, virtinst/ImageInstaller.py,
1393
virtinst/ImportInstaller.py, virtinst/Installer.py,
1394
virtinst/LiveCDInstaller.py, virtinst/OSDistro.py,
1395
virtinst/PXEInstaller.py:
1396
Remove unneeded 'distro' parameter from various methods
1399
2010-05-06 Cole Robinson <crobinso@redhat.com>
1401
* virtinst/Guest.py:
1402
Guest: Don't permenantly attach transient non-media disks
1405
* virtinst/DistroInstaller.py:
1406
Fix virt-install --location dvd.iso
1409
2010-05-12 Cole Robinson <crobinso@redhat.com>
1411
* virtinst/support.py:
1412
support: Add check for managed save
1415
2010-05-04 Cole Robinson <crobinso@redhat.com>
1417
* virtinst/VirtualDisk.py:
1418
VirtualDisk: Refresh parent pool if we don't find requested volume
1421
2010-04-26 Colin Walters <walters@verbum.org>
1423
* man/en/virt-install.1, man/en/virt-install.pod.in, virt-install,
1424
virtinst/DistroInstaller.py, virtinst/Installer.py:
1425
Add --initrd-inject option
1427
For automating Fedora installations using Kickstart, a neat trick is
1428
to put the kickstart file into the initrd. Then there's no need to
1429
have a separate webserver or NFS mount just so anaconda can retrieve
1434
virt-install --initrd-injections=/path/to/my.ks -x "ks=file:/my.ks"
1437
This functionality really needs to be in virt-install because it's
1438
the code which is downloading and then consuming the initrd. An open
1439
question is whether it makes sense to have higher level options
1442
--kickstart=/path/to/my.ks
1444
which would imply both of the above options. This would be
1445
Anaconda-specific however.
1448
2010-04-26 Cole Robinson <crobinso@redhat.com>
1450
* tests/pylint-virtinst.sh:
1451
Drop unneeded pylint check.
1454
2010-03-25 logan <logan@fedoraproject.org>
1457
l10n: Updates to Spanish (Castilian) (es) translation
1459
Transmitted-via: Transifex (translate.fedoraproject.org)
1462
2010-03-24 raven <raven@fedoraproject.org>
1465
l10n: Updates to Polish (pl) translation
1467
Transmitted-via: Transifex (translate.fedoraproject.org)
1470
2010-03-24 Cole Robinson <crobinso@redhat.com>
1473
Added tag virtinst-0_500_3 for changeset 00d5a617e214
1476
* ChangeLog, NEWS, man/en/virt-install.1, po/es.po, po/fr.po,
1477
po/it.po, po/ja.po, po/pl.po, po/pt_BR.po, po/ru.po, po/sr.po,
1478
po/sr@latin.po, po/uk.po, po/virtinst.pot, po/zh_CN.po, python-
1479
virtinst.spec.in, virtinst/version.py:
1481
[00d5a617e214] [virtinst-0_500_3]
1483
2010-03-23 Cole Robinson <crobinso@redhat.com>
1485
* virtinst/VirtualWatchdog.py:
1486
VirtualWatchdog: Better handle unexpected action type
1489
* man/en/virt-install.pod.in, tests/clitest.py, virt-install,
1490
virtinst/Seclabel.py:
1491
virt-install: Add --security option for specifying <seclabel> XML
1495
virt-install: Enable all devices for non-HVM
1497
While things like sound devs and watchdogs are HVM only, encoding
1498
this info into virt-install is kind of useless: having these devices
1499
in the XML is misleading, but not harmful. This will save bug
1500
reports like 'hey why doesn't --soundhw work for PV'
1503
* virtinst/PXEInstaller.py:
1504
PXEInstaller: Fix a TODO item
1507
* man/en/virt-install.pod.in, tests/clitest.py, virt-install,
1509
virt-install: Add more flexible --soundhw option, deprecate --sound
1512
* man/en/virt-install.pod.in, virt-install:
1513
virt-install: Reorganize --help and man page option listing
1516
2010-03-23 Jiri Denemark <jdenemar@redhat.com>
1518
* virtinst/VirtualDisk.py:
1519
VirtualDisk: Use O_DSYNC when allocating storage
1521
Otherwise xen can get racy on some machines since the page cache is
1525
2010-03-22 Cole Robinson <crobinso@redhat.com>
1527
* tests/capabilities-xml/libvirt-0.7.6-qemu-caps.xml,
1528
tests/capabilities.py, virtinst/CapabilitiesParser.py:
1529
CapabilitiesParser: Break out CPU into its own class
1532
* man/en/virt-clone.1, man/en/virt-install.1, man/en/virt-
1533
install.pod.in, tests/clitest.py, tests/xmlconfig-xml/boot-many-
1534
devices.xml, tests/xmlconfig.py, virt-install,
1535
virtinst/VirtualDevice.py, virtinst/VirtualWatchdog.py,
1536
virtinst/__init__.py:
1537
virt-install: Add --watchdog support
1540
* virtinst/Guest.py:
1541
Remove now-dead code
1544
* virtinst/Guest.py:
1545
Guest: Refactor device building to be a bit safer
1548
* tests/xmlconfig-xml/boot-many-devices.xml, tests/xmlconfig.py,
1549
virtinst/VirtualController.py, virtinst/VirtualDevice.py,
1550
virtinst/__init__.py:
1551
Add VirtualControll module
1554
* virtinst/VirtualDisk.py:
1555
VirtualDisk: Fix use of conn in is_conflict_disk
1558
* virtinst/Guest.py:
1559
Guest: Stub out <cpu> XML building, refactor a bit
1562
2010-03-22 mvdz <mvdz@fedoraproject.org>
1565
l10n: Added Ukrainian translation
1567
Transmitted-via: Transifex (translate.fedoraproject.org)
1570
2010-03-19 Cole Robinson <crobinso@redhat.com>
1572
* tests/clitest.py, virtinst/Guest.py:
1573
Fix windows installs, add a test to prevent regression
1576
2010-03-17 Cole Robinson <crobinso@redhat.com>
1578
* tests/testdriver.xml, tests/validation.py:
1579
tests: Add inactive pool VirtualDisk validation
1582
* tests/testdriver.xml:
1583
Fix test driver to work with latest libvirt
1586
* virtinst/VirtualDisk.py:
1587
VirtualDisk: No op refactor of storage lookup code
1590
2010-03-04 Marc Deslauriers <marc.deslauriers@ubuntu.com>
1592
* virtinst/keytable.py:
1593
keytable: Add 'ca' mapping
1596
2010-03-03 Cole Robinson <crobinso@redhat.com>
1598
* virtinst/VirtualDisk.py:
1599
VirtualDisk: Add helper function stat_local_path
1602
* virtinst/VirtualDisk.py:
1603
VirtualDisk: Add static path_in_use_by function
1606
2010-03-01 Cole Robinson <crobinso@redhat.com>
1608
* virtinst/__init__.py:
1609
Revert debugging change used in previous commit
1612
* virtinst/__init__.py, virtinst/cli.py:
1613
Hopefully fix unicode locale use once and for all!
1616
* virt-clone, virt-convert, virt-image, virt-install, virtinst/cli.py:
1617
Move some common code into cli.py
1621
Revert inadvertent change.
1624
2010-03-01 Michael Scherer <misc@zarb.org>
1626
* virt-install, virtinst/osdict.py:
1627
osdict: Add some mandriva distro options
1630
2010-03-01 Cole Robinson <crobinso@redhat.com>
1633
Clean up virt-* --help formatting.
1636
* virt-clone, virtinst/cli.py:
1637
virt-clone: Better error message if not enough --file passed
1640
* tests/clitest.py, virtinst/CloneManager.py:
1641
testcli: Test cloning with --preserve and read only images
1644
* tests/cli-test-xml/clone-disk-noexist.xml, virtinst/CloneManager.py:
1645
virt-clone: Handle interfaces without mac addresses
1647
This can come up using --original-xml
1650
* tests/cli-test-xml/clone-disk-noexist.xml, tests/clitest.py,
1651
virtinst/CloneManager.py, virtinst/_util.py:
1652
virt-clone: Fix --preserve-data with non-existent disks
1654
Useful for using an XML file template, but not doing storage
1658
* virtinst/VirtualDisk.py:
1659
VirtualDisk: Add a 'validate' property, which tells us to skip
1663
* man/en/virt-clone.pod, virt-clone:
1664
virt-clone: Improve doc for --preserve-data
1667
2010-02-28 Cole Robinson <crobinso@redhat.com>
1669
* virt-install, virtinst/Guest.py:
1670
Guest: Move some virt-install logic into Guest class
1673
* virtinst/Guest.py:
1674
Guest: Largely combine the start_install/continue_install logic
1678
virt-install: Combine 2 diagnostic messages
1681
* tests/xmlconfig-xml/winxp-kvm-stage2.xml, tests/xmlconfig-xml/winxp-
1682
kvm-stage3.xml, tests/xmlconfig.py:
1683
tests: xmlconfig: Make sure continue install test functions properly
1686
* virtinst/Guest.py:
1687
Guest: Factor out some duplicate install routines
1690
* virtinst/Guest.py:
1691
Guest: Break out some start_install functionality for readability
1694
* tests/interface.py, tests/validation.py, virtinst/Interface.py:
1698
* virtinst/Guest.py:
1699
Guest: Reorganize some code placement and add some documentation
1702
2010-02-27 Cole Robinson <crobinso@redhat.com>
1704
* tests/xmlconfig-xml/winxp-kvm-stage1.xml, tests/xmlconfig-xml/winxp-
1705
kvm-stage2.xml, tests/xmlconfig-xml/winxp-kvm-stage3.xml,
1707
tests: xmlconfig: Make sure we test all phases of a windows install
1710
* tests/validation.py:
1714
* virtinst/Guest.py:
1715
Guest: Use default arguments for continue_install
1718
2010-02-26 Cole Robinson <crobinso@redhat.com>
1720
* virtinst/Storage.py:
1721
clone: Show storage progress capped at capacity, rather than
1725
* tests/interface-xml/test-ethernet-copy-proto.xml,
1726
tests/interface.py, virtinst/Interface.py:
1727
Interface: Allow passing in a chunk of protocol XML
1729
This allows users to easily copy a protocol chunk from an existing
1733
* virtinst/support.py:
1734
support: Add checks for DOMAIN_XML flags
1737
2010-02-23 Cole Robinson <crobinso@redhat.com>
1739
* virtinst/Storage.py:
1740
Storage: Don't error if asked about unknown pool type
1743
* tests/xmlconfig-xml/install-f11-ac97.xml, tests/xmlconfig-
1744
xml/install-f11-noac97.xml:
1745
Actually add intended test files.
1749
urltest: Use FullVirtGuest to avoid error
1752
2010-02-17 Cole Robinson <crobinso@redhat.com>
1754
* tests/xmlconfig-xml/install-windowsxp-kvm.xml, tests/xmlconfig.py,
1755
virtinst/Guest.py, virtinst/osdict.py:
1756
Default to 'vga' video model for windows guests.
1759
* tests/xmlconfig-xml/boot-many-devices.xml, tests/xmlconfig-xml
1760
/install-windowsxp-kvm.xml, tests/xmlconfig.py, virt-image, virt-
1761
install, virtinst/VirtualVideoDevice.py, virtinst/cli.py:
1762
virt-install: Auto add a <video> device if graphics are specified
1765
* man/en/virt-install.pod.in, tests/xmlconfig.py, virtinst/osdict.py:
1766
Use the AC97 sound model by default (if hypervisor supports it).
1769
* virtinst/osdict.py, virtinst/support.py:
1770
osdict: Use 'support' module for all heavy lifting
1773
* tests/xmlconfig-xml/boot-windowsxp-kvm.xml, tests/xmlconfig-
1774
xml/install-f10.xml, tests/xmlconfig-xml/install-f11-qemu.xml, tests
1775
/xmlconfig-xml/install-f11.xml, tests/xmlconfig-xml/install-
1776
windowsxp-kvm.xml, tests/xmlconfig.py:
1777
tests: xmlconfig: Add better qemu and kvm XML testing
1780
* virtinst/VirtualDisk.py:
1781
VirtualDisk: Don't list 'driver' section is disk is empty
1784
* tests/xmlconfig-xml/boot-many-sounds.xml, tests/xmlconfig-xml
1785
/install-windowsxp-kvm.xml, tests/xmlconfig-xml/install-windowsxp-
1786
xennew.xml, tests/xmlconfig-xml/install-windowsxp-xenold.xml,
1787
tests/xmlconfig.py, virtinst/Guest.py, virtinst/VirtualAudio.py,
1788
virtinst/cli.py, virtinst/osdict.py:
1789
osdict: Allow setting a preferred sound device model
1791
Have VirtualAudio no default to model = MODEL_DEFAULT, which can be
1792
overridden by Guest.
1795
* virtinst/FullVirtGuest.py, virtinst/osdict.py:
1796
osdict: Use VirtualDevice types as device param keys
1799
2010-02-16 Cole Robinson <crobinso@redhat.com>
1801
* tests/clitest.py, virt-install:
1802
virt-install: Sanitize i.86 -> i686
1805
* virtinst/Interface.py, virtinst/Storage.py,
1806
virtinst/VirtualCharDevice.py:
1807
Prefer use of local xml_escape over saxutils
1809
Ours actually escapes single quotes.
1813
tests: Add name collision CLI test
1816
2010-02-15 Cole Robinson <crobinso@redhat.com>
1818
* tests/clitest.py, virt-image, virtinst/Guest.py:
1819
virt-image: Fix --replace
1822
* tests/clitest.py, tests/testdriver.xml, virtinst/VirtualDisk.py:
1823
VirtualDisk: Don't warn about collisions for shareable disks
1826
* virtconv/__init__.py:
1827
virtconf: Add ovf to parsers list.
1830
* virtinst/VirtualDisk.py:
1831
VirtualDisk: Don't bomb if getfacl isn't available
1835
autobuild: Remove coverage specific files
1837
We now use the system installed coverage rather than a locally
1838
stored one, so drop these files.
1841
2010-02-10 Cole Robinson <crobinso@redhat.com>
1843
* tests/capabilities-xml/libvirt-0.7.6-qemu-no-kvmcaps.xml,
1844
tests/capabilities.py, virtinst/CapabilitiesParser.py:
1845
Capabilities: Add a xenner util func
1848
* tests/capabilities-xml/empty-caps.xml, tests/capabilities-
1849
xml/rhel5.4-kvm-caps.xml, tests/capabilities-xml/rhel5.4-xen-caps-
1850
virt-disabled.xml, tests/capabilities-xml/rhel5.4-xen-caps-virt-
1851
enabled.xml, tests/capabilities.py, virtinst/CapabilitiesParser.py:
1852
CapabilitiesParser: Add various utility functions for detecting HVM
1855
* tests/capabilities-xml/empty-caps.xml, tests/capabilities-
1856
xml/libvirt-0.7.6-qemu-caps.xml, tests/capabilities-xml/rhel5.4-xen-
1857
caps-virt-disabled.xml, tests/capabilities-xml/rhel5.4-xen-caps.xml,
1858
tests/capabilities.py, virtinst/CapabilitiesParser.py:
1859
capabilities: Learn to parse new style CPU caps
1862
* man/en/virt-install.pod.in, tests/clitest.py, tests/xmlconfig-xml
1863
/boot-many-devices.xml, tests/xmlconfig.py, virt-install,
1865
virt-install: Add --description option
1867
This sets the <description> field in the guest XML.
1870
2010-02-09 raven <raven@fedoraproject.org>
1873
Sending translation for Polish
1876
2010-02-09 logan <logan@fedoraproject.org>
1879
Sending translation for Spanish
1882
2010-02-08 Cole Robinson <crobinso@redhat.com>
1885
Added tag virtinst-0_500_2 for changeset a703a003f903
1888
* .hgtags, ChangeLog, NEWS, po/es.po, po/fr.po, po/it.po, po/ja.po,
1889
po/pl.po, po/pt_BR.po, po/ru.po, po/sr.po, po/sr@latin.po,
1890
po/virtinst.pot, po/zh_CN.po, python-virtinst.spec.in,
1891
virtinst/version.py:
1893
[a703a003f903] [virtinst-0_500_2]
1895
* man/en/virt-install.1, man/en/virt-install.pod.in, tests/clitest.py,
1896
tests/testdriver.xml, virtinst/NodeDeviceParser.py,
1897
virtinst/VirtualHostDevice.py:
1898
virt-install: Allow specifying --host-device by lsusb, lspci output
1901
* tests/clitest.py, tests/xmlconfig-xml/boot-many-devices.xml,
1902
tests/xmlconfig.py, virtinst/VirtualDisk.py:
1903
VirtualDisk: Support floppy 'dir' mode (fat:floppy for qemu)
1907
util: Don't limit random mac addr range
1909
This function was originally taken from xen, which limited the range
1910
to reserve some MAC addresses for possible internal testing. Doesn't
1911
seem like it was ever leveraged in practice, and libvirt doesn't
1912
limit mac generation in a similar way, so just drop it.
1915
* tests/clitest.py, virtinst/VirtualDisk.py:
1916
VirtualDisk: Qemu can actually support more than 2 IDE cdroms
1919
* tests/pylint-virtinst.sh, virtinst/ImageInstaller.py,
1920
virtinst/VirtualDevice.py:
1924
* tests/__init__.py, tests/clitest.py, tests/interface-xml/test-bond-
1925
arp.xml, tests/interface-xml/test-bond-mii.xml, tests/interface-xml
1926
/test-bond.xml, tests/interface-xml/test-bridge-ip.xml, tests
1927
/interface-xml/test-bridge.xml, tests/interface-xml/test-ethernet-
1928
params.xml, tests/interface-xml/test-ethernet.xml, tests/interface-
1929
xml/test-vlan.xml, tests/interface.py, tests/testdriver.xml,
1930
tests/validation.py, virtinst/Interface.py, virtinst/__init__.py,
1931
virtinst/_util.py, virtinst/support.py:
1932
Add Interface module for building libvirt interface XML
1935
2010-01-12 Cole Robinson <crobinso@redhat.com>
1937
* tests/__init__.py, tests/virtconv-test.py, tests/virtconvtest.py:
1938
tests: Rename virtconv-test to virtconvtest for easier importing
1941
2010-01-27 Cole Robinson <crobinso@redhat.com>
1943
* tests/pylint-virtinst.sh:
1944
Fix an error detecting pylint features
1947
2010-01-15 Cole Robinson <crobinso@redhat.com>
1950
virt-clone: Priviledge checks should happen after conn opening
1952
Otherwise we don't know what the real default URI will be.
1955
2010-02-08 Cole Robinson <crobinso@redhat.com>
1957
* tests/clonetest.py, virtinst/VirtualNetworkInterface.py,
1959
util: Break out helper for mac address validation
1962
2010-02-07 Cole Robinson <crobinso@redhat.com>
1964
* tests/xmlconfig-xml/install-f11-xen.xml, tests/xmlconfig-
1965
xml/install-f11.xml, virtinst/VirtualDisk.py:
1966
VirtualDisk: If path is overwritten, invalidate cached storage
1970
2010-02-06 Cole Robinson <crobinso@redhat.com>
1972
* virtinst/VirtualHostDevice.py:
1973
VirtualHostDevice: Don't error if nodedev dettach isn't supportted.
1976
* tests/xmlconfig-xml/boot-many-devices.xml, tests/xmlconfig.py,
1977
virtinst/Guest.py, virtinst/Seclabel.py, virtinst/__init__.py:
1978
Add 'Seclabel' module for building <seclabel> XML
1981
* virtinst/Clock.py, virtinst/FullVirtGuest.py, virtinst/Guest.py,
1982
virtinst/__init__.py:
1983
Add a proper 'Clock' class for building <clock> XML
1986
2010-02-07 Cole Robinson <crobinso@redhat.com>
1988
* tests/image-xml/image2guest/image-xenpv32.xml, tests/xmlconfig-xml
1989
/install-windowsxp-xenold.xml, virt-install,
1990
virtinst/FullVirtGuest.py, virtinst/Guest.py,
1991
virtinst/ImageInstaller.py, virtinst/ParaVirtGuest.py:
1992
Allow setting <features> for all guest types
1994
Even though it doesn't have any meaning for PV guests, it's just a
1995
pain to have it be FV specific, so drop it.
1998
* man/en/virt-install.pod.in, tests/clitest.py, virt-install,
2000
virt-install: Add --autostart, to mark autostart flag for new
2004
* virtinst/Guest.py, virtinst/VirtualDevice.py,
2005
virtinst/VirtualDisk.py, virtinst/VirtualHostDevice.py,
2006
virtinst/VirtualNetworkInterface.py:
2007
Add a common setup_dev function for all VirtualDevices.
2009
This replaces setup() functions, and has a common signature for all
2013
* virtinst/FullVirtGuest.py, virtinst/Guest.py,
2014
virtinst/ParaVirtGuest.py:
2015
Guest: Make set_defaults a public function.
2017
API users can run this before the install step to fill in guest
2018
defaults. This step isn't required, but can be useful to get a full
2019
idea of what XML will be created.
2022
* tests/xmlconfig.py, virtinst/FullVirtGuest.py, virtinst/Guest.py,
2023
virtinst/ParaVirtGuest.py:
2024
Guest: Add default devices up front, rather then at install time
2026
This gives API users a chance to remove these default devices, not
2027
to only have them reappear when install is kicked off.
2030
2010-02-05 Cole Robinson <crobinso@redhat.com>
2032
* virtinst/ImageInstaller.py:
2033
ImageInstaller: Remove unneeded blktap hack (handled by
2037
2010-02-06 Cole Robinson <crobinso@redhat.com>
2039
* virtinst/Guest.py:
2040
Guest: Error if request is made to remove unknown device
2043
2010-02-05 Cole Robinson <crobinso@redhat.com>
2045
* virtinst/ImageInstaller.py, virtinst/ImageManager.py,
2046
virtinst/__init__.py:
2047
ImageManager.py -> ImageInstaller.py
2050
2010-02-03 Cole Robinson <crobinso@redhat.com>
2053
Better error reporting when opening ~/.virtinst
2056
2010-02-03 logan <logan@fedoraproject.org>
2059
Sending translation for Spanish
2062
2010-01-25 raven <raven@fedoraproject.org>
2065
Sending translation for Polish
2068
2010-01-25 Cole Robinson <crobinso@redhat.com>
2070
* man/en/virt-install.1, man/en/virt-install.pod.in, po/es.po,
2071
po/fr.po, po/it.po, po/ja.po, po/pl.po, po/pt_BR.po, po/sr.po,
2072
po/sr@latin.po, po/virtinst.pot, po/zh_CN.po,
2073
virtinst/DistroInstaller.py, virtinst/VirtualCharDevice.py:
2074
Fix misspelling of 'pseudo'
2077
2010-01-22 ypoyarko <ypoyarko@fedoraproject.org>
2080
Sending translation for po/ru.po
2083
2010-01-21 Cole Robinson <crobinso@redhat.com>
2085
* virtinst/Installer.py:
2086
Installer: Make sure we set always set a default scratchdir
2088
Running as root with no libvirt dirs present (due to a messed up
2089
install) could try to return an unset scratchdir
2092
2010-01-14 Cole Robinson <crobinso@redhat.com>
2094
* python-virtinst.spec.in:
2095
Fix RPM building on RHEL6
2098
2009-12-07 Cole Robinson <crobinso@redhat.com>
2100
* tests/clonetest.py:
2101
tests: Properly clean up created files in clonetest
2104
2009-12-16 logan <logan@fedoraproject.org>
2107
Sending translation for Spanish
2110
2009-12-11 Cole Robinson <crobinso@redhat.com>
2112
* setup.py, tests/cli-test-xml/virtconv/virtimage/data.raw, tests/cli-
2113
test-xml/virtconv/virtimage/root.raw, tests/cli-test-
2114
xml/virtconv/virtimage/scratch.raw, tests/cli-test-
2115
xml/virtconv/virtimage/test1.virt-image, tests/cli-test-
2116
xml/virtconv/vmx/data.raw, tests/cli-test-xml/virtconv/vmx/root.raw,
2117
tests/cli-test-xml/virtconv/vmx/scratch.raw, tests/cli-test-
2118
xml/virtconv/vmx/test1.vmx, tests/clitest.py:
2119
testcli: Add virt-convert tests
2123
virt-convert: Don't force vmdk conversion for vmx output
2126
* virtconv/diskcfg.py:
2127
virtconv: Allow converting to qcow, qcow2, and cow
2130
2009-12-10 Cole Robinson <crobinso@redhat.com>
2133
virt-install: If post info info() fails, sleep a bit and try again
2135
Some race conditions (like reading memory info from qemu monitor)
2136
can cause info() to fail, so sleep a bit and give it another try
2140
* man/en/virt-image.1, man/en/virt-image.pod, virt-image:
2141
virt-image: Hide --prompt option (doesn't do anything anyways)
2143
When/if it is ever implemented, we can deal with it then.
2147
virt-install: Wait a bit before checking domain exit status
2149
There are possible races in between leaving the VM console and
2150
checking its status. Wait a bit to facilitate more accurate results,
2151
and also log the VM state and try to handle a crashed VM.
2154
* virtinst/OSDistro.py:
2155
OSDistro: Allow installing old opensuse 10.0
2159
clitest: Add test for extra-args install
2163
urltest: Improve some error reporting, fix tests for old opensuse
2167
virt-install: Fix --prompt if --disk also specified
2171
cli: Clean up prompt question formatting.
2174
2009-12-10 leahliu <leahliu@fedoraproject.org>
2177
Sending translation for Chinese (Simplified)
2180
2009-12-09 Cole Robinson <crobinso@redhat.com>
2182
* virtinst/support.py:
2183
support: Generic exceptions mean libvirt support is busted.
2185
Fixes testing for interface APIs on libvirt < 0.7.4
2188
2009-12-07 raven <raven@fedoraproject.org>
2191
Sending translation for Polish
2194
2009-12-04 Matthias Bolte <matthias.bolte@googlemail.com>
2196
* virtinst/CapabilitiesParser.py:
2197
Check if emulator element is present before accessing it
2199
VMware ESX capabilities don't contain an emulator element. Virt
2200
Manager reports a NoneType exception when trying to connect to an
2204
2009-12-03 Cole Robinson <crobinso@redhat.com>
2207
Added tag virtinst-0_500_1 for changeset 8f01af70e5ca
2212
[8f01af70e5ca] [virtinst-0_500_1]
2215
Added tag virtinst-0_500_1 for changeset 69dc73009f30
2218
* ChangeLog, NEWS, man/en/Makefile, man/en/virt-clone.1, man/en/virt-
2219
convert.1, man/en/virt-image.1, man/en/virt-image.5, man/en/virt-
2220
install.1, po/es.po, po/fr.po, po/it.po, po/ja.po, po/pl.po,
2221
po/pt_BR.po, po/sr.po, po/sr@latin.po, po/virtinst.pot, po/zh_CN.po,
2222
python-virtinst.spec.in, virtinst/version.py:
2223
Prep for release (Update translations, NEWS, version, ...)
2226
* virtinst/Storage.py:
2227
Storage: Don't use libvirt VIR_STORAGE_VOL* flags unless they exist
2230
* virtinst/support.py:
2231
support: Add check for libvirt openAuth
2234
2009-12-02 Cole Robinson <crobinso@redhat.com>
2236
* man/en/virt-install.pod.in, tests/clitest.py, virt-install:
2237
virt-install: --disk: make path= optional
2240
* man/en/virt-install.pod.in, setup.py, tests/clitest.py, virt-image,
2241
virt-install, virtinst/DistroInstaller.py, virtinst/Guest.py,
2243
virt-install: Add --os-variant 'none' option to disable autodetect
2245
First, add a new method set_os_detect to Guest, so that API users
2246
can opt into the behavior, and set the behavior off by default.
2248
However, virt-install will continue to do autodetect by default, but
2249
now users have a way to opt out via --os-variant none
2252
* virtinst/osdict.py:
2253
osdict: Add fedora13 and rhel6 entries
2255
Fedora 12 was mysteriously added to the osdict twice, so just
2259
* tests/urltest.py, virtinst/DistroInstaller.py, virtinst/OSDistro.py,
2261
osdict: Add RHEL 5.4 (and later) value
2263
Also, fix up the URL test suite to verify this change.
2266
* tests/xmlconfig-xml/install-f11-xen.xml, tests/xmlconfig.py,
2268
osdict: Use variables for common device settings
2270
Improves readability a bit.
2273
* virtinst/Storage.py:
2274
Storage: Report nicer error if createVolFrom not supported.
2277
2009-12-01 Cole Robinson <crobinso@redhat.com>
2279
* tests/nodedev.py, tests/testdriver.xml,
2280
virtinst/NodeDeviceParser.py:
2281
NodeDeviceParser: Parse nodedev storage media media_label
2283
Not committed upstream yet, but will likely go in, and I'd like this
2284
as early as possible so it makes the pending release.
2287
* virtinst/VirtualGraphics.py:
2288
VirtualGraphics: Fix 'None' keymap on recent qemu
2291
* virtinst/VirtualDisk.py:
2292
VirtualDisk: Clean up fix_search_path logging a bit
2295
* virtinst/DistroInstaller.py, virtinst/Installer.py:
2296
installer: Add public scratchdir_required()
2298
Useful for API users to determine if a scratchdir will be used for
2299
install, so requisit permissions can be checked.
2302
2009-11-29 Cole Robinson <crobinso@redhat.com>
2304
* virtinst/support.py:
2305
support: Fix function checking with empty arg list
2308
2009-11-22 Guido Günther <agx@sigxcpu.org>
2310
* virtinst/VirtualDisk.py:
2311
VirtualDisk: add error handling to VirtualDisk._clone_local()
2314
2009-11-19 Cole Robinson <crobinso@redhat.com>
2316
* virtinst/support.py:
2317
support: Add checks for libvirt network and interface APIs
2320
2009-11-16 Cole Robinson <crobinso@redhat.com>
2322
* virtinst/Guest.py:
2323
Guest: Add static function cpuset_str_to_tuple
2325
Helps using cpuset strings for the pinVcpu command.
2328
* virtinst/support.py:
2329
support: Add support check for domain vcpus()
2332
2009-11-15 Cole Robinson <crobinso@redhat.com>
2334
* virtinst/NodeDeviceParser.py, virtinst/Storage.py,
2335
virtinst/VirtualGraphics.py, virtinst/__init__.py,
2336
virtinst/support.py, virtinst/util.py:
2337
Add a new module 'support' for checking if libvirt feature avail.
2339
Use this new module to implement all the support checks we are
2340
currently using in the code base (with the exception of osdict).
2343
* tests/storage-xml/pool-dir-vol.xml, tests/storage-xml/pool-dir-
2344
volclone.xml, tests/storage-xml/pool-dir-volinput.xml, tests
2345
/storage-xml/pool-disk-vol.xml, tests/storage-xml/pool-disk-
2346
volclone.xml, tests/storage-xml/pool-disk-volinput.xml, tests
2347
/storage-xml/pool-fs-vol.xml, tests/storage-xml/pool-fs-
2348
volclone.xml, tests/storage-xml/pool-fs-volinput.xml, tests/storage-
2349
xml/pool-logical-vol.xml, tests/storage-xml/pool-logical-
2350
volclone.xml, tests/storage-xml/pool-logical-volinput.xml, tests
2351
/storage-xml/pool-netfs-vol.xml, tests/storage-xml/pool-netfs-
2352
volclone.xml, tests/storage-xml/pool-netfs-volinput.xml,
2353
tests/storage.py, tests/testdriver.xml, virtinst/Storage.py:
2354
tests: Make sure storage test output doesn't use local UID
2357
2009-11-11 Cole Robinson <crobinso@redhat.com>
2359
* virt-clone, virt-convert, virt-image, virt-install:
2360
Add --version commands for CLI utils.
2363
* setup.py, virtinst/__init__.py, virtinst/version.py:
2364
Add __version__ and __version_info__ values.
2366
The canonical 'version' value is stored in virtinst/version.py,
2367
which will need to be updated whenever cutting a new release.
2370
2009-10-28 Cole Robinson <crobinso@redhat.com>
2372
* tests/storage-xml/pool-logical-manydev.xml, tests/storage-xml/pool-
2373
logical-target-srcname.xml, tests/storage-xml/pool-logical.xml,
2374
tests/storage.py, virtinst/Storage.py:
2375
Storage: Always set a logical pool source name
2377
Either set it via the pool name, or try to parse the target path for
2381
2009-10-21 Cole Robinson <crobinso@redhat.com>
2383
* tests/storage-xml/pool-logical-list0.xml, tests/storage-xml/pool-
2384
logical-list1.xml, tests/storage-xml/pool-netfs-list0.xml,
2386
tests: Add tests for FindPoolSources
2389
2009-10-22 Cole Robinson <crobinso@redhat.com>
2391
* virtinst/Guest.py:
2392
Guest: Fix up harmless error message typo
2395
2009-10-21 Cole Robinson <crobinso@redhat.com>
2397
* virtinst/CloneManager.py:
2398
CloneManager: Fix error reporting to show the proper erroneous path.
2401
* virtinst/VirtualDisk.py:
2402
VirtualDisk: Fix LVM/Disk volume creation on QEMU
2404
Make sure that a vol_install actually supports the format parameter
2405
before we try and read it.
2408
2009-10-20 Cole Robinson <crobinso@redhat.com>
2410
* virtinst/Storage.py:
2411
Storage: Support listStoragePoolSources
2413
We add a static method to storage pool class that takes the required
2414
params (conn, pool type, extra source attributes) and returns a list
2415
of build pool objects that libvirt gives us.
2418
* virtinst/CapabilitiesParser.py, virtinst/NodeDeviceParser.py,
2420
Break out duplicate XML parsing routings from *Parser files.
2423
* tests/storage-xml/pool-dir-vol.xml, tests/storage-xml/pool-dir-
2424
volclone.xml, tests/storage-xml/pool-dir-volinput.xml, tests
2425
/storage-xml/pool-dir.xml, tests/storage-xml/pool-disk-vol.xml,
2426
tests/storage-xml/pool-disk-volclone.xml, tests/storage-xml/pool-
2427
disk-volinput.xml, tests/storage-xml/pool-disk.xml, tests/storage-
2428
xml/pool-fs-vol.xml, tests/storage-xml/pool-fs-volclone.xml, tests
2429
/storage-xml/pool-fs-volinput.xml, tests/storage-xml/pool-fs.xml,
2430
tests/storage-xml/pool-iscsi.xml, tests/storage-xml/pool-logical-
2431
manydev.xml, tests/storage-xml/pool-logical-srcname.xml, tests
2432
/storage-xml/pool-logical-vol.xml, tests/storage-xml/pool-logical-
2433
volclone.xml, tests/storage-xml/pool-logical-volinput.xml, tests
2434
/storage-xml/pool-logical.xml, tests/storage-xml/pool-netfs-vol.xml,
2435
tests/storage-xml/pool-netfs-volclone.xml, tests/storage-xml/pool-
2436
netfs-volinput.xml, tests/storage-xml/pool-netfs.xml, tests/storage-
2437
xml/pool-scsi.xml, tests/storage.py:
2438
tests: Add XML comparison tests for storage objects
2441
* virtinst/Storage.py:
2442
Storage: Add a newline after generated XML
2444
This helps XML comparison in the test driver, since editting an XML
2445
file with vim won't cause the tests to break (since vim seems to add
2446
some kind of silent trailing character).
2449
* virtinst/Storage.py:
2450
Storage: Fix setting pool UUID on init
2453
2009-10-19 Cole Robinson <crobinso@redhat.com>
2455
* tests/nodedev.py, virtinst/NodeDeviceParser.py:
2456
NodeDevice: Don't error when parsing an unknown device.
2459
* virtinst/NodeDeviceParser.py:
2460
NodeDevice: Use a shared pretty_name where applicable
2463
* tests/storage.py, virtinst/Storage.py:
2464
storage: Allow creating SCSI pools.
2467
* tests/validation.py:
2471
* tests/storage.py, virtinst/Storage.py:
2472
storage: Allow setting logical pool source name
2475
* tests/validation.py:
2476
tests: Use custom testdriver pools/vols in validation.py
2479
2009-10-16 Cole Robinson <crobinso@redhat.com>
2481
* virtinst/Guest.py:
2482
Guest: Fix up XML generation to allow extra pieces without breaking
2486
* tests/clone-xml/fullpool-in.xml, tests/clonetest.py,
2487
tests/testdriver.xml:
2488
tests: Add clone tests for full pools.
2491
* tests/nodedev.py, tests/pylint-virtinst.sh, virt-install,
2492
virtinst/OSDistro.py:
2493
Fix up some pylint issues.
2497
clitest: Add readonly file checks
2500
* tests/pylint-virtinst.sh:
2501
pylint: Make sure we don't add msgs that aren't supported
2505
Add some more cpuset cli tests.
2508
2009-10-05 Cole Robinson <crobinso@redhat.com>
2510
* virtinst/Guest.py:
2511
Allow setting an empty cpuset.
2514
2009-10-14 Cole Robinson <crobinso@redhat.com>
2516
* tests/nodedev.py, virtinst/NodeDeviceParser.py:
2517
NodeDevice: Add fc_host and vport_ops parsing.
2520
* HACKING, README, setup.py, tests/coverage.py:
2521
Remove static coverage.py infavor of the system installed version.
2524
* tests/nodedev-xml/nodexml/net1.xml, tests/nodedev-
2525
xml/nodexml/net2.xml, tests/nodedev-xml/nodexml/pci1.xml, tests
2526
/nodedev-xml/nodexml/pci2.xml, tests/nodedev-
2527
xml/nodexml/scsibus.xml, tests/nodedev-xml/nodexml/scsidev.xml,
2528
tests/nodedev-xml/nodexml/storage1.xml, tests/nodedev-
2529
xml/nodexml/storage2.xml, tests/nodedev-xml/nodexml/system.xml,
2530
tests/nodedev-xml/nodexml/usbbus.xml, tests/nodedev-
2531
xml/nodexml/usbdev1.xml, tests/nodedev-xml/nodexml/usbdev2.xml,
2532
tests/nodedev.py, tests/testdriver.xml:
2533
tests: Update libvirt test driver to read node device XML
2535
Allows us to ditch all the nodexml files we keep around.
2538
* virtinst/Installer.py:
2539
Fix error generating scratchdir for xen installs.
2542
2009-10-13 Cole Robinson <crobinso@redhat.com>
2544
* tests/clitest.py, virtinst/Guest.py:
2545
virt-install: Fix --cpuset
2547
A commit before 0.500.0 broke cpuset with commas, and the test suite
2548
wasn't checking it. Fix the error and add tests to prevent this in
2552
2009-10-12 Cole Robinson <crobinso@redhat.com>
2554
* virtinst/Installer.py:
2555
Installer: Break out 'what is my scratchdir' logic.
2557
This is really a static choice that doesn't have anything to do with
2561
* tests/__init__.py, tests/image-xml/image2guest/image-xenfv32.xml,
2562
tests/xmlconfig-xml/boot-fullyvirt-disk-block.xml, tests/xmlconfig-
2563
xml/boot-fullyvirt-disk-file.xml, tests/xmlconfig-xml/boot-
2564
fullyvirt-pxe-nodisks.xml, tests/xmlconfig-xml/boot-fullyvirt-
2565
pxe.xml, tests/xmlconfig-xml/boot-many-chars.xml, tests/xmlconfig-
2566
xml/boot-many-devices.xml, tests/xmlconfig-xml/boot-many-disks2.xml,
2567
tests/xmlconfig-xml/boot-many-hostdevs.xml, tests/xmlconfig-xml
2568
/boot-many-nics.xml, tests/xmlconfig-xml/boot-many-sounds.xml, tests
2569
/xmlconfig-xml/boot-windowsxp-kvm.xml, tests/xmlconfig-
2570
xml/install-f10.xml, tests/xmlconfig-xml/install-f11.xml, tests
2571
/xmlconfig-xml/install-fullyvirt-disk-block.xml, tests/xmlconfig-xml
2572
/install-fullyvirt-disk-file.xml, tests/xmlconfig-xml/install-
2573
fullyvirt-import.xml, tests/xmlconfig-xml/install-fullyvirt-
2574
livecd.xml, tests/xmlconfig-xml/install-fullyvirt-pxe-nodisks.xml,
2575
tests/xmlconfig-xml/install-fullyvirt-pxe.xml, tests/xmlconfig-xml
2576
/install-windowsxp-kvm.xml, tests/xmlconfig-xml/install-windowsxp-
2577
xennew.xml, tests/xmlconfig-xml/install-windowsxp-xenold.xml, tests
2578
/xmlconfig-xml/misc-qemu-driver-name.xml, tests/xmlconfig-xml/misc-
2579
qemu-driver-type.xml, tests/xmlconfig-xml/misc-qemu-iso-disk.xml,
2580
tests/xmlconfig-xml/misc-xml-escaping.xml:
2581
Use a real directory as HOME in the test suite.
2584
* virtinst/VirtualDisk.py:
2585
VirtualDisk: If changing path ACL fails, fall back to regular chmod
2589
* virtinst/Installer.py, virtinst/cli.py:
2590
Make .virtinst/* as globally searchable.
2592
Makes life easier for allowing emulator access to downloaded
2596
* virtinst/VirtualDisk.py:
2597
VirtualDisk: Make sure requested user exists when checking disk
2601
2009-10-06 Cole Robinson <crobinso@redhat.com>
2604
clitest: Make sure DISPLAY is set.
2607
2009-10-05 Cole Robinson <crobinso@redhat.com>
2609
* po/es.po, po/it.po, po/pl.po:
2610
Updated translations.
2613
2009-09-28 Cole Robinson <crobinso@redhat.com>
2615
* man/en/virt-install.pod.in, tests/clitest.py,
2616
virtinst/VirtualGraphics.py, virtinst/cli.py:
2617
virt-install: Add --keymap 'none' and 'local' values.
2619
Allows the user more control over the default behavior. Default is
2620
also changed to take the hypervisor and version into account (for
2621
example, newer qemu versions shouldn't have a keymap specified if
2625
* virtconv/parsers/ovf.py, virtinst/Storage.py:
2626
Fix some harmless pylint.
2630
virt-install: clean up --disk vs. --file parsing.
2632
Make it easier to extend in the future without breaking back compat.
2635
2009-09-23 Cole Robinson <crobinso@redhat.com>
2637
* virtinst/VirtualDisk.py:
2638
VirtualDisk: Teach perms changing functions about a target
2642
* virtinst/VirtualDisk.py:
2643
VirtualDisk: Add methods for checking/changing path perms for
2646
Since libvirtd can now run qemu processes as non-root, the tools
2647
need to try to check directory permissions and make sure they are at
2648
least searchable by a specific username. This simply implements the
2649
functions to make that happen.
2652
2009-09-21 Cole Robinson <crobinso@redhat.com>
2654
* tests/testdriver.xml, tests/xmlconfig-xml/misc-qemu-iso-disk.xml,
2655
tests/xmlconfig.py, virtinst/VirtualDisk.py:
2656
VirtualDisk: Don't use 'iso' as a qemu driver name (bz 524109)
2659
* tests/pylint-virtinst.sh:
2660
Ignore a new pylint check.
2663
2009-09-16 Cole Robinson <crobinso@redhat.com>
2665
* virtinst/User.py, virtinst/__init__.py, virtinst/_util.py,
2666
virtinst/cli.py, virtinst/util.py:
2667
Use virtual networking (not user) if we are non-root on
2670
Since virt-install can use policykit now, we can be non-root and
2671
still use qemu:///system.
2674
* tests/pylint-virtinst.sh:
2675
Ignore 'maximum recursion' warnings from pylint.
2678
* virtinst/osdict.py:
2679
osdict: Add 'Fedora 12' entry
2682
* man/en/virt-install.1, man/en/virt-install.pod.in, tests/clitest.py,
2683
virt-install, virtinst/VirtualDisk.py:
2684
virt-install: Add 'format' option to --disk
2686
Allows specifying storage volume format (raw, qcow2, etc.).
2689
2009-09-13 Cole Robinson <crobinso@redhat.com>
2691
* tests/xmlconfig-xml/install-f11.xml, tests/xmlconfig.py,
2692
virtinst/FullVirtGuest.py:
2693
Don't use virtio for cdrom/floppy devices (bz 517151)
2695
Also add a test case to prevent against this issue in the future.
2698
* tests/clitest.py, virtinst/VirtualDisk.py:
2699
Don't erroneously limit the amount of virtio disks (bz 499654)
2701
Just let qemu error if we add too many.
2704
2009-08-05 Alban Browaeys <prahal@yahoo.com>
2706
* AUTHORS, tests/xmlconfig-xml/boot-many-devices.xml,
2707
virtinst/VirtualDisk.py:
2708
Set proper driver type from storage volume xml.
2710
Fixes possible traceback if creating a qemu VM from a storage
2714
2009-08-05 Cole Robinson <crobinso@redhat.com>
2716
* tests/testdriver.xml, tests/xmlconfig-xml/boot-many-devices.xml,
2717
tests/xmlconfig.py, virtinst/VirtualDisk.py:
2718
Add virtual disk XML tests for pulling driver type/name from volume.
2721
2009-07-28 Cole Robinson <crobinso@redhat.com>
2724
Added tag virtinst-0_500_0 for changeset 273dbcbdd051
2727
* python-virtinst.spec.in:
2728
Update spec changelog.
2729
[273dbcbdd051] [virtinst-0_500_0]
2731
* ChangeLog, NEWS, man/en/virt-install.1, setup.py:
2732
Bump version number, update NEWS and CHANGELOG.
2736
Update url test suite with newer fedora links.
2739
* virtinst/osdict.py:
2740
osdict: Add Fedora 12.
2743
* .hgignore, MANIFEST.in, man/en/virt-install.1, po/es.po, po/fr.po,
2744
po/it.po, po/ja.po, po/pl.po, po/pt_BR.po, po/sr.po, po/sr@latin.po,
2745
po/virtinst.pot, po/zh_CN.po, python-virtinst.spec.in:
2746
Refresh man pages, translations, MANIFEST.
2749
* virtinst/VirtualDisk.py:
2750
VirtualDisk: make sure we can actually read volume file.
2752
If user deletes the file behind libvirt's back, we would end up
2753
throwing a confusing error.
2756
* virtinst/Storage.py:
2757
storage: Add 'glusterfs' format option for net pools
2761
Add Michal to AUTHORS.
2764
* HACKING, man/en/virt-image-xml.pod:
2765
Replace et-mgmt-tools references with virt-tools-list.
2768
2009-07-27 Michal Novotny <minovotn@redhat.com>
2770
* virtinst/Guest.py:
2771
Fix CPU Pinning check for pinning string ending with comma
2773
When you provided CPU pinning string that was ending with comma an
2774
uncaught exception occured of ValueError about invalid literal for
2775
int() with base 10 because of empty string passed to int() function.
2776
This patch fixes the lines ending with comma, lines like "1," and
2777
corrects this to correct CPU pinning string, ie. "1".
2780
2009-07-27 Cole Robinson <crobinso@redhat.com>
2782
* man/en/virt-convert.pod, tests/virtconv-files/ovf_input/test1.ovf,
2783
tests/virtconv-files/ovf_input/test2.ovf, tests/virtconv-
2784
files/virtimage_output/ovf2virtimage_test1.virt-image, tests
2785
/virtconv-files/virtimage_output/ovf2virtimage_test2.virt-image,
2786
tests/virtconv-test.py, virtconv/diskcfg.py,
2787
virtconv/parsers/ovf.py:
2788
virtconv: Add OVF input support.
2791
* tests/virtconv-files/virtimage2vmx/image.virt-image, tests/virtconv-
2792
files/virtimage2vmx/image.vmx, tests/virtconv-
2793
files/virtimage_input/test1.virt-image, tests/virtconv-
2794
files/virtimage_output/vmx2virtimage_test1.virt-image, tests
2795
/virtconv-files/vmx2virtimage/test.virt-image, tests/virtconv-
2796
files/vmx2virtimage/test.vmx, tests/virtconv-
2797
files/vmx_input/test1.vmx, tests/virtconv-
2798
files/vmx_output/virtimage2vmx_test1.vmx, tests/virtconv-test.py:
2799
tests: Rearrange virtconv test files.
2801
Split everything into input or output dirs. Don't maintain file
2802
lists in the test code: every input file should at least not crash
2803
if converted to a valid output format.
2807
virt-convert: Move logging earlier to catch option errors
2810
* tests/virtconv-files/virtimage2vmx/image.vmx,
2811
virtconv/parsers/vmx.py:
2812
Change virt-manager URL in generated VMX output.
2816
test: Add --testfile option to setup.py test, allow running a single
2820
2009-07-20 Cole Robinson <crobinso@redhat.com>
2822
* tests/__init__.py, tests/testdriver.xml, tests/validation.py:
2823
tests: Add some pool capacity checks to disk validation suite.
2826
* virtinst/VirtualDisk.py:
2827
VirtualDisk: Fix error message referencing variable before assign.
2830
* tests/validation.py:
2831
tests: Cleanup indentation for VirtualDisk validation tests.
2834
* virtinst/CloneManager.py, virtinst/VirtualDisk.py,
2835
virtinst/_util.py, virtinst/cli.py:
2836
VirtualDisk: Add static method 'path_exists'
2838
Allows API users to verify the passed path exists on the connection
2839
host. This is useful for use in virt-manager, and can replace the
2840
hack method we currently use in virtinst.
2843
2009-07-18 Cole Robinson <crobinso@redhat.com>
2845
* virtinst/CloneManager.py:
2846
clone: Fix up setting list parameters in CloneDesign
2849
* virtinst/CloneManager.py:
2850
clone: Allow changing libvirt connection on CloneDesign object
2853
2009-07-16 Christophe Sauthier <christophe.sauthier@objectif-libre.com>
2855
* AUTHORS, virtinst/osdict.py:
2856
osdict: Add Ubuntu Karmic.
2859
2009-07-14 Cole Robinson <crobinso@redhat.com>
2861
* virtinst/osdict.py:
2862
osdict: Add SLES 11 (supports virtio)
2865
* tests/xmlconfig-xml/boot-windowsxp-kvm.xml, tests/xmlconfig-xml
2866
/boot-windowsxp.xml, tests/xmlconfig-xml/install-windowsxp-kvm.xml,
2867
tests/xmlconfig-xml/install-windowsxp-xennew.xml, tests/xmlconfig-
2868
xml/install-windowsxp-xenold.xml, tests/xmlconfig-xml/install-
2869
windowsxp.xml, tests/xmlconfig.py, virtinst/osdict.py:
2870
Turn on ACPI/APIC for windows, except for Xen < 3.1.0.
2874
https://www.redhat.com/archives/et-mgmt-
2875
tools/2009-July/msg00000.html
2878
* virtinst/Guest.py, virtinst/osdict.py:
2879
Refactor osdict lookup routines.
2881
Allow specifying minimally supported libvirt and hypervisor version
2882
for various parameters. Move most of this code out of Guest and into
2886
2009-07-14 Laurent Léonard <laurent@open-minds.org>
2888
* AUTHORS, virtinst/osdict.py:
2889
Add windows 7 to the osdict.
2892
2009-07-13 Cole Robinson <crobinso@redhat.com>
2894
* man/en/virt-install.pod.in, tests/clitest.py, virt-install,
2896
virt-install: Add --video option.
2898
Takes the video model (cirrus, vga, etc) as the only argument. Can
2899
easily be expanded in the future if needed.
2902
* man/en/virt-install.pod.in, tests/clitest.py, virt-install,
2904
virt-install: Add --serial and --parallel options.
2906
Options take the same form of OPT1=VAL1,OPT2=VAL2,... similar to the
2907
--disk option. The docs describe the rest.
2910
* virtinst/CloneManager.py:
2911
CloneManager: support setting properties as lists.
2913
Many properties (skip_target, force_target, clone_devices,
2914
clone_mac) can currently only be appended to, since behind the
2915
scenes they are lists. Allow passing a list value to overwrite the
2918
Also fix an improper error message.
2921
* virtinst/VirtualDisk.py:
2922
Remove more noisy debugging.
2925
2009-07-12 Cole Robinson <crobinso@redhat.com>
2927
* tests/storage.py, virtinst/Storage.py:
2928
storage: Implement 'disk' volume creation.
2931
2009-07-08 Cole Robinson <crobinso@redhat.com>
2933
* virtinst/VirtualNetworkInterface.py:
2934
Add VirtualNetworkInterface function for returning network type
2938
* tests/validation.py, tests/xmlconfig-xml/boot-many-chars.xml,
2939
tests/xmlconfig.py, virtinst/VirtualCharDevice.py:
2940
Properly generate 'protocol' XML for TCP char devices.
2942
Libvirt docs were incorrect, and I never checked that it actually
2946
* tests/cli-test-xml/faketree/images/xen/initrd.img, tests/cli-test-
2947
xml/faketree/images/xen/vmlinuz, tests/clitest.py, tests/xmlconfig-
2948
xml/boot-many-devices.xml, tests/xmlconfig.py:
2949
Test suite improvements and fixes.
2951
Bring back definition of XML in xmlconfig.py. Add a URL test for
2955
* tests/xmlconfig-xml/boot-many-disks2.xml, virtinst/VirtualDisk.py:
2956
If creating a disk with no media, fill in a default 'type'.
2958
Previously, we could end up with type='None' in the xml, which
2962
* tests/xmlconfig-xml/boot-many-devices.xml,
2963
virtinst/VirtualVideoDevice.py:
2964
Fix video device XML generation.
2967
* tests/xmlconfig-xml/boot-many-devices.xml, tests/xmlconfig.py,
2968
virtinst/VirtualDevice.py, virtinst/VirtualVideoDevice.py,
2969
virtinst/__init__.py:
2970
Add VirtualVideoDevice module, corresponding to new libvirt device
2974
* tests/clonetest.py:
2975
Fix test suite with latest libvirt.
2977
Libvirt adds a default <video> element if none is specified, which
2978
breaks some round trip define/compare tests.
2981
* virtinst/VirtualCharDevice.py:
2982
Add description lookup functions for VirtualCharDevice values.
2985
* virtinst/VirtualCharDevice.py:
2986
Rename VirtualCharDevice source_mode values to be more accurate.
2989
* tests/xmlconfig-xml/boot-many-chars.xml, tests/xmlconfig.py,
2990
virtinst/VirtualCharDevice.py:
2991
s/source_name/bind_name/g and s/connect_name/source_name/g for UDP
2994
This makes source name consistently the default 'connect' target for
2995
network character devices.
2998
* tests/clitest.py, virt-install, virtinst/cli.py:
2999
Break out duplicate command optstring parsing.
3001
We are duplicating effort for --disk and --network: break this code
3002
out into a separate function (will also be useful for --serial,
3006
2009-07-07 "Cole Robinson <crobinso@redhat.com>
3008
* virtinst/VirtualCharDevice.py:
3009
Return proper character device class for dev type 'dev'
3012
* virtinst/__init__.py:
3013
Add VirtualDevice class to the public API.
3016
2009-07-06 Cole Robinson <crobinso@redhat.com>
3018
* virtinst/VirtualDisk.py:
3019
Fix generating disk driver XML from vol_install parameters.
3021
We were mixing up driver name and type. This was breaking XML built
3022
via virt-manager's create wizard. Should have only existed in HG.
3025
2009-07-02 Cole Robinson <crobinso@redhat.com>
3027
* virtinst/Storage.py:
3028
Implement LVM storage pool building from raw disk devices.
3030
The only previous method was for defining a pool from an existing
3034
2009-06-26 David Robinson <zxvdr.au@gmail.com>
3036
* AUTHORS, virtinst/OSDistro.py:
3037
Fix invalid/empty .treeinfo file from causing an exception.
3040
2009-06-24 Cole Robinson <crobinso@redhat.com>
3042
* virt-clone, virtinst/CloneManager.py:
3043
CloneDesign: Move name and disk path generators into the public API.
3045
These utility functions will be useful for other apps looking to
3046
auto generate new names or paths for guests.
3049
* tests/clone-xml/skip-in.xml, tests/clone-xml/skip-out.xml:
3050
Actually add 'skip_target' test files.
3053
* virtinst/Storage.py:
3054
Use allocation as the max value for progress meter when creating
3058
* virtinst/_util.py:
3059
Document _util.generate_name, add a few extra parameters for
3063
* tests/storage.py, virtinst/Storage.py:
3064
Add 'conn' parameter to is_create_vol_from_supported to futureproof
3068
* tests/clonetest.py, virtinst/CloneManager.py:
3069
CloneDesign: Add 'skip_target' property
3071
This works similar to force_target, except tells CloneDesign to
3072
forcibly skip the passed targets. This takes precedence over
3076
* virt-clone, virtinst/CloneManager.py:
3077
CloneDesign: deal with cloning to/from empty paths.
3079
CloneDesign can now handle empty disks in it's original_devices
3080
list, and handle 'None' as a clone_device path. This is requird to
3081
be able to use devices_list to get a full output of disks in the
3085
* virtinst/CloneManager.py:
3086
Add 'clone_policy' property to CloneDesign.
3088
This allows the user to list what metrics the Design will use to
3089
decide what devices should be queued up for cloning. Options are:
3091
CLONE_POLICY_NO_READONLY = 1 CLONE_POLICY_NO_SHAREABLE = 2
3092
CLONE_POLICY_NO_EMPTYMEDIA = 3
3094
This allows us to change the default CloneDesign behavior, which is
3095
to skip all of the above.
3098
* tests/clone-xml/cross-pool-in.xml, tests/clone-xml/cross-pool-
3099
out.xml, tests/clone-xml/force-in.xml, tests/clone-xml/force-
3100
out.xml, tests/clone-xml/managed-storage-in.xml, tests/clone-xml
3101
/managed-storage-out.xml, tests/clone-xml/readonly-disks-in.xml,
3102
tests/clone-xml/readonly-disks-out.xml, tests/clonetest.py,
3103
tests/testdriver.xml:
3104
Add force_target testing to clonetest suite.
3106
Also expand the testdriver to have a lvm pool, and tweak some typos
3110
2009-06-23 Cole Robinson <crobinso@redhat.com>
3112
* tests/clitest.py, virtinst/cli.py:
3113
Allow faux remote URI testing.
3115
We basically add a hack to virtinst/cli which looks for a magic
3116
string __virtinst_test_remote__ at the start of the passed libvirt
3117
uri. If found, we convince the library that we are on a remote
3118
connection, to exercise code paths where we deliberately check this.
3119
Kind of crazy, but hey, it works, and helped find 2 regressions.
3122
* virtinst/CloneManager.py:
3123
Don't erroneously deny remote cloning if libvirt supports it.
3126
* virtinst/VirtualDisk.py:
3127
Unbreak managed storage on remote connection.
3129
This regressed via semi recent virtualdisk refactoring. Regression
3133
* tests/cli-test-xml/clone-disk-managed.xml, tests/clitest.py, tests
3134
/clone-xml/cross-pool-out.xml, tests/clonetest.py,
3135
tests/testdriver.xml, tests/validation.py:
3136
Use a custom libvirt test driver for test suite.
3138
This allows us to avoid setting up non-default storage pools, and
3139
helps with volume testing in the cli suite. This requires some bug
3140
fixes committed to libvirt quite recently.
3144
Add some IDE target cli tests.
3147
* virtinst/CloneManager.py:
3148
Don't check for MAC collision in setup_original.
3150
We check at set time now, so it's kind of redundant. If we ever want
3151
to have absolute last minute validation, we need better
3152
infrastructure anyways.
3155
* virtinst/CloneManager.py:
3156
Simplifications and cleanups in CloneManager.
3158
Don't carry around an index array to specify disks to clone: just
3159
set 'target' in virtual disk. Also, make better use of xml parsing
3164
Fix get_xml_path to return first entry if parse list of options.
3167
* virtinst/CloneManager.py:
3168
Add some documentation to CloneManager properties.
3171
2009-06-22 Cole Robinson <crobinso@redhat.com>
3174
Add myself as a primary AUTHOR, because I'm cool like that.
3177
* AUTHORS, tests/clone-xml/cross-pool-in.xml, tests/clone-xml/empty-
3178
disks-in.xml, tests/clone-xml/general-cfg-in.xml, tests/clone-xml
3179
/managed-storage-in.xml, tests/clone-xml/noclone-storage-in.xml,
3180
tests/clone-xml/readonly-disks-in.xml:
3181
Replace remaining usages of incorrect qemu/kvm mac prefix (Kaspar
3185
2009-06-19 Cole Robinson <crobinso@redhat.com>
3187
* man/en/virt-clone.pod, man/en/virt-install.pod.in, virtinst/util.py:
3188
Correctly generate QEMU/KVM mac address (we were using wrong
3191
See https://www.redhat.com/archives/libvir-
3192
list/2009-June/msg00336.html
3195
2009-06-18 Cole Robinson <crobinso@redhat.com>
3197
* tests/cli-test-xml/faketree/images/boot.iso, tests/cli-test-
3198
xml/faketree/images/pxeboot/initrd.img, tests/cli-test-
3199
xml/faketree/images/pxeboot/vmlinuz, tests/clitest.py:
3200
Add cli test cases for --location and --cdrom URL.
3202
Make a fake centos install directory in the test files that we can
3203
use to trigger the desired behavior.
3206
* virt-install, virtinst/DistroInstaller.py:
3207
virt-install: Fix --cdrom URL installs
3209
This has been busted since at least the prompting refresh.
3212
2009-06-17 Cole Robinson <crobinso@redhat.com>
3214
* virtinst/VirtualNetworkInterface.py, virtinst/_util.py,
3216
Refactor default net device searching.
3218
We had some duplicate code, and some pretty careless code that could
3219
bomb out in corner cases (rhbz 506319)
3222
* virtinst/VirtualAudio.py:
3223
Add 'ac97' to sound model list.
3226
2009-06-12 Cole Robinson <crobinso@redhat.com>
3228
* virt-clone, virt-image, virt-install, virtinst/cli.py:
3229
Let libvirt decide the default connection.
3231
Rather than look for xen or qemu files to determine the default
3232
connection, just pass None to libvirt.open and let it decide for us.
3235
* virtconv/diskcfg.py:
3236
Fix diskcfg typo in kvm-img commit.
3239
2009-06-12 Guido Gunther <Guido Gunther>
3241
* virtinst/osdict.py:
3242
use QEMU's USB Tablet with Squeeze guests evdev picks this up as
3243
mouse which gives more exact mouse handling without the need to
3244
grab/ungrab the mouse anymore.
3245
--- virtinst/osdict.py | 7 +++++++ 1 files changed, 7
3246
insertions(+), 0 deletions(-)
3249
2009-06-09 Cole Robinson <crobinso@redhat.com>
3251
* AUTHORS, virtconv/diskcfg.py:
3252
Use kvm-img if qemu-img is not available. (Doug Goldstein)
3255
2009-06-04 Cole Robinson <crobinso@redhat.com>
3257
* tests/__init__.py, tests/pylint-virtinst.sh, tests/xmlconfig.py,
3258
virt-install, virtinst/ParaVirtGuest.py:
3259
Move file backed disks to use 'tap' driver in ParaVirtGuest.
3261
Add some test cases to exercise the changes, and update pylint
3265
2009-06-04 Guido Gunther <agx@sigxcpu.org>
3268
Parse /etc/default/console-setup for keymap
3270
as used on Debian based distributions.
3273
2009-06-04 Cole Robinson <crobinso@redhat.com>
3276
Don't bail URL test suite if distro detection fails.
3279
* tests/urltest.py, virtinst/OSDistro.py:
3280
Fix fetching a boot.iso from an install URL for most distros.
3282
A deficieny in the test suite was hiding an error. Fix the bug (and
3283
the test suite to catch this in the future).
3286
2009-06-03 Cole Robinson <crobinso@redhat.com>
3289
Remove accidental debug print.
3292
2009-05-07 Cole Robinson <crobinso@redhat.com>
3295
Allow PolicyKit and SASL authentication.
3297
Use openAuth when opening the initial connection: allows PolicyKit
3298
and SASA username/password auth.
3301
2009-05-26 Cole Robinson <crobinso@redhat.com>
3303
* man/en/virt-install.pod.in, virt-install:
3304
virt-install: Make --accelerate behavior the default.
3306
With introduction of the --virt-type option, there is now a way to
3307
specify a deliberately un-accelerated guest (--virt-type qemu). Now
3309
--accelerate the default behavior, since if KVM/KQEMU is present we
3310
can assume the user wants to make use of it.
3313
2009-05-22 Cole Robinson <crobinso@redhat.com>
3315
* man/en/virt-install.pod.in, tests/clitest.py, virt-install:
3316
virt-install: Add --virt-type option.
3318
Allows manually specifying a hypervisor name (kvm, qemu, xen, ...)
3319
which maps to the /domain/@type attribute in libvirt xml.
3322
* man/en/virt-clone.pod, tests/clitest.py, virt-clone,
3323
virtinst/CloneManager.py:
3324
virt-clone: Add --auto-clone option
3326
This option will generate a new VM name, and paths for new storage,
3327
mostly by appending '-clone' to the source name/paths.
3330
* virtinst/Storage.py, virtinst/_util.py:
3331
Add a name generation function to _util.
3333
Useful for finding non colliding names and paths.
3336
* tests/clone-xml/cross-pool-in.xml, tests/clone-xml/cross-pool-
3337
out.xml, tests/clone-xml/managed-storage-in.xml, tests/clone-xml
3338
/managed-storage-out.xml, tests/clonetest.py,
3339
virtinst/CloneManager.py, virtinst/Storage.py,
3340
virtinst/VirtualDisk.py:
3341
Support managed storage cloning with virt-clone.
3343
We move all the cloning routines into VirtualDisk, which saves us
3344
lots of duplicate validation. A new parameter is added to
3345
VirtualDisk: clone_path.
3347
Several test cases are also added.
3350
2009-05-21 Cole Robinson <crobinso@redhat.com>
3352
* tests/storage.py, virtinst/Storage.py, virtinst/_util.py:
3353
Add CloneVolume class.
3355
Used for directly cloning a volume, just using name substitution in
3356
the xml. This is the only future proof way to do it, rather than
3357
pulling info out of the source xml and trying to populate a new
3361
2009-05-26 Cole Robinson <crobinso@redhat.com>
3363
* virtinst/Storage.py, virtinst/VirtualDisk.py:
3364
Add explicit 'file_type' for file vs. block to StorageVolume
3367
Previously we could only glean this information from instanceof.
3370
* tests/storage.py, virtinst/Storage.py:
3371
Add 'input_vol' parameter to StorageVolume objects.
3373
Maps through to virStorageVolCreateXMLFrom, which allows storage
3374
cloning and conversion.
3377
* virtinst/Storage.py:
3378
Report libvirt storage allocation progress.
3380
Requires libvirt 0.6.4 (not yet released) or later.
3383
2009-05-22 Cole Robinson <crobinso@redhat.com>
3385
* virtinst/VirtualDisk.py:
3386
Silence some debugging.
3390
virt-install: Small cleanup
3393
* man/en/virt-install.pod.in, virt-install:
3394
virt-install: Fix --wait -1
3398
Fix typo in error message.
3401
2009-05-15 Cole Robinson <crobinso@redhat.com>
3403
* virtinst/VirtualDisk.py:
3404
Remove libvirt storage sparse-only hack.
3406
Libvirt upstream no longer blocks all pool operations while a file
3407
volume is being allocated, so drop the hack.
3410
2009-05-26 Cole Robinson <crobinso@redhat.com>
3412
* virtinst/VirtualNetworkInterface.py:
3413
Don't make VirtualNetworkInterface.type read only.
3416
2009-05-21 Cole Robinson <crobinso@redhat.com>
3418
* man/en/virt-image.pod, man/en/virt-install.pod.in, virt-image, virt-
3419
install, virtinst/cli.py:
3420
Mark older network and storage cli options as deprectated.
3422
Expand the cli tools output to include simple examples, and don't
3423
list help output for deprecated options.
3426
2009-05-20 Cole Robinson <crobinso@redhat.com>
3428
* man/en/virt-install.pod.in, tests/clitest.py, virtinst/cli.py:
3429
Allow specifying mac= with --network option.
3432
* tests/clitest.py, virt-image, virt-install, virtinst/cli.py:
3433
Clean up cli network parameter handling.
3435
Try to make the whole setup more extensible for adding future
3436
parameters to --network, without having to touch every cli tool that
3440
* tests/clitest.py, virtinst/VirtualNetworkInterface.py:
3441
Clean up some validation in VirtualNetworkInterface
3444
2009-05-11 Cole Robinson <crobinso@redhat.com>
3446
* virt-image, virtinst/cli.py:
3447
Remove some unnecessary wrapper functions from virt-image.
3451
Add some more cli test cases.
3455
Fix virt-image --nographics
3458
2009-05-20 Cole Robinson <crobinso@redhat.com>
3460
* tests/xmlconfig-xml/boot-many-chars.xml, tests/xmlconfig-xml/boot-
3461
many-devices.xml, tests/xmlconfig.py:
3462
Add character device xml building into the test suite.
3465
* tests/image-xml/image2guest/image-xenfv32.xml, tests/xmlconfig-xml
3466
/boot-fullyvirt-disk-block.xml, tests/xmlconfig-xml/boot-fullyvirt-
3467
disk-file.xml, tests/xmlconfig-xml/boot-fullyvirt-pxe-nodisks.xml,
3468
tests/xmlconfig-xml/boot-fullyvirt-pxe.xml, tests/xmlconfig-xml
3469
/boot-many-devices.xml, tests/xmlconfig-xml/boot-many-disks2.xml,
3470
tests/xmlconfig-xml/boot-many-hostdevs.xml, tests/xmlconfig-xml
3471
/boot-many-nics.xml, tests/xmlconfig-xml/boot-many-sounds.xml, tests
3472
/xmlconfig-xml/boot-windowsxp.xml, tests/xmlconfig-
3473
xml/install-f10.xml, tests/xmlconfig-xml/install-f11.xml, tests
3474
/xmlconfig-xml/install-fullyvirt-disk-block.xml, tests/xmlconfig-xml
3475
/install-fullyvirt-disk-file.xml, tests/xmlconfig-xml/install-
3476
fullyvirt-import.xml, tests/xmlconfig-xml/install-fullyvirt-
3477
livecd.xml, tests/xmlconfig-xml/install-fullyvirt-pxe-nodisks.xml,
3478
tests/xmlconfig-xml/install-fullyvirt-pxe.xml, tests/xmlconfig-xml
3479
/install-windowsxp.xml, tests/xmlconfig-xml/misc-qemu-driver-
3480
name.xml, tests/xmlconfig-xml/misc-qemu-driver-type.xml, tests
3481
/xmlconfig-xml/misc-xml-escaping.xml, virtinst/FullVirtGuest.py:
3482
Use device API for the previously hardcoded 'console' device.
3484
Since this changes the xml ordering, lots of test files need
3488
* virtinst/FullVirtGuest.py, virtinst/Guest.py,
3489
virtinst/ParaVirtGuest.py:
3490
Use device APIs for building guest XML.
3493
* virtinst/FullVirtGuest.py, virtinst/Guest.py,
3494
virtinst/ParaVirtGuest.py:
3495
Use VirtualInputDevice internally.
3497
We now only added the default input device if one wasn't manually
3498
specified. This will allow future users to overwrite the previously
3502
* tests/pylint-virtinst.sh, tests/xmlconfig.py,
3503
virtinst/FullVirtGuest.py, virtinst/Guest.py,
3504
virtinst/ImageManager.py, virtinst/ParaVirtGuest.py:
3505
Use internal device APIs when running the install process.
3508
* virtinst/Guest.py:
3509
Add Guest device add/remove API.
3511
Rather than maintain a separate list for each type of device (disks,
3512
nics, hostdevs, ...), add an API for add, removing, and fetching
3515
Back compat with the existing device lists is maintained, but the
3516
new API is required for adding arbitrary input or char devices (and
3517
all new devices going forward.)
3520
* tests/validation.py, virtinst/VirtualDevice.py,
3521
virtinst/VirtualInputDevice.py, virtinst/__init__.py:
3522
Add VirtualInputDevice class.
3525
* tests/pylint-virtinst.sh, tests/validation.py,
3526
virtinst/VirtualCharDevice.py, virtinst/VirtualDevice.py,
3527
virtinst/__init__.py:
3528
Add VirtualCharDevice module.
3530
Used for building serial, parallel, and back-compat console device
3534
* virtinst/VirtualAudio.py, virtinst/VirtualDevice.py,
3535
virtinst/VirtualDisk.py, virtinst/VirtualGraphics.py,
3536
virtinst/VirtualHostDevice.py, virtinst/VirtualNetworkInterface.py:
3537
Add 'virtual_device_type' field to every device class.
3539
Will facilitate a unified device add/remove API for the Guest class.
3542
* tests/xmlconfig-xml/boot-many-devices.xml, tests/xmlconfig-xml/boot-
3543
many-disks2.xml, tests/xmlconfig-xml/boot-many-hostdevs.xml, tests
3544
/xmlconfig-xml/boot-many-nics.xml, tests/xmlconfig-xml/boot-many-
3545
sounds.xml, tests/xmlconfig-xml/boot-windowsxp.xml, tests/xmlconfig-
3546
xml/install-f10.xml, tests/xmlconfig-xml/install-f11.xml, tests
3547
/xmlconfig-xml/install-windowsxp.xml, tests/xmlconfig.py:
3548
Add xml test cases for OS Type/Variant installs + and multi device
3552
* tests/nodedev.py, virtinst/VirtualHostDevice.py:
3553
Fix cosmetic spacing issue with HostDevice xml generation.
3555
Make it more inline with existing device convention.
3558
* tests/__init__.py, tests/image-xml/image.xml, tests/image-
3559
xml/image2guest/image-xenfv32.xml, tests/image-xml/image2guest
3560
/image-xenpv32.xml, tests/image.py:
3561
Use prepare_install in image2guest test suite.
3563
This actually populates devices in the final XML.
3566
2009-05-11 Guido Günther <agx@sigxcpu.org>
3568
* man/en/virt-install.pod.in, tests/clitest.py, virt-image, virt-
3569
install, virtinst/cli.py:
3570
Allow to specify nic model with --network
3573
2009-05-09 Cole Robinson <crobinso@redhat.com>
3575
* tests/pylint-virtinst.sh, tests/xmlconfig-xml/misc-qemu-driver-
3576
name.xml, tests/xmlconfig-xml/misc-qemu-driver-type.xml,
3577
tests/xmlconfig.py, virtinst/VirtualDisk.py:
3578
Add support for QEMU driver name and type to VirtualDisk.
3580
Also add a few test cases to make sure we get expected behavior.
3583
* virtinst/VirtualDevice.py:
3584
Add a _get_uri function to VirtualDevice
3586
Useful for overriding in the test suite to make to fake any uri we
3590
* tests/clitest.py, virtinst/cli.py:
3591
Fix --disk vol= and pool=
3593
Regressed with changes to bring back parameter prompting. Also added
3594
are several cli test cases to catch these regressions in the future.
3598
Use proper image path in clitest, enable a disabled test case.
3601
2009-05-07 Cole Robinson <crobinso@redhat.com>
3604
Log the full virt-* command line.
3607
* man/en/virt-clone.pod, man/en/virt-convert.pod, man/en/virt-
3608
image.pod, man/en/virt-install.pod.in:
3609
Update bug reporting info in manpages.
3611
Basically offload it to http://virt-
3612
manager.et.redhat.com/page/BugReporting
3615
* man/en/virt-image.pod, man/en/virt-install.pod.in:
3616
Tweak 'vnclisten' man page description.
3619
* virtinst/OSDistro.py:
3620
Make sure autodetected OS type/variant are in the osdict.
3622
If not, log a message and set the values to None, rather than barf
3623
later down the line.
3626
* tests/urltest.py, virtinst/OSDistro.py:
3627
Fix os_variant autodetection for F11-{alpha/beta/preview}
3629
Prevents URL installs for the stated releases, unless an --os-
3630
variant is manually specified.
3633
* virtinst/_util.py, virtinst/cli.py:
3634
Add helper 'log_exception' function.
3636
Will log a traceback at the DEBUG level. Useful for logging
3637
deliberately ignored exceptions, without spamming stderr when using
3641
* tests/pylint-virtinst.sh:
3642
Expand 'ignore' parameters regex for pylint script.
3645
2009-05-06 Cole Robinson <crobinso@redhat.com>
3647
* man/en/virt-image.pod, man/en/virt-install.pod.in, tests/clitest.py,
3648
virt-image, virt-install, virtinst/cli.py:
3649
Add a --vnclisten option to virt-install and virt-image.
3652
* virt-image, virt-install, virtinst/cli.py:
3653
Move duplicate graphics options definitions to cli.py
3656
2009-05-07 Cole Robinson <crobinso@redhat.com>
3658
* HACKING, setup.py, tests/cli-test-xml/clone-disk.xml, tests/cli-
3659
test-xml/image.xml, tests/clitest.py:
3660
Add a new test suite 'test_cli'
3662
Exercises various invocations of virt-install, virt-clone, and virt-
3666
2009-05-06 Cole Robinson <crobinso@redhat.com>
3668
* tests/clonetest.py:
3669
Fix a bug in the clone test suite.
3672
* virtinst/CloneManager.py:
3673
Fix a syntax error in CloneManager
3675
Not too harmful, but was squashing legitimate errors if they arose.
3678
* virtinst/VirtualHostDevice.py:
3679
Call host device detach/reset on the correct object.
3681
Fixes PCI assignment, which on libvirt 0.6.2 was busted.
3684
2009-04-23 John Levon <john.levon@sun.com>
3686
* virtinst/OSDistro.py:
3687
Fix processing of extra args for OpenSolaris domains
3689
Signed-off-by: John Levon <john.levon@sun.com>
3692
2009-04-22 Cole Robinson <crobinso@redhat.com>
3694
* tests/pylint-virtinst.sh, virtinst/VirtualDisk.py,
3696
Add selinux_label option to VirtualDisk
3698
If not overridden by the user, selinux_label will be filled with the
3699
label of the specified storage, or "" if we are creating storage.
3701
If the user specifies a label, it will be used to label the new
3702
storage or relabel the existing storage when 'setup()' is called.
3704
This is deliberately crippled at the moment: even if the user
3705
requests it, we will only change the label for existing, local
3706
storage that is marked readonly (basically CD-ROM devices), since
3707
that is the priority case at the moment for Fedora. The code
3708
attempts to be robust in the case of selinux not being present, so
3709
this shouldn't change behavior for other distros.
3713
Don't print two errors if cli validation fails, and not in prompting
3717
* virtinst/VirtualDisk.py:
3718
Break VirtualDisk local file creation out into it's own function.
3721
* virtinst/CloneManager.py, virtinst/VirtualDisk.py:
3722
Use BaseMeter to skip some 'meter == None' checks
3725
* virtinst/VirtualDisk.py:
3726
Factor out some duplicate checking in VirtualDisk
3729
* virtconv/diskcfg.py:
3730
popen2 is deprecated, switch to subprocess.
3733
* tests/pylint-virtinst.sh, virtinst/Installer.py, virtinst/_util.py:
3734
Make sure kernel/initrd tmp directory has correct selinux labelling.
3737
2009-04-20 Cole Robinson <crobinso@redhat.com>
3739
* virtinst/OSDistro.py:
3740
Support post-2009.06 OpenSolaris releases (John Levon)
3743
2009-04-14 Cole Robinson <crobinso@redhat.com>
3746
Updated polish translation.
3749
2009-04-09 Cole Robinson <crobinso@redhat.com>
3751
* po/es.po, po/fr.po, po/it.po, po/ja.po, po/pl.po, po/pt_BR.po,
3752
po/sr.po, po/sr@latin.po, po/virtinst.pot, po/zh_CN.po:
3753
Import updated translations, and resync pot file.
3756
2009-04-08 Cole Robinson <crobinso@redhat.com>
3758
* tests/pylint-virtinst.sh, tests/storage.py, tests/validation.py,
3759
virt-convert, virtconv/parsers/virtimage.py:
3760
Fix up some pylint shown on Fedora 11.
3763
2009-04-06 Cole Robinson <crobinso@redhat.com>
3765
* virtinst/Installer.py:
3766
Only use xen scratchdir if running as root.
3769
* tests/capabilities-xml/capabilities-qemu.xml, tests/capabilities.py,
3770
virtinst/CapabilitiesParser.py:
3771
Add capabilities 'secmodel' parsing.
3774
* tests/xmlconfig.py:
3775
Fix test suite breakage with latest libvirt.
3779
virt-install: Fix error message typo
3782
2009-03-23 Cole Robinson <crobinso@redhat.com>
3785
Add spanish translation.
3788
* man/en/virt-clone.1, man/en/virt-clone.pod, man/en/virt-image.1,
3789
man/en/virt-image.pod, man/en/virt-install.1, man/en/virt-
3790
install.pod.in, virt-clone, virt-image, virt-install,
3792
Bring back prompting for virt-install, virt-image. (though not as
3793
the default behavior)
3795
All apps now have prompting off by default. It can be turned back on
3796
with the --prompt option. A hint to this effect is given when we
3799
Additionally prompt for the virt-install --accelerate option.
3803
Correctly handle 'virt-install --wait 0'
3806
* virtinst/ImageParser.py:
3807
Fix virt-image with scratch + user disks.
3810
* man/en/virt-image.pod:
3811
fix --nographics description in virt-image man page.
3814
2009-03-20 Cole Robinson <crobinso@redhat.com>
3816
* virtinst/VirtualDisk.py:
3817
Remove unneeded logging in VirtualDisk
3820
2009-03-19 Cole Robinson <crobinso@redhat.com>
3822
* virtinst/FullVirtGuest.py, virtinst/VirtualDisk.py:
3823
Fix specifying --disk device=floppy
3826
* virtinst/CloneManager.py, virtinst/_util.py:
3827
Add 'disk_exists' util method, use in CloneManager
3830
2009-03-18 Cole Robinson <crobinso@redhat.com>
3832
* tests/pylint-virtinst.sh:
3833
Add exception to pylint script.
3836
2009-03-18 John Levon <john.levon@sun.com>
3838
* virtinst/Guest.py:
3839
Ignore failures to kill the child console process
3841
For example, it may have quit already.
3843
Signed-off-by: John Levon <john.levon@sun.com>
3846
* virtinst/OSDistro.py:
3847
Support OpenSolaris 2009.06
3849
This has unfortunately moved the location of the boot archive for
3852
Signed-off-by: John Levon <john.levon@sun.com>
3855
* virtinst/DistroInstaller.py, virtinst/OSDistro.py,
3857
Support NetWare PV installs
3859
Signed-off-by: John Levon <john.levon@sun.com>
3862
2009-03-18 Cole Robinson <crobinso@redhat.com>
3864
* virtinst/_util.py, virtinst/cli.py, virtinst/util.py:
3865
Validate passed --keymap value (Tomohiro Takahashi)
3868
* virtinst/VirtualHostDevice.py:
3869
Set host device managed=no for xen
3872
2009-03-17 Cole Robinson <crobinso@redhat.com>
3874
* virtinst/NodeDeviceParser.py, virtinst/VirtualHostDevice.py:
3875
Fix node device dettach/reset libvirt calls
3878
2009-03-09 Cole Robinson <crobinso@redhat.com>
3881
Added tag virtinst-0_400_3 for changeset 6c4f3454c7a4
3884
* ChangeLog, NEWS, setup.py:
3885
Update NEWS, ChangeLog, version #
3886
[6c4f3454c7a4] [virtinst-0_400_3]
3888
* man/en/virt-install.1, po/fr.po, po/it.po, po/ja.po, po/pl.po,
3889
po/pt_BR.po, po/sr.po, po/sr@latin.po, po/virtinst.pot, po/zh_CN.po:
3890
Update translations.
3893
* virtinst/NodeDeviceParser.py:
3894
Add child_dev option to NodeDevice pretty_description.
3897
2009-03-08 Cole Robinson <crobinso@redhat.com>
3899
* virtinst/NodeDeviceParser.py:
3900
Add pretty_name function to NodeDeviceParser classes.
3903
* virtinst/NodeDeviceParser.py:
3904
Remove unimplemented NodeDeviceParser method.
3907
2009-03-07 Cole Robinson <crobinso@redhat.com>
3909
* virtinst/DistroInstaller.py, virtinst/OSDistro.py:
3910
Set Guest.os_variant if detect from install media (and user doesn't
3914
* virtinst/Guest.py:
3915
Default to vcpus=1 on Guest init.
3918
* virtinst/DistroInstaller.py:
3919
Don't override os_type from install media if it was manually set by
3923
* virtinst/Guest.py:
3924
Don't invalidate os_variant if os_type value doesn't change.
3927
2009-03-05 Cole Robinson <crobinso@redhat.com>
3930
Fix using virt-install --file (it's outright broken)
3933
* virtinst/DistroInstaller.py:
3934
Remove debugging print message.
3937
2009-03-04 Cole Robinson <crobinso@redhat.com>
3940
Updated polish translations.
3943
2009-03-03 Cole Robinson <crobinso@redhat.com>
3946
Added tag virtinst-0_400_2 for changeset 4a0ffbcbb83e
3949
* ChangeLog, python-virtinst.spec.in:
3950
Sigh, Update Changelog and spec file.
3951
[4a0ffbcbb83e] [virtinst-0_400_2]
3954
Added tag virtinst-0_400_2 for changeset aac8602d12ea
3961
* man/en/virt-clone.1, man/en/virt-convert.1, man/en/virt-image.1,
3962
man/en/virt-install.1, po/fr.po, po/it.po, po/ja.po, po/pl.po,
3963
po/pt_BR.po, po/sr.po, po/sr@latin.po, po/virtinst.pot, po/zh_CN.po:
3964
Update man pages + translations.
3968
_Actually_ add virt-install --host-device option.
3971
* man/en/virt-install.pod.in, virt-install, virtinst/cli.py:
3972
virt-install: Add --host-device command.
3975
* tests/nodedev-xml/devxml/pcidev.xml, tests/nodedev-
3976
xml/devxml/usbdev1.xml, tests/nodedev-xml/devxml/usbdev2.xml,
3977
tests/nodedev.py, virtinst/Guest.py, virtinst/NodeDeviceParser.py,
3978
virtinst/VirtualHostDevice.py, virtinst/__init__.py:
3979
Add VirtualHostDevice classes, for attaching physical host devices
3983
* tests/__init__.py, tests/nodedev-xml/nodexml/net1.xml, tests
3984
/nodedev-xml/nodexml/net2.xml, tests/nodedev-xml/nodexml/pci1.xml,
3985
tests/nodedev-xml/nodexml/pci2.xml, tests/nodedev-
3986
xml/nodexml/scsibus.xml, tests/nodedev-xml/nodexml/scsidev.xml,
3987
tests/nodedev-xml/nodexml/storage1.xml, tests/nodedev-
3988
xml/nodexml/storage2.xml, tests/nodedev-xml/nodexml/system.xml,
3989
tests/nodedev-xml/nodexml/usbbus.xml, tests/nodedev-
3990
xml/nodexml/usbdev1.xml, tests/nodedev-xml/nodexml/usbdev2.xml,
3991
tests/nodedev.py, virtinst/NodeDeviceParser.py:
3992
Add NodeDeviceParser module for parsing libvirt host device xml.
3995
* man/en/virt-clone.1, man/en/virt-clone.pod, man/en/virt-convert.1,
3996
man/en/virt-convert.pod, man/en/virt-image.1, man/en/virt-image.pod,
3997
man/en/virt-install.1, man/en/virt-install.pod.in, virt-image, virt-
3999
Clean up man pages to have sub catagories, just update them all
4003
* man/en/virt-convert.pod, man/en/virt-image.pod, virt-image:
4004
Add --os-type/variant options to virt-image.
4007
* INSTALL, MANIFEST.in, man/en/virt-convert.pod, man/en/virt-
4008
install.pod, man/en/virt-install.pod.in, setup.py:
4009
Update virt-install man page at 'dist' time with latest os
4013
* virtinst/osdict.py:
4014
Add newer ubuntu variants to osdict (Soren Hansen)
4017
2009-03-02 Cole Robinson <crobinso@redhat.com>
4019
* virtinst/ImageManager.py:
4020
Fix ImageInstaller to correctly not set 'features' for PV guests.
4024
Use os-type/variant regardless of FV vs. PV.
4028
Fix authors spelling.
4031
* AUTHORS, man/en/virt-install.pod, tests/validation.py, virt-install,
4032
virtinst/VirtualDisk.py:
4033
Add virt-install --disk 'cache' option (Ben Kochie)
4037
Clean up virt-install install process.
4040
* virtinst/Guest.py:
4041
Don't continue_install if there is no install phase (import, livecd)
4044
2009-03-01 Cole Robinson <crobinso@redhat.com>
4046
* tests/pylint-virtinst.sh:
4047
Add clearer docs to pylint script about actual bugs.
4050
* virtinst/VirtualDisk.py:
4051
Clean up VirtualDisk xml building a bit.
4054
* virtinst/LiveCDInstaller.py:
4055
LiveCDInstaller: Remove no longer relevant validation check.
4058
* virtinst/DistroInstaller.py, virtinst/Installer.py:
4059
Add Installer detect_distro method.
4061
Calls out to OSDistro to auto determine the OS type/variant of the
4065
* tests/urltest.py, virtinst/OSDistro.py:
4066
Detect os variant from Distro stores (only for RH distros at the
4070
2009-02-26 Cole Robinson <crobinso@redhat.com>
4072
* virtinst/VirtualDisk.py:
4073
Option to return VM names from is_conflict_disk.
4076
2009-02-23 Cole Robinson <crobinso@redhat.com>
4078
* man/en/virt-install.pod, virt-install:
4079
Add virt-install --import option, to use the ImportInstaller
4082
* tests/pylint-virtinst.sh, tests/xmlconfig-xml/install-fullyvirt-
4083
import.xml, tests/xmlconfig-xml/install-paravirt-import.xml,
4084
tests/xmlconfig.py, virtinst/ImportInstaller.py,
4085
virtinst/ParaVirtGuest.py, virtinst/__init__.py:
4086
Add ImportInstaller class.
4088
Used for creating guest xml around an existing disk image. Just uses
4089
the first Guest disk device as the assumed boot device.
4092
* man/en/virt-clone.pod, virt-clone:
4093
Add --original-xml option to virt-clone
4095
Allows passing a libvirt xml file to use as the original guest,
4096
rather than require an existing defined guest on the connection.
4099
* virtinst/osdict.py:
4100
Add Fedora 11 osdict entry. Default to USB tablet for mouse device.
4103
* virtinst/FullVirtGuest.py, virtinst/Guest.py:
4104
Move continue_install functions from FullVirtGuest to Guest.
4107
* tests/validation.py, virtinst/Guest.py:
4108
Check if VM name is already in use at name set time.
4111
2009-02-22 Cole Robinson <crobinso@redhat.com>
4113
* virtinst/OSDistro.py:
4114
Fix URL installs wrt recent internal API changes.
4117
2009-02-21 "Cole Robinson <crobinso@redhat.com>
4119
* virtinst/VirtualDisk.py, virtinst/VirtualNetworkInterface.py,
4121
Expand util.xml_get_path to take an arbitrary xml parse function.
4123
Use this to simplify some xml parsing in the codebase.
4126
* virtinst/VirtualDisk.py, virtinst/VirtualNetworkInterface.py,
4128
Factor out duplicate domain lookup code to util.fetch_all_guests
4131
2009-02-21 Cole Robinson <crobinso@redhat.com>
4133
* virtinst/DistroInstaller.py:
4134
Fix error message typo.
4137
2009-02-21 "Cole Robinson <crobinso@redhat.com>
4139
* virtinst/Guest.py:
4140
Remove useless check in Guest
4143
2009-02-18 Cole Robinson <crobinso@redhat.com>
4145
* virtinst/CapabilitiesParser.py:
4146
Improve a CapabilitiesParser error.
4149
* virtinst/FullVirtGuest.py, virtinst/Guest.py,
4150
virtinst/LiveCDInstaller.py, virtinst/ParaVirtGuest.py,
4152
Centralize more xml building in Guest class
4155
* tests/pylint-virtinst.sh, virt-image, virt-install,
4156
virtinst/CapabilitiesParser.py, virtinst/Installer.py:
4157
Add guest_from_installer helper method to Installer class.
4159
The method returns a valid Guest instance built around the
4160
installers values, since the installer instance has all the info we
4161
need to decide what the user wants for a Guest class.
4163
Also add a 'guest_lookup' method to CapabilitiesParser, which allows
4164
a one stop function for requesting if a virt type is available and
4165
returning the appropriate Capabilities objects, with useful error
4169
* virtinst/DistroInstaller.py, virtinst/FullVirtGuest.py,
4170
virtinst/Guest.py, virtinst/ImageManager.py,
4171
virtinst/LiveCDInstaller.py, virtinst/PXEInstaller.py:
4172
Some formatting and comment cleanup across the board.
4175
* tests/pylint-virtinst.sh, virtinst/DistroInstaller.py,
4176
virtinst/FullVirtGuest.py, virtinst/ImageManager.py,
4177
virtinst/Installer.py, virtinst/LiveCDInstaller.py,
4178
virtinst/PXEInstaller.py, virtinst/ParaVirtGuest.py:
4179
Add public 'get_install_xml' function to installer classes.
4181
This basically swaps out _get_osblob with get_install_xml. There is
4182
now a public interface for querying the installers xml which is
4183
ideally future proof by passing the 'Guest' object for all the
4188
Fix out of bounds error with virt-clone disk prompting.
4191
* tests/validation.py, virtinst/FullVirtGuest.py, virtinst/Guest.py,
4192
virtinst/ImageManager.py, virtinst/Installer.py,
4193
virtinst/ParaVirtGuest.py:
4194
Move arch prop from installer to guest
4197
* tests/validation.py, virt-image, virtinst/ImageManager.py:
4198
Allow passing a connection to ImageInstaller.
4200
Also add ImageInstaller validation testing.
4203
* virtinst/Guest.py, virtinst/Storage.py, virtinst/_util.py:
4204
Factor out duplicate name validation.
4207
* virtinst/__init__.py:
4208
Add 'Storage' module to the public API.
4211
* tests/pylint-virtinst.sh, virtinst/Guest.py,
4212
virtinst/ImageManager.py, virtinst/Installer.py,
4213
virtinst/Storage.py, virtinst/VirtualAudio.py,
4214
virtinst/VirtualGraphics.py, virtinst/VirtualNetworkInterface.py:
4215
Enable 'defined outside __init__' pylint checks and fix associated
4219
* tests/xmlconfig-xml/boot-fullyvirt-pxe-nodisks.xml, tests/xmlconfig-
4220
xml/boot-fullyvirt-pxe.xml, tests/xmlconfig-xml/install-fullyvirt-
4221
pxe-nodisks.xml, tests/xmlconfig-xml/install-fullyvirt-pxe.xml,
4222
tests/xmlconfig.py, virtinst/PXEInstaller.py:
4223
If PXE installing and no disks attached to VM, always boot PXE.
4226
* tests/xmlconfig-xml/install-paravirt-disk-block.xml, tests
4227
/xmlconfig-xml/install-paravirt-disk-drv-file.xml, tests/xmlconfig-
4228
xml/install-paravirt-disk-drv-phy.xml, tests/xmlconfig-xml/install-
4229
paravirt-disk-drv-tap-qcow.xml, tests/xmlconfig-xml/install-
4230
paravirt-disk-drv-tap.xml, tests/xmlconfig-xml/install-paravirt-
4231
disk-file.xml, tests/xmlconfig-xml/install-paravirt-many-disks.xml,
4232
virtinst/DistroInstaller.py, virtinst/FullVirtGuest.py,
4233
virtinst/ImageManager.py, virtinst/Installer.py,
4234
virtinst/LiveCDInstaller.py, virtinst/PXEInstaller.py,
4235
virtinst/ParaVirtGuest.py:
4236
Pass Guest instance to Installer._get_osblob.
4238
Rather than pull out each individual piece of info we need (ishvm,
4242
* tests/urltest.py, virt-image, virt-install,
4243
virtinst/DistroInstaller.py, virtinst/FullVirtGuest.py,
4244
virtinst/Guest.py, virtinst/OSDistro.py:
4245
Make 'arch' an attribute of all guest classes.
4247
As such, try to fix up all places where 'arch' is optional
4248
(OSDistro, etc.) Remove lots of uses of 'platform' and 'uname' since
4249
they aren't applicable in the remote case anyways.
4252
* virtinst/Installer.py:
4253
Add some general documentation on what Installers do
4256
* virtinst/OSDistro.py:
4257
Centralize Distro instantiation.
4261
Fix url test suite if not specifying a local path.
4264
* tests/xmlconfig.py:
4265
Use helper functions for xmlconfig test.
4268
* virtinst/CloneManager.py:
4269
Accomodate no passed meter in CloneManager
4272
* virt-clone, virtinst/CloneManager.py, virtinst/VirtualDisk.py:
4273
virt-clone: better prompting/command line interaction for storage
4278
Print confirmation when virt-clone finishes.
4281
* tests/__init__.py, tests/image-xml/image2guest/image-xenfv32.xml,
4282
tests/xmlconfig-xml/boot-fullyvirt-disk-block.xml, tests/xmlconfig-
4283
xml/boot-fullyvirt-disk-file.xml, tests/xmlconfig-xml/install-
4284
fullyvirt-disk-block.xml, tests/xmlconfig-xml/install-fullyvirt-
4285
disk-file.xml, tests/xmlconfig-xml/install-fullyvirt-livecd.xml,
4286
tests/xmlconfig-xml/install-fullyvirt-pxe.xml, tests/xmlconfig-xml
4287
/misc-xml-escaping.xml, virtinst/VirtualGraphics.py:
4288
Populate SDL display and xauth xml attributes in VirtualGraphics.
4291
2009-02-16 Cole Robinson <crobinso@redhat.com>
4293
* virtinst/VirtualAudio.py, virtinst/VirtualGraphics.py:
4294
Have all device classes extend VirtualDevice
4297
2009-02-15 Cole Robinson <crobinso@redhat.com>
4299
* virtinst/keytable.py, virtinst/util.py:
4300
Be a bit more intelligent when trying to determine VNC keymaps.
4303
2009-02-13 Cole Robinson <crobinso@redhat.com>
4305
* virtinst/Installer.py:
4306
Set default install _os_type value.
4309
2009-02-12 John Levon <john.levon@sun.com>
4311
* virtconv/parsers/virtimage.py:
4312
Fix virt-convert osdict usage
4314
Signed-off-by: John Levon <john.levon@sun.com>
4317
2009-02-10 Cole Robinson <crobinso@redhat.com>
4319
* tests/pylint-virtinst.sh, virtinst/OSDistro.py:
4320
Accommodate yet more pylint.
4323
* virtinst/ImageFetcher.py:
4324
Use urlgrabber for LocalImageFetcher
4331
* virtinst/ImageFetcher.py:
4332
Use safe path building function for local image fetchers.
4335
* virtinst/DistroInstaller.py:
4336
Protect against unspecified connection in distroinstaller.
4339
* setup.py, tests/urltest.py, tests/validation.py:
4340
Allow specifying local file paths (isos, dirs) to test_urls
4343
* virtinst/OSDistro.py:
4344
Check we have mandriva VERSION before attempting to fetch
4348
urltest: Try to handle the occasionaly proxy error
4351
* virtinst/OSDistro.py:
4352
Factor out some duplicate fetching code in OSDistro.
4355
2009-02-09 Cole Robinson <crobinso@redhat.com>
4357
* HACKING, virtinst/__init__.py:
4358
Document the public API.
4361
* tests/urltest.py, virtinst/CloneManager.py,
4362
virtinst/DistroInstaller.py, virtinst/DistroManager.py,
4363
virtinst/FullVirtGuest.py, virtinst/Guest.py,
4364
virtinst/ImageManager.py, virtinst/Installer.py,
4365
virtinst/LiveCDInstaller.py, virtinst/OSDistro.py,
4366
virtinst/PXEInstaller.py, virtinst/ParaVirtGuest.py,
4367
virtinst/VirtualAudio.py, virtinst/VirtualGraphics.py,
4368
virtinst/VirtualNetworkInterface.py, virtinst/__init__.py:
4369
Break out Device and Installer classes to their own files.
4371
From Guest.py: Break out VirtualAudio to VirtualAudio.py Break
4372
out VirtualGraphics to VirtualGraphics.py Break out
4373
VirtualNetworkInterface to VirtualNetworkInterface.py Break out
4374
Installer to Installer.py
4376
From DistroManager.py: Break out PXEInstaller to PXEInstaller.py
4377
Move distro fetch helpers to OSDistro
4379
Rename DistroManager.py to DistroInstaller.py
4383
Fix --wait 0 to imply --noautoconsole
4386
2009-02-07 "Cole Robinson <crobinso@redhat.com>
4389
Clean up variable names in virt-install
4392
2009-02-06 Cole Robinson <crobinso@redhat.com>
4394
* tests/validation.py, virtinst/LiveCDInstaller.py:
4395
Validate livecd installer location at set time, rather than
4400
Hook up specifying disk as 'shareable' via virt-install cli.
4403
* tests/validation.py, virtinst/VirtualDisk.py:
4404
Allow specifying 'shareable' attribute to VirtualDisk
4407
* po/zh-CN.po, po/zh_CN.po:
4408
Renaming zh_CN translation file.
4411
2009-02-06 john <john.levon@sun.com>
4413
* virt-install, virtinst/Guest.py:
4414
Kill console process if control-C is pressed
4416
Signed-off-by: John Levon <john.levon@sun.com>
4420
Default --wait indefinitely for Windows
4422
If we're installing a Windows guest, it will reboot during the
4423
installation. Default to waiting in this case so virt-install is
4424
still around to manage the reboot.
4426
Signed-off-by: John Levon <john.levon@sun.com>
4430
Clean up help message for --livecd
4432
Signed-off-by: John Levon <john.levon@sun.com>
4435
2009-01-30 Cole Robinson <crobinso@redhat.com>
4437
* man/en/virt-install.pod:
4438
virt-install man page type s/bux/bus (Guido Gunther)
4441
2009-01-30 john <john.levon@sun.com>
4443
* man/en/virt-install.pod, virt-install:
4444
Add --nonetworks option
4446
Signed-off-by: John Levon <john.levon@sun.com>
4449
2009-01-30 Cole Robinson <crobinso@redhat.com>
4451
* virtinst/CloneManager.py:
4452
Add CloneManager API to return VirtualDisk objs for original/clone
4455
Now we carry these instances around internally, providing a nice way
4456
to contain size, type, and path info, rather than deal with multiple
4457
lists. This also gives us remote/storage awareness (though we can't
4458
do anything with it yet).
4461
* tests/clone-xml/empty-disks-in.xml, tests/clone-xml/general-cfg-
4462
in.xml, tests/clone-xml/noclone-storage-in.xml, tests/clone-xml
4463
/noclone-storage-out.xml, tests/clone-xml/readonly-disks-in.xml,
4465
Touch some temp files for clone testing.
4468
* tests/clone-xml/empty-disks-out.xml, tests/clone-xml/general-cfg-
4469
in.xml, tests/clone-xml/general-cfg-out.xml, tests/clone-xml
4470
/readonly-disks-out.xml, tests/clonetest.py:
4471
Alter clone test suite to test File->Block and Block->File
4474
* virtinst/CloneManager.py:
4475
Move more functionality into _local_clone.
4478
* virtinst/DistroManager.py, virtinst/VirtualDisk.py,
4480
Have VirtualDisk set 'size' for existing storage.
4483
* tests/validation.py, virtinst/CloneManager.py:
4484
Check clone name collision and set time.
4487
2009-01-29 Cole Robinson <crobinso@redhat.com>
4489
* virtinst/CloneManager.py:
4490
Generate UUID at init time in CloneManager
4493
* virtinst/CloneManager.py:
4494
Define clone VM before duplicating any storage.
4496
This way if the 'define' step fails, we haven't wasted the users
4500
* tests/clone-xml/noclone-storage-in.xml, tests/clone-xml/noclone-
4501
storage-out.xml, tests/clonetest.py, tests/pylint-virtinst.sh:
4502
Add clone tests for remote VM cloning.
4505
* virt-clone, virtinst/CloneManager.py, virtinst/cli.py:
4506
Have virt-clone validation be a bit more remote URI and storage
4510
* virtinst/VirtualDisk.py:
4511
Improve some VirtualDisk error messages when looking up remote
4515
* virtinst/VirtualDisk.py:
4516
Fix VirtualDisk.path building for a vol_install object.
4518
Also touch up some log messages in that area.
4521
2009-01-30 Cole Robinson <crobinso@redhat.com>
4523
* virtinst/CloneManager.py:
4524
Refactor disk cloning to provide better validation.
4526
Essentially, break out cloning into two loops: one to validate and
4527
choose clone method, one to do the actual cloning. This way we can
4528
catch failures early, rather than after cloning a disk or two.
4531
2009-01-29 Cole Robinson <crobinso@redhat.com>
4533
* man/en/virt-clone.pod, tests/validation.py, virt-clone,
4534
virtinst/CloneManager.py:
4535
UUID has never been a valid value for virt-clone original guest.
4537
And since no one has ever reported a bug, just remove the behavior
4538
and change the docs.
4540
Also centralized original guest name validation to be done at set
4544
2009-01-28 Cole Robinson <crobinso@redhat.com>
4546
* virtinst/CloneManager.py:
4547
Break out cloning of local storage to its own function.
4550
2009-01-29 Cole Robinson <crobinso@redhat.com>
4552
* tests/clone-xml/empty-disks-in.xml, tests/clone-xml/empty-disks-
4553
out.xml, tests/clone-xml/general-cfg-in.xml, tests/clone-xml
4554
/general-cfg-out.xml, tests/clone-xml/nostorage-in.xml, tests/clone-
4555
xml/nostorage-out.xml, tests/clone-xml/readonly-disks-in.xml, tests
4556
/clone-xml/readonly-disks-out.xml, tests/clonetest.py:
4557
Actually add all the clone test suite files.
4560
2009-01-28 Cole Robinson <crobinso@redhat.com>
4562
* tests/__init__.py:
4563
Silence libvirt spew during test suite.
4566
2009-01-29 Cole Robinson <crobinso@redhat.com>
4568
* tests/__init__.py:
4569
Add test suite for clone xml altering.
4572
* virtinst/CloneManager.py:
4573
Allow specifying original guest XML to CloneManager.
4575
This removes to requirement to clone an existing guest.
4578
2009-01-28 Cole Robinson <crobinso@redhat.com>
4580
* tests/pylint-virtinst.sh:
4581
Revert pylint script change so that we actually check virtconv
4584
* virtinst/Guest.py, virtinst/ParaVirtGuest.py:
4585
Don't use os_type="linux' for default PV installer.
4587
Also try to validate this at the Installer level and only carry
4588
around 'xen' internally.
4591
2009-01-27 Cole Robinson <crobinso@redhat.com>
4593
* virtinst/Guest.py:
4594
Add function to VirtualGraphics to list valid keymap options.
4597
2009-01-26 Cole Robinson <crobinso@redhat.com>
4600
Fix up url test suite.
4603
* virtinst/Guest.py:
4604
Silence a deprecation warning
4607
* virtinst/OSDistro.py:
4608
Argh, unbreak URL install with extra kernel arguments.
4612
Added tag virtinst-0_400_1 for changeset 1a2a09eef64e
4615
* ChangeLog, NEWS, setup.py:
4616
Update NEWS, changelog, bump release number.
4617
[1a2a09eef64e] [virtinst-0_400_1]
4620
Add pylint script to MANIFEST.
4623
* man/en/virt-clone.1, man/en/virt-convert.1, man/en/virt-image.1,
4624
man/en/virt-image.pod, man/en/virt-pack.1, man/en/virt-pack.pod:
4625
Remove virt-pack docs. Fix virt-image man page error.
4628
* po/fr.po, po/it.po, po/ja.po, po/pl.po, po/pt_BR.po, po/sr.po,
4629
po/sr@latin.po, po/virtinst.pot, po/zh-CN.po:
4630
Refresh translations.
4633
* man/en/virt-clone.1, man/en/virt-install.1, man/en/virt-install.pod:
4634
Add URL examples to virt-install man page, regenerate docs.
4638
Fix setup.py syntax errors.
4641
2009-01-25 Cole Robinson <crobinso@redhat.com>
4643
* INSTALL, setup.py:
4644
Add setup.py 'refresh_translations' command.
4647
* setup.py, tests/pylint-virtinst.sh, virt-convert,
4648
virtconv/__init__.py, virtconv/diskcfg.py, virtconv/formats.py,
4649
virtconv/parsers/virtimage.py, virtconv/parsers/vmx.py,
4651
Export virt-convert strings for translation
4654
* virtinst/Storage.py:
4655
Add some documentation for storage pool parameters.
4658
2009-01-24 Cole Robinson <crobinso@redhat.com>
4660
* virtinst/Guest.py, virtinst/Storage.py, virtinst/_util.py:
4661
Factor out common UUID validation code.
4664
* virtinst/Storage.py:
4665
Remove unused get_type method from StorageVolume.
4668
2009-01-23 Cole Robinson <crobinso@redhat.com>
4671
Clarify virt-install --wait error message.
4674
* virtconv/diskcfg.py:
4675
Fix virt-convert vmdk regression (Joey Boggs)
4678
2009-01-21 Cole Robinson <crobinso@redhat.com>
4680
* virtinst/FullVirtGuest.py:
4681
Fix windows (2 stage) installs with latest libvirt.
4684
* virtinst/VirtualDisk.py:
4685
Remove unnecessary logging in VirtualDisk.
4688
* virtinst/Guest.py:
4689
Factor out common 'wait for guest to startup' code in Guest.py
4692
2009-01-20 "Cole Robinson <crobinso@redhat.com>
4694
* virtinst/CloneManager.py:
4695
Accomodate no 'driver' field if cloning between disks with different
4696
storage types (file vs. block).
4699
2009-01-20 Cole Robinson <crobinso@redhat.com>
4701
* man/en/virt-clone.pod:
4702
Document virt-clone --preserve-data (Tomas Hoger)
4705
* AUTHORS, virt-clone:
4706
Skip virt-clone file existence check if --preserve-data (Tomas
4710
2009-01-20 "Cole Robinson <crobinso@redhat.com>
4712
* virt-clone, virtinst/CloneManager.py:
4713
Allow a progress meter to be passed to CloneManager.start_duplicate
4716
2009-01-20 Cole Robinson <crobinso@redhat.com>
4718
* virtinst/CloneManager.py:
4719
Fix CloneManager to accomodate a VM with disks that don't need to be
4720
cloned (rhbz 480253)
4723
2009-01-14 "Cole Robinson <crobinso@redhat.com>
4725
* virtinst/CloneManager.py, virtinst/Guest.py, virtinst/_util.py:
4726
Move out common uuid collision code to _util.
4729
2009-01-20 Cole Robinson <crobinso@redhat.com>
4731
* virtinst/CloneManager.py:
4732
Documentation and small cleanup improvements to CloneManager.
4735
2009-01-13 "Cole Robinson <crobinso@redhat.com>
4737
* virtinst/VirtualDisk.py:
4738
Improve a VirtualDisk error message.
4741
* virtinst/CloneManager.py:
4742
Remove unused code from CloneManager.
4745
2009-01-14 john <john.levon@sun.com>
4747
* virtinst/OSDistro.py:
4748
Fix virt-install of PV Solaris without extra args
4750
Signed-off-by: John Levon <john.levon@sun.com>
4753
2009-01-12 john <john.levon@sun.com>
4755
* virtinst/DistroManager.py, virtinst/OSDistro.py, virtinst/osdict.py:
4756
Add support for Solaris PV
4758
Solaris PV comes in two flavours: Nevada and OpenSolaris. In order
4759
to correctly build network installs for Nevada, we need to pass down
4760
guest options into OSDistro.
4762
Signed-off-by: John Levon <john.levon@sun.com>
4765
2009-01-12 Cole Robinson <crobinso@redhat.com>
4767
* virtinst/CloneManager.py, virtinst/Guest.py,
4768
virtinst/VirtualDisk.py, virtinst/_util.py:
4769
Add vdisk support (John Levon)
4771
Add support for the vdisk format used in Solaris.
4773
Signed-off-by: John Levon <john.levon@sun.com>
4776
2008-12-16 Cole Robinson <crobinso@redhat.com>
4778
* tests/image-xml/image2guest/image-xenpv32.xml,
4779
virtinst/ImageManager.py:
4780
Have ImageInstaller use the osblob xml building helper.
4783
* tests/image-xml/image-bad-arch.xml, tests/image.py:
4784
Make sure ImageParser is sanitizing the passed architecture.
4787
* virtinst/ImageParser.py, virtinst/_util.py:
4788
Add an internal util command to sanitize a user passed arch.
4791
* virtinst/ImageManager.py:
4792
Improve an error message in ImageInstaller
4795
* tests/image-xml/image.xml, tests/image-xml/image2guest/image-
4796
xenfv32.xml, tests/image-xml/image2guest/image-xenpv32.xml, tests
4797
/image-xml/image2nics.xml, tests/image.py:
4798
Add image.xml->guest.xml testing.
4801
* virtinst/DistroManager.py:
4802
Remove useless init from PXEInstaller
4805
* tests/xmlconfig.py:
4806
Try to define + create generated xml from xmlconfig tests.
4809
* tests/xmlconfig.py:
4810
Break out xmlconfig guest building helpers for use in other test
4814
* virtinst/FullVirtGuest.py:
4815
Don't pass empty conn to is_pae_capable if we can help it.
4818
* tests/validation.py:
4819
Expand validation test suite to test installer/device storage API
4823
* virtinst/VirtualDisk.py:
4824
More VirtualDisk validation cleanup and fixes.
4827
* virtinst/DistroManager.py:
4828
Cleanup DistroInstaller location validation.
4832
Break out pool/vol building helpers for use by other test modules.
4836
Favor active pools in util.lookup_pool_by_path
4839
* tests/coverage.py:
4840
Update coverage.py from upstream
4843
2008-12-11 Cole Robinson <crobinso@redhat.com>
4845
* virtinst/VirtualDisk.py:
4846
Try to make VirtualDisk validation less confusing.
4849
2008-12-10 Cole Robinson <crobinso@redhat.com>
4851
* virt-clone, virt-convert, virt-image, virt-install:
4852
Use OptionGroups for all virt-* --help listings
4855
2008-12-11 Cole Robinson <crobinso@redhat.com>
4858
Use VirtOptionParser in virt-convert
4861
* tests/validation.py:
4862
Move tests/validation code movement.
4865
2008-12-11 john <john.levon@sun.com>
4867
* virtinst/FullVirtGuest.py, virtinst/util.py:
4868
Port utility functions to Solaris
4870
Port the utility functions to Solaris.
4872
Signed-off-by: John Levon <john.levon@sun.com>
4875
* virtinst/CloneManager.py, virtinst/_util.py:
4876
Add utility function for stat() of disks
4878
Signed-off-by: John Levon <john.levon@sun.com>
4881
2008-12-10 Cole Robinson <crobinso@redhat.com>
4884
Fix a couple util imports
4887
2008-12-10 john <john.levon@sun.com>
4889
* virt-clone, virtinst/CloneManager.py, virtinst/DistroManager.py,
4890
virtinst/FullVirtGuest.py, virtinst/Guest.py,
4891
virtinst/ImageManager.py, virtinst/Storage.py, virtinst/User.py,
4892
virtinst/VirtualDevice.py, virtinst/VirtualDisk.py,
4893
virtinst/__init__.py, virtinst/_util.py, virtinst/cli.py,
4895
Fossilize public virtinst.util API
4897
Make virtinst.util API frozen, and move the utility functions into a
4898
private namespace away from the prying eyes of API clients.
4900
As a consequence, create a User class for checking privileges.
4902
Signed-off-by: John Levon <john.levon@sun.com>
4905
* virt-convert, virtconv/diskcfg.py, virtconv/parsers/virtimage.py,
4906
virtconv/parsers/vmx.py:
4907
Various disk-related virt-convert fixes.
4909
Fix a number of issues with disk handling.
4911
Signed-off-by: John Levon <john.levon@sun.com>
4914
2008-12-09 john <john.levon@sun.com>
4916
* virtinst/Guest.py:
4917
Fix legacy get_graphics()
4919
The key needs to be 'enabled' not 'enabled '.
4921
Signed-off-by: John Levon <john.levon@sun.com>
4924
2008-12-09 "Cole Robinson <crobinso@redhat.com>
4926
* tests/validation.py:
4927
Fix up whitespace in validation test suite.
4930
2008-12-07 "Cole Robinson <crobinso@redhat.com>
4932
* python-virtinst.spec.in:
4936
* virtinst/Guest.py, virtinst/osdict.py:
4937
Add back compat for solaris osdict entries.
4940
2008-12-06 "Cole Robinson <crobinso@redhat.com>
4942
* AUTHORS, virtinst/osdict.py:
4943
Add a generic virtio variant to the os dictionary (Michael Marineau)
4946
2008-12-06 john <john.levon@sun.com>
4949
Fix regression with --mac option
4951
Older versions of virt-install allowed a MAC address to be specified
4952
and a default network would be created. For ease of use, if the
4953
user specifies exactly one MAC address, create a default network for
4956
Signed-off-by: John Levon <john.levon@sun.com>
4959
* virtinst/osdict.py:
4962
Make 'solaris' a first-class OS type, and select USB tablet support
4963
for the appropriate variants.
4965
Signed-off-by: John Levon <john.levon@sun.com>
4968
* virtinst/VirtualDisk.py:
4971
VirtualDisk driver name/type need setters.
4973
Signed-off-by: John Levon <john.levon@sun.com>
4976
* virt-clone, virtinst/DistroManager.py, virtinst/Guest.py,
4977
virtinst/cli.py, virtinst/util.py:
4978
Least privilege support
4980
On Solaris, which users can run virt-install depends on their
4981
effective privilege set, not their effective UID.
4983
Signed-off-by: John Levon <john.levon@sun.com>
4986
* virtinst/CloneManager.py, virtinst/util.py:
4987
Provide a common block device size utility for Solaris & Linux.
4989
Signed-off-by: John Danielson <john.danielson@sun.com>
4992
* virtinst/CloneManager.py, virtinst/VirtualDisk.py:
4993
Fix sparse file size off-by-one error
4995
The Solaris loopback driver (lofi) requires files be a multiple of
4996
512-bytes in size. Sparse files created via lseek(f, size, 0) are 1
4997
byte larger than what is being requested.
4999
Signed-off-by: John Danielson <john.danielson@sun.com>
5002
2008-12-06 "Cole Robinson <crobinso@redhat.com>
5004
* AUTHORS, virtinst/util.py:
5005
Remove extra '/' from pool path in lookup_pool_by_path (Andreas
5009
* virtinst/Guest.py, virtinst/osdict.py:
5010
Return sorted os dictionary lists from static Guest methods. Fix
5011
Fedora* sorting to put f10 after f9.
5014
* virtinst/osdict.py:
5015
Don't use disk virtio when installing F9 guests (bz 470389)
5018
2008-12-03 "Cole Robinson <crobinso@redhat.com>
5021
Don't backtrace if there are prompt or force interaction issues.
5024
2008-12-02 john <john.levon@sun.com>
5026
* virtinst/ImageFetcher.py:
5027
Fix mount/unmount for Solaris
5029
mount is not portable: fix for Solaris
5031
Signed-off-by: John Levon <john.levon@sun.com>
5034
* tests/pylint-virtinst.sh:
5035
Fix pylint on Solaris
5037
Use a good enough awk.
5039
Signed-off-by: John Levon <john.levon@sun.com>
5042
2008-12-01 Guido Gunther <agx@sigxcpu.org>
5045
parse xorg.conf for keymap
5048
* tests/pylint-virtinst.sh:
5049
Remove bashisms since we use /bin/sh which is not always bash (it's
5053
2008-11-29 Guido Gunther <agx@sigxcpu.org>
5055
* man/en/virt-install.pod:
5056
Pool separator is '/' not ':'
5059
2008-11-25 "Cole Robinson <crobinso@redhat.com>
5061
* virtinst/Storage.py:
5062
Show error message for unimplemented storage volumes.
5065
2008-11-24 "Cole Robinson <crobinso@redhat.com>
5068
Add a debug statement to urltest.
5071
* virtinst/DistroManager.py, virtinst/OSDistro.py:
5072
Only fetch .treeinfo once when trying to identify a url's distro.
5075
2008-11-20 john <john.levon@sun.com>
5078
Make image.rng validate again
5080
The new checksum element wasn't valid.
5082
Signed-off-by: John Levon <john.levon@sun.com>
5085
2008-11-24 "Cole Robinson <crobinso@redhat.com>
5087
* HACKING, MANIFEST.in:
5091
* setup.py, tests/pylint-virtinst.sh:
5092
Add setup.py 'check' command to run a pylint wrapper.
5095
2008-11-23 "Cole Robinson <crobinso@redhat.com>
5097
* setup.py, tests/__init__.py, tests/urltest.py:
5098
Add url fetching module to test suite.
5101
* virtinst/OSDistro.py:
5102
Use treeinfo parsing for scientific linux.
5105
* virtinst/OSDistro.py:
5106
Have Distro classes register their kernel paths with a common
5107
function, rather than implementing their own acquireKernel
5110
* virtinst/OSDistro.py:
5111
Add _uses_treeinfo attribute to OSDistros.
5114
* virtinst/OSDistro.py:
5115
Have OSDistros register iso paths, rather than reimplement fetching
5119
* virtinst/OSDistro.py:
5120
Add name attribute to OSDistros
5123
* virtinst/Guest.py:
5124
Document not using type parameter.
5127
* virtinst/Storage.py:
5128
Remove storage pylint.
5131
* virtinst/DistroManager.py, virtinst/ImageFetcher.py:
5132
Remove progresscb from ImageFetcher prepareLocation method.
5135
* virtinst/ImageFetcher.py:
5136
ImageFetcher: use hasFile to sanity check passed urls, not
5140
2008-11-22 "Cole Robinson <crobinso@redhat.com>
5142
* virtinst/ImageFetcher.py:
5143
Add ImageFetcher path joining helper method.
5146
2008-11-23 "Cole Robinson <crobinso@redhat.com>
5148
* setup.py, tests/__init__.py:
5149
Add --debug option to test commands, allow debug reporting for
5153
2008-11-22 "Cole Robinson <crobinso@redhat.com>
5155
* tests/__init__.py, tests/virtconv-test.py, tests/xmlconfig.py:
5156
Add helper compare method to tests module.
5159
2008-11-20 "Cole Robinson <crobinso@redhat.com>
5161
* INSTALL, setup.py:
5162
Add setup.py 'rpm' command to build a local rpm.
5165
* MANIFEST.in, python-virtinst.spec.in:
5166
Clean up MANIFEST, fix spec building.
5169
* MANIFEST.in, setup.py:
5170
sed spec.in -> spec when running sdist, so we can package the spec.
5174
Add description for setup.py 'test' command.
5177
2008-11-23 "Cole Robinson <crobinso@redhat.com>
5180
Clean up i18n install command.
5183
2008-11-18 "Cole Robinson <crobinso@redhat.com>
5185
* virtinst/DistroManager.py, virtinst/Guest.py:
5186
Don't pass os_distro to installer if fetching a kernel.
5189
* virtinst/FullVirtGuest.py, virtinst/Guest.py,
5190
virtinst/ParaVirtGuest.py:
5191
Move all _prepare_install logic to base Guest class.
5194
* virtinst/FullVirtGuest.py:
5195
Remove redundant function.
5198
* virtinst/FullVirtGuest.py, virtinst/Guest.py:
5199
Move os_type and os_variant properties to parent Guest class.
5202
2008-11-17 "Cole Robinson <crobinso@redhat.com>
5204
* virtinst/FullVirtGuest.py, virtinst/Guest.py, virtinst/osdict.py:
5205
Move os dictionary to its own file. Associate the dict with Guest
5206
rather than FullVirtGuest.
5209
* virtinst/DistroManager.py, virtinst/OSDistro.py:
5210
Remove GentooDistro class: installing from a gentoo tree isn't all
5211
that useful (or doable AFAICT)
5214
* virtinst/OSDistro.py:
5215
Add support for fetching mandriva kernels.
5218
* virtinst/OSDistro.py:
5219
OSDistro: centralize common initrd/kernel fetching code.
5222
2008-11-23 "Cole Robinson <crobinso@redhat.com>
5224
* virtinst/OSDistro.py:
5225
Add support for fetching ubuntu kernels and boot disks.
5228
2008-11-16 "Cole Robinson <crobinso@redhat.com>
5230
* virtinst/OSDistro.py:
5231
OSDistro: Factor out common fetch-file-and-match-regex code.
5234
* virtinst/OSDistro.py:
5235
Make debian ValidStore a bit less general.
5238
* virtinst/OSDistro.py:
5239
Throw nicer error is suse tree doesn't have a boot.iso
5242
2008-11-17 "Cole Robinson <crobinso@redhat.com>
5244
* virtconv/parsers/virtimage.py:
5245
Don't use ascii_letters, 'string' is deprecated.
5248
* virtinst/FullVirtGuest.py, virtinst/Guest.py,
5249
virtinst/ParaVirtGuest.py:
5250
Specify certain Guest methods as explictly abstract.
5253
2008-11-16 "Cole Robinson <crobinso@redhat.com>
5255
* tests/xmlconfig-xml/install-fullyvirt-livecd.xml,
5256
virtinst/DistroManager.py, virtinst/Guest.py,
5257
virtinst/LiveCDInstaller.py:
5258
Centralize installer xml building in the base Installer class.
5261
* virtinst/Guest.py:
5262
Document some installer methods.
5265
2008-11-15 "Cole Robinson <crobinso@redhat.com>
5267
* virtinst/DistroManager.py, virtinst/FullVirtGuest.py,
5269
Move post_install_check to Installer base class.
5272
2008-11-16 "Cole Robinson <crobinso@redhat.com>
5274
* tests/xmlconfig-xml/install-fullyvirt-livecd.xml, tests/xmlconfig-
5275
xml/install-fullyvirt-pxe.xml, tests/xmlconfig.py:
5276
Add xmlconfig tests for livecd and pxe installer.
5279
2008-11-15 "Cole Robinson <crobinso@redhat.com>
5281
* virtconv/parsers/virtimage.py:
5282
Fix virtconv virtimage parser syntax error.
5285
2008-11-18 "Cole Robinson <crobinso@redhat.com>
5287
* tests/virtconv-test.py, tests/xmlconfig.py, virt-clone, virt-
5288
convert, virt-image, virt-install, virtconv/formats.py,
5289
virtconv/parsers/virtimage.py, virtinst/CapabilitiesParser.py,
5290
virtinst/CloneManager.py, virtinst/DistroManager.py,
5291
virtinst/FullVirtGuest.py, virtinst/Guest.py,
5292
virtinst/ImageFetcher.py, virtinst/ImageManager.py,
5293
virtinst/ImageParser.py, virtinst/OSDistro.py,
5294
virtinst/ParaVirtGuest.py, virtinst/Storage.py,
5295
virtinst/VirtualDisk.py, virtinst/cli.py:
5296
Fix lots of unused argument and unused variable warnings, among
5300
2008-11-04 "Cole Robinson <crobinso@redhat.com>
5302
* tests/image.py, tests/storage.py, tests/validation.py, tests
5303
/virtconv-test.py, virt-install, virtconv/diskcfg.py,
5304
virtconv/parsers/virtimage.py, virtinst/CapabilitiesParser.py,
5305
virtinst/CloneManager.py, virtinst/DistroManager.py,
5306
virtinst/Guest.py, virtinst/ImageFetcher.py,
5307
virtinst/ImageParser.py, virtinst/OSDistro.py,
5308
virtinst/VirtualDisk.py, virtinst/cli.py, virtinst/util.py:
5309
Remove instances of variables overriding builtin options.
5312
* tests/validation.py, virt-image, virt-install,
5313
virtinst/CloneManager.py, virtinst/Guest.py,
5314
virtinst/ImageParser.py, virtinst/util.py:
5315
Fix indentation errors.
5318
* tests/storage.py, virt-clone, virt-convert, virt-image, virt-
5319
install, virtconv/parsers/virtimage.py, virtinst/CloneManager.py,
5320
virtinst/DistroManager.py, virtinst/Guest.py,
5321
virtinst/ImageFetcher.py, virtinst/OSDistro.py, virtinst/Storage.py,
5322
virtinst/cli.py, virtinst/util.py:
5323
Remove unused variables.
5326
* setup.py, tests/storage.py, tests/virtconv-test.py, virt-clone,
5327
virt-convert, virt-image, virt-install,
5328
virtconv/parsers/virtimage.py, virtconv/parsers/vmx.py,
5329
virtinst/CloneManager.py, virtinst/DistroManager.py,
5330
virtinst/FullVirtGuest.py, virtinst/Guest.py,
5331
virtinst/ImageFetcher.py, virtinst/ImageParser.py,
5332
virtinst/LiveCDInstaller.py, virtinst/ParaVirtGuest.py,
5333
virtinst/Storage.py, virtinst/VirtualDevice.py,
5334
virtinst/VirtualDisk.py, virtinst/cli.py:
5335
Remove unused imports.
5338
2008-11-10 "Cole Robinson <crobinso@redhat.com>
5340
* AUTHORS, virtinst/FullVirtGuest.py:
5341
Don't skip pxe if virtio nic specified (works for F10 at least).
5345
* virt-clone, virt-image, virt-install:
5346
Don't explicitly import virtinst's gettext function: screws with
5350
2008-11-06 "Cole Robinson <crobinso@redhat.com>
5353
Don't try to install virt-pack.
5356
* virt-pack, virtinst/UnWare.py:
5357
Remove virt-pack (replaced by virt-convert). (Joey Boggs)
5360
2008-11-04 Bryan Kearney <bkearney@redhat.com>
5362
* virtinst/ImageParser.py:
5363
Allow Image Parser to be called without a file name.
5365
This is used to support using the object model directly
5368
2008-11-04 "Cole Robinson <crobinso@redhat.com>
5370
* man/en/virt-install.pod:
5371
virt-install --disk bus podfile typo.
5374
* virtinst/ImageFetcher.py:
5375
Don't add extraneous '/' to ftp path.
5378
2008-11-03 "Cole Robinson <crobinso@redhat.com>
5381
Accomodate differently formatted sysconfig/keyboard files.
5384
* virtinst/keytable.py:
5385
Fix some keytable ordering to be a bit more clear.
5388
2008-10-30 "Cole Robinson <crobinso@redhat.com>
5390
* virtinst/OSDistro.py:
5391
Add support for Debian Xen paravirt installs. (Guido Gunther)
5393
Lenny supports this. Also add transparent support for
5394
'http://people.debian.org/~joeyh/d-i/' which is the official
5395
location for debian-installer daily builds but has slightly
5396
different layout (images/daily instead of current/images).
5399
2008-10-30 Guido Gunther <agx@sigxcpu.org>
5402
710611367b50 broke the device suboption of --disk. This fixes it.
5406
Fix --disk error message
5408
Opt is a tuple. Withouth this we get
5410
ERROR not all arguments converted during string formatting
5412
instead of a reasonable error message.
5415
2008-10-30 "Cole Robinson <crobinso@redhat.com>
5417
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
5418
file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-
5419
disk-drv-file.xml, tests/boot-paravirt-disk-drv-phy.xml, tests/boot-
5420
paravirt-disk-drv-tap-qcow.xml, tests/boot-paravirt-disk-drv-
5421
tap.xml, tests/boot-paravirt-disk-file.xml, tests/boot-paravirt-
5422
many-disks.xml, tests/capabilities-kvm.xml, tests/capabilities-
5423
qemu.xml, tests/capabilities-test.xml, tests/capabilities-xen.xml,
5424
tests/image.xml, tests/image2nics.xml, tests/install-fullyvirt-disk-
5425
block.xml, tests/install-fullyvirt-disk-file.xml, tests/install-
5426
paravirt-disk-block.xml, tests/install-paravirt-disk-drv-file.xml,
5427
tests/install-paravirt-disk-drv-phy.xml, tests/install-paravirt-
5428
disk-drv-tap-qcow.xml, tests/install-paravirt-disk-drv-tap.xml,
5429
tests/install-paravirt-disk-file.xml, tests/install-paravirt-many-
5430
disks.xml, tests/misc-xml-escaping.xml, virtinst/ImageParser.py:
5438
* tests/virtconv-files/virtimage2vmx/image.virt-image, tests/virtconv-
5439
files/virtimage2vmx/image.vmx, tests/virtconv-
5440
files/vmx2virtimage/test.virt-image, tests/virtconv-
5441
files/vmx2virtimage/test.vmx, tests/virtconv-test.py:
5442
Add a basic virtconv test suite.
5445
* tests/xmlconfig.py:
5446
Show actual 'diff' output when comparing xml files in test suite.
5449
* virtconv/parsers/vmx.py:
5450
virtconv: Log info if we skip a vmx scsi disk. Don't calculate new
5451
ide bus nr if it was provided.
5454
* virtconv/parsers/virtimage.py, virtconv/parsers/vmx.py:
5455
virtconv: fix some memory conversion factors between formats
5458
* virtinst/ImageParser.py:
5459
Store memory value as an int rather than a string in ImageParser
5462
2008-10-29 "Cole Robinson <crobinso@redhat.com>
5464
* virtconv/parsers/virtimage.py:
5465
Don't add needless description spacing with virtconv virt-image
5469
* virtconv/parsers/vmx.py:
5470
Check whole file instead of just first line to verify vmx files.
5473
* virtconv/parsers/vmx.py:
5474
Remove timestamp from generated vmx file to accomodate test suite.
5477
* virtconv/formats.py, virtconv/parsers/virtimage.py,
5478
virtconv/parsers/vmx.py:
5479
Add 'export' command to parser class, returns generated config as a
5483
2008-10-28 "Cole Robinson <crobinso@redhat.com>
5485
* tests/__init__.py, tests/storage.py:
5486
Add basic test suite to exercise storage xml building and
5490
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
5491
file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-
5492
disk-drv-file.xml, tests/boot-paravirt-disk-drv-phy.xml, tests/boot-
5493
paravirt-disk-drv-tap-qcow.xml, tests/boot-paravirt-disk-drv-
5494
tap.xml, tests/boot-paravirt-disk-file.xml, tests/boot-paravirt-
5495
many-disks.xml, tests/capabilities-kvm.xml, tests/capabilities-
5496
qemu.xml, tests/capabilities-test.xml, tests/capabilities-xen.xml,
5497
tests/capabilities-xml/capabilities-kvm.xml, tests/capabilities-xml
5498
/capabilities-qemu.xml, tests/capabilities-xml/capabilities-
5499
test.xml, tests/capabilities-xml/capabilities-xen.xml,
5500
tests/capabilities.py, tests/image-xml/image.xml, tests/image-
5501
xml/image2nics.xml, tests/image.py, tests/image.xml,
5502
tests/image2nics.xml, tests/install-fullyvirt-disk-block.xml, tests
5503
/install-fullyvirt-disk-file.xml, tests/install-paravirt-disk-
5504
block.xml, tests/install-paravirt-disk-drv-file.xml, tests/install-
5505
paravirt-disk-drv-phy.xml, tests/install-paravirt-disk-drv-tap-
5506
qcow.xml, tests/install-paravirt-disk-drv-tap.xml, tests/install-
5507
paravirt-disk-file.xml, tests/install-paravirt-many-disks.xml, tests
5508
/misc-xml-escaping.xml, tests/xmlconfig-xml/boot-fullyvirt-disk-
5509
block.xml, tests/xmlconfig-xml/boot-fullyvirt-disk-file.xml, tests
5510
/xmlconfig-xml/boot-paravirt-disk-block.xml, tests/xmlconfig-xml
5511
/boot-paravirt-disk-drv-file.xml, tests/xmlconfig-xml/boot-paravirt-
5512
disk-drv-phy.xml, tests/xmlconfig-xml/boot-paravirt-disk-drv-tap-
5513
qcow.xml, tests/xmlconfig-xml/boot-paravirt-disk-drv-tap.xml, tests
5514
/xmlconfig-xml/boot-paravirt-disk-file.xml, tests/xmlconfig-xml
5515
/boot-paravirt-many-disks.xml, tests/xmlconfig-xml/install-
5516
fullyvirt-disk-block.xml, tests/xmlconfig-xml/install-fullyvirt-
5517
disk-file.xml, tests/xmlconfig-xml/install-paravirt-disk-block.xml,
5518
tests/xmlconfig-xml/install-paravirt-disk-drv-file.xml, tests
5519
/xmlconfig-xml/install-paravirt-disk-drv-phy.xml, tests/xmlconfig-
5520
xml/install-paravirt-disk-drv-tap-qcow.xml, tests/xmlconfig-xml
5521
/install-paravirt-disk-drv-tap.xml, tests/xmlconfig-xml/install-
5522
paravirt-disk-file.xml, tests/xmlconfig-xml/install-paravirt-many-
5523
disks.xml, tests/xmlconfig-xml/misc-xml-escaping.xml,
5525
Move test xml files to subdirectories.
5529
Pass meter to disk csum calculating from virt-image
5532
* virtinst/ImageParser.py:
5533
Alter disk csum calculating to require a progress meter to be
5537
2008-10-27 "Cole Robinson <crobinso@redhat.com>
5540
Updated zh-CN translation.
5543
2008-10-22 "Cole Robinson <crobinso@redhat.com>
5545
* po/pt_BR.po, po/zh-CN.po:
5546
Updated translations from Fedora.
5549
* virtinst/Storage.py:
5550
Add iSCSI volume class stub and raise error if it is instantiated.
5553
* virtinst/Storage.py:
5554
Actually return pool object after DiskPool install.
5557
* virtinst/Storage.py:
5558
Disk type is 'dos' not 'msdos'
5561
2008-10-21 "Cole Robinson <crobinso@redhat.com>
5563
* AUTHORS, virtinst/FullVirtGuest.py:
5564
Add seperate dict entry for winxp 64 since it has separate
5565
requirements (Tom Hug hes)
5568
2008-10-20 "Cole Robinson <crobinso@redhat.com>
5571
Check virt-image checksums from cli tool (Joey Boggs)
5574
2008-10-17 "Guido Gunther <agx@sigxcpu.org>
5576
* man/en/virt-install.pod, virt-install:
5577
Allow to pass the bustype via --disk
5580
2008-10-16 "Cole Robinson <crobinso@redhat.com>
5582
* virtinst/ImageParser.py:
5583
Add checksum support to ImageParser (Joey Boggs)
5586
* virtinst/VirtualDisk.py:
5587
Fix missing variable error.
5590
2008-10-14 "Cole Robinson <crobinso@redhat.com>
5592
* doc/image.rng, virtinst/ImageParser.py:
5593
Teach ImageParser how to parse disk checksum values (Joey Boggs)
5596
* virtinst/VirtualDisk.py:
5597
Refresh storage pool if trying to lookup a volume.
5600
2008-10-09 "Cole Robinson <crobinso@redhat.com>
5602
* virtconv/diskcfg.py:
5603
virt-convert: Add checksum option to disk class (Joey Boggs)
5606
2008-10-06 "Cole Robinson <crobinso@redhat.com>
5609
Fix --bridge option to not report collision with --network (Mark
5613
2008-10-03 "Cole Robinson <crobinso@redhat.com>
5615
* virt-convert, virtconv/diskcfg.py, virtconv/parsers/virtimage.py,
5616
virtconv/parsers/vmx.py:
5617
Add virt-image import and vmx export capabilities for virtconv (Joey
5621
2008-09-30 "Cole Robinson <crobinso@redhat.com>
5623
* virtinst/Guest.py:
5624
Don't try to compare MAC addresses if nic doesn't have one
5628
2008-09-25 "Guido Gunther <agx@sigxcpu.org>
5630
* virtinst/FullVirtGuest.py:
5634
2008-09-29 "Cole Robinson <crobinso@redhat.com>
5636
* tests/validation.py, virtinst/CloneManager.py, virtinst/cli.py:
5637
Pass connection to VirtualNetworkInterface.
5640
* virtinst/Guest.py:
5641
Check that passed virtual network exists, and is active.
5644
* virtinst/Guest.py:
5645
Have VirtualNetworkInterface extend VirtualDevice
5648
2008-09-22 "Cole Robinson <crobinso@redhat.com>
5650
* virtinst/Guest.py:
5651
Only use libvirt created scratchdirs if they exist
5654
2008-09-22 Guido Guenther <agx@sigxcpu.org>
5656
* virtinst/Guest.py:
5657
set a proper scratchdir for non root users
5660
* virtinst/ImageFetcher.py:
5661
create scratchdir if it doesn't exist
5664
2008-09-22 "Cole Robinson <crobinso@redhat.com>
5667
Use cli.fail helper in virt-convert
5670
* virtconv/parsers/vmx.py:
5671
Don't error if disk has no path in vmx file.
5675
More thorough checking for default qemu connection.
5678
2008-09-18 "Cole Robinson <crobinso@redhat.com>
5680
* python-virtinst.spec.in, setup.py:
5681
Don't barf on package syntax errors when building. We really
5682
shouldn't have BuildRequires on every package we import, save that
5687
Add INSTALL to manifest.
5690
2008-09-17 "Cole Robinson <crobinso@redhat.com>
5693
Fix --wait option to handle some funky libvirt stuff on rhel5.
5697
Slim down --wait help message (Mark McLoughlin)
5700
2008-09-16 "Cole Robinson <crobinso@redhat.com>
5703
Updated polish translation.
5706
* AUTHORS, virtinst/FullVirtGuest.py:
5707
Setup virtio for f9. (Francois Kooman)
5710
2008-09-15 john <john.levon@sun.com>
5713
virt-convert: remove -t option
5715
This never did anything, and is undocumented.
5717
Signed-off-by: John Levon <john.levon@sun.com>
5720
2008-09-16 john <john.levon@sun.com>
5722
* virtconv/parsers/vmx.py:
5723
virt-convert: make VMX parser case insensitive
5725
VMWare tools apparently don't care, so neither should we. Some VMX
5726
generators don't use the proper case with keys such as 'fileName'.
5728
Signed-off-by: John Levon <john.levon@sun.com>
5731
2008-09-16 "Cole Robinson <crobinso@redhat.com>
5734
Log traceback (if available) from cli fail helper.
5737
2008-09-12 "Cole Robinson <crobinso@redhat.com>
5739
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
5740
file.xml, tests/install-fullyvirt-disk-block.xml, tests/install-
5741
fullyvirt-disk-file.xml, tests/misc-xml-escaping.xml,
5742
tests/xmlconfig.py, virtinst/FullVirtGuest.py:
5743
Explicitly set FullVirtGuest arch to equal host arch if none is
5747
* virtconv/parsers/virtimage.py:
5748
virt-convert: Fix crash caused by accessing now private os
5749
dictionary. (Joey Boggs)
5752
* python-virtinst.spec.in:
5753
Fix spec to be closer to current fedora version.
5756
2008-09-10 "Cole Robinson <crobinso@redhat.com>
5759
Added tag virtinst-0_400_0 for changeset 2f37c58e7347
5762
* po/fr.po, po/it.po, po/ja.po, po/pl.po, po/pt_BR.po, po/sr.po,
5764
Fix messed up translation updates.
5765
[2f37c58e7347] [virtinst-0_400_0]
5768
Added tag virtinst-0_400_0 for changeset 698796184096
5771
* ChangeLog, NEWS, python-virtinst.spec.in, setup.py:
5775
* po/fr.po, po/it.po, po/ja.po, po/pl.po, po/pt_BR.po, po/sr.po,
5776
po/sr@latin.po, po/virtinst.pot:
5777
Update translations.
5780
* virt-image, virt-install, virtinst/cli.py, virtinst/util.py:
5781
Make sure to default to virtual networking if installing remotely.
5784
* virtinst/VirtualDisk.py:
5785
Throw useful error if size not specified when implicitly creating a
5789
* python-virtinst.spec.in:
5790
Fix egginfo spec conditional.
5793
* virtinst/FullVirtGuest.py:
5794
Revert explictly setting arch for fullvirt guest incase it causes
5798
* python-virtinst.spec.in, setup.py:
5799
Update spec file description and Provides
5802
2008-09-09 "Cole Robinson <crobinso@redhat.com>
5804
* virtinst/Storage.py:
5805
Basic iscsi pool implementation.
5809
Fix virt-install to fail if it can't find a default connection.
5812
* virtinst/CapabilitiesParser.py:
5813
Throw useful error if users capabilities xml has no domains.
5816
* virtinst/Storage.py:
5820
* virtinst/DistroManager.py:
5821
Don't fail post_install_check if on remote connection.
5824
2008-09-08 "Cole Robinson <crobinso@redhat.com>
5826
* virtinst/FullVirtGuest.py, virtinst/Guest.py:
5827
Pull emulator and loader values from capabilities.
5830
* virtinst/VirtualDisk.py:
5831
Don't do an extra unneccessary validation loop.
5834
* virtinst/Storage.py:
5835
Actually allow sparse volume xml to be created.
5838
* man/en/virt-install.1, man/en/virt-install.pod, virt-install,
5840
Switch virt-install to default to _not_ prompting. Add a --prompt
5841
option so that users can request it if they choose.
5844
* virtinst/Guest.py:
5845
Only use xen scratchdir if it exists.
5848
* virtinst/DistroManager.py, virtinst/OSDistro.py:
5849
Add a GenericDistro OSDistro / image store.
5851
Doesn't try to confirm an tree's identity, just checks known tree
5852
paths for potential install media.
5855
* virtinst/ImageFetcher.py:
5856
Fix bug in building image paths to fetch.
5859
2008-09-07 "Cole Robinson <crobinso@redhat.com>
5861
* virtinst/Storage.py:
5862
Don't initialize progress meter if creating storage, since we don't
5863
have any way to use it at this point.
5866
* virtinst/Storage.py, virtinst/VirtualDisk.py:
5867
Don't allow setting storage volume as nonsparse from VirtualDisk,
5868
since allocating a nonsparse volume halts libvirtd for the entire
5872
* virtinst/VirtualDevice.py:
5873
VirtualDevice: Allow changing setting conn property
5877
virt-install: Fix typo when raising an error in build_default_pool
5881
Fix is_storage_capable to accomodate function not being supported.
5884
2008-09-06 "Cole Robinson <crobinso@redhat.com>
5887
If user passes '/var/lib/libvirt/images' for a dirname or 'default'
5888
as a pool name, create the this as a pool if it doesn't exist.
5891
* virt-install, virtinst/Storage.py:
5892
Fix free volume name generation to allow specifying a suffix.
5895
* virtinst/DistroManager.py:
5896
DistroManager fix to pass test suite.
5899
2008-09-05 "Cole Robinson <crobinso@redhat.com>
5901
* man/en/virt-install.1, man/en/virt-install.pod, virt-install:
5902
virt-install: expand --disk option to specify size and sparse.
5905
* virtinst/ImageFetcher.py:
5906
Fix URL generation from using two /'s (broke certain sites)
5909
* virtinst/DistroManager.py:
5910
Don't check if install media exists locally if on a remote
5914
2008-09-04 "Cole Robinson <crobinso@redhat.com>
5916
* virtinst/VirtualDisk.py:
5917
Add a new VirtualDisk use case.
5919
path is not a volume, but dirname is the target path of a pool. we
5920
can assume this is a request to create a volume on that pool with
5924
* virtinst/Storage.py:
5925
Fix up is_size_conflict logging. Disable nonsparse StorageVolume
5926
initializing since it hangs libvirtd.
5930
Add lookup_pool_by_path function to find pool by target_path
5933
2008-09-05 "Daniel P. Berrange <berrange@redhat.com>
5935
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
5936
file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-
5937
disk-drv-file.xml, tests/boot-paravirt-disk-drv-phy.xml, tests/boot-
5938
paravirt-disk-drv-tap-qcow.xml, tests/boot-paravirt-disk-drv-
5939
tap.xml, tests/boot-paravirt-disk-file.xml, tests/boot-paravirt-
5940
many-disks.xml, tests/install-fullyvirt-disk-block.xml, tests
5941
/install-fullyvirt-disk-file.xml, tests/install-paravirt-disk-
5942
block.xml, tests/install-paravirt-disk-drv-file.xml, tests/install-
5943
paravirt-disk-drv-phy.xml, tests/install-paravirt-disk-drv-tap-
5944
qcow.xml, tests/install-paravirt-disk-drv-tap.xml, tests/install-
5945
paravirt-disk-file.xml, tests/install-paravirt-many-disks.xml, tests
5946
/misc-xml-escaping.xml:
5950
2008-09-03 "Cole Robinson <crobinso@redhat.com>
5953
Add brazilian portuguese translation.
5956
* virtinst/keytable.py, virtinst/util.py:
5957
Add "uk" as keytable mapping for "en-gb". Only perform case
5958
insensitive lookups in keytable.
5962
Prompt for confirmation if clone will overwrite an existing file.
5965
* virtinst/VirtualDisk.py:
5966
Small fix validating VirtualDisk size == 0 (should be allowed).
5969
2008-08-26 "Cole Robinson <crobinso@redhat.com>
5972
Use typical sparse defaults in virt-install for managed storage.
5975
* virtinst/Storage.py, virtinst/VirtualDisk.py:
5976
Fix is_size_conflict in Storage for sparse warnings.
5979
* virtinst/Storage.py:
5980
Touch up pool type descriptions.
5983
2008-08-20 "Cole Robinson <crobinso@redhat.com>
5986
Remove some dead virt-install code.
5990
Add a basic INSTALL file.
5993
* virtinst/FullVirtGuest.py, virtinst/Guest.py,
5994
virtinst/ParaVirtGuest.py, virtinst/VirtualDisk.py:
5995
Change disk target generation model: centralize all the work in
5996
VirtualDisk so it can be used by other apps.
5999
2008-08-18 "Cole Robinson <crobinso@redhat.com>
6001
* virtinst/DistroManager.py:
6002
Few fixes for remote cdrom installs.
6005
2008-08-17 "Cole Robinson <crobinso@redhat.com>
6007
* virtinst/FullVirtGuest.py:
6008
Fix up os type/variant validation to pass tests.
6011
* virtinst/FullVirtGuest.py:
6012
Don't set first net interface as virtio if doing a PXE install (kvm
6013
doesn't seem to support it yet.)
6016
2008-08-15 Guido Guenther <agx@sigxcpu.org>
6019
catch ParserException and CapabilitiesParserException
6022
2008-08-17 "Cole Robinson <crobinso@redhat.com>
6024
* AUTHORS, virtinst/Guest.py:
6025
Update authors list, fix random mac address generation for
6026
VirtualNetworkInterface to be dependent on hypervisor type..
6029
2008-08-14 Guido Guenther <agx@sigxcpu.org>
6031
* virtinst/CloneManager.py, virtinst/util.py:
6032
allow to set vendor prefix for mac addresses
6034
use this in CloneManager to set the correct prefix when cloning
6037
2008-08-17 "Cole Robinson <crobinso@redhat.com>
6039
* virtinst/FullVirtGuest.py:
6040
Add freebsd 7 os entry. Default to nic model 'ne2k_pci' for freebsd
6043
Ref: http://www.nabble.com/Re%3A-Qemu%3A-bridging-on-
6044
FreeBSD-7.0-STABLE-p15919603.html
6047
* virtinst/FullVirtGuest.py:
6048
Use pcnet nic for openbsd.
6050
Refs: https://www.redhat.com/archives/et-mgmt-
6051
tools/2008-June/msg00018.html http://calamari.reverse-dns.net:980
6052
/cgi-bin/moin.cgi/OpenbsdOnQemu
6055
* virt-install, virtinst/FullVirtGuest.py:
6056
Fix os_type/os_variant to be case insensitive. Allow setting
6057
os_variant without an os_type.
6061
Clean up --help message listing: add option groups, required args
6065
2008-08-14 "Cole Robinson <crobinso@redhat.com>
6067
* virtinst/FullVirtGuest.py:
6068
Add fedora 10 and ubuntu hardy os entries. Enable virtio for both.
6069
Fix a small device lookup bug.
6072
* virtinst/FullVirtGuest.py, virtinst/Guest.py:
6073
Add devices field to os dictionary for setting arbitrary device
6074
option defaults.Use _set_defaults for FV guests to set disk bus and
6075
net model from os dict.
6078
* virtinst/FullVirtGuest.py:
6079
Explicitly make OS_TYPES private.
6082
* virtinst/FullVirtGuest.py:
6083
More os dictionary slimming.
6086
2008-08-13 "Cole Robinson <crobinso@redhat.com>
6088
* virtinst/VirtualDisk.py:
6089
Add 'bus' property to VirtualDisk
6092
2008-08-14 "Cole Robinson <crobinso@redhat.com>
6094
* virtinst/Guest.py:
6095
Add model field to VirtualNetworkInterface
6098
* virtinst/FullVirtGuest.py, virtinst/Guest.py,
6099
virtinst/ParaVirtGuest.py, virtinst/VirtualDisk.py:
6100
Try to centralize and sanitize disk target generation.
6103
* virt-install, virtinst/DistroManager.py,
6104
virtinst/LiveCDInstaller.py:
6105
virt-install: Add --disk option, enables specifying device options
6106
and managed storage.
6109
2008-08-13 "Cole Robinson <crobinso@redhat.com>
6111
* tests/validation.py, virtinst/Guest.py:
6112
Few Net interface fixes to pass validation.
6115
* virtinst/Guest.py:
6116
Some cleanup in VirtualNetworkInterface
6119
* virtinst/FullVirtGuest.py:
6120
FullVirtGuest: add a helper function for looking up os dictionary
6124
* virtinst/FullVirtGuest.py:
6125
Clean up OS dict to not massively waste space.
6128
* virtinst/VirtualDisk.py:
6129
VirtualDisk: fix up a few instances of path usage.
6132
* virtinst/Storage.py:
6133
virtinst storage: allocation can be 0, fix up validation.
6136
* virtinst/Storage.py:
6137
virtinst storage: remove target path option for StorageVolumes
6139
It has no effect when creating a volume, and we can't reliably
6140
generate what it will be after the install, so it's not much help as
6141
a readonly attribute either.
6144
2008-08-12 "Cole Robinson <crobinso@redhat.com>
6146
* virtinst/Storage.py:
6147
virtinst: Allow creating logical volumes and pools
6150
2008-08-13 "Cole Robinson <crobinso@redhat.com>
6152
* virtinst/VirtualDevice.py:
6153
VirtualDevice: small error message fix
6156
2008-08-12 "Cole Robinson <crobinso@redhat.com>
6158
* virtinst/VirtualDisk.py:
6159
VirtualDisk: Fix up extra whitespace in disk xml generation
6162
* virtinst/VirtualDisk.py, virtinst/util.py:
6163
VirtualDisk: Check for self.conn before calling is_storage_capable
6166
2008-08-11 "Cole Robinson <crobinso@redhat.com>
6168
* virtinst/Storage.py:
6169
Pull 'conn' directly from pool object rather than using connect()
6172
2008-08-10 "Cole Robinson <crobinso@redhat.com>
6174
* virtinst/Storage.py:
6175
virtinst: Add 'build' parameter to install method for pools
6178
2008-08-07 "Cole Robinson <crobinso@redhat.com>
6180
* virtinst/DistroManager.py, virtinst/Guest.py,
6181
virtinst/LiveCDInstaller.py:
6182
Make installer location storage api aware.
6184
Allow 'location' to be a (poolname, volname) tuple, Attempt to look
6185
up volumes if location is a path and a connection has been passed.
6188
* virtinst/VirtualDisk.py:
6189
Make VirtualDisk storage api aware. Actually document the API. Move
6190
to be a subclass of VirtualDevice.
6193
* virtinst/VirtualDevice.py:
6194
Add VirtualDevice class, eventually should be used as parent class
6195
for all domain device xml classes.
6198
* virtinst/Storage.py:
6199
Add classes for building libvirt storage API xml.
6203
Add is_storage_capable, and get_xml_path, and several uri parsing
6207
2008-08-05 "Cole Robinson <crobinso@redhat.com>
6209
* virtinst/CloneManager.py, virtinst/DistroManager.py,
6210
virtinst/FullVirtGuest.py, virtinst/Guest.py,
6211
virtinst/ImageManager.py, virtinst/LiveCDInstaller.py,
6212
virtinst/VirtualDisk.py, virtinst/__init__.py:
6213
Move VirtualDisk to its own file.
6216
2008-08-04 bkearney <bkearney@localhost.localdomain>
6218
* doc/image.rng, tests/image.py, tests/image.xml,
6219
tests/image2nics.xml, virt-image, virtinst/ImageParser.py,
6220
virtinst/UnWare.py, virtinst/cli.py:
6221
multiple nic support for virt-image. Added support to allow multiple
6222
interface elements in the virt-image.xml. The command line can
6223
specify any number of -w or -b elements and the tool will add
6224
default networks up to the number of nics specified. It is assumbed
6225
that eth0 is the first item specified eth1 is the second, etc. The
6226
user can also specify any number mac address up to the number of
6227
networks specified. If they specify less, then they are auto
6231
2008-08-04 "Cole Robinson <crobinso@redhat.com>
6233
* tests/validation.py:
6234
Add some 'size' test cases for VirtualDisk validation, clean up
6238
2008-07-31 "Cole Robinson <crobinso@redhat.com>
6240
* virt-install, virtinst/cli.py:
6241
Remove most prompting from virt-* tools. Leave only yes or no
6242
questions that will help users not shoot themselves in the foot.
6245
2008-07-29 "Cole Robinson <crobinso@redhat.com>
6247
* virtinst/Guest.py:
6248
Small typo with --wait Guest parameters
6251
* man/en/virt-clone.1, man/en/virt-convert.1, man/en/virt-image.1,
6252
man/en/virt-install.1:
6253
Regenerate man pages.
6256
* man/en/virt-install.pod, virt-install, virtinst/FullVirtGuest.py,
6258
virt-install: add --wait option to put a hard time limit on
6263
Fix sending correct OS type to xml if using default hypervisor
6267
2008-07-25 john <john.levon@sun.com>
6269
* virtconv/diskcfg.py:
6270
virt-convert: vdisk fixes
6272
Update the vdisk code for new vdisk behaviour.
6274
Signed-off-by: John Levon <john.levon@sun.com>
6278
virt-convert: more error checking
6280
Improve the error checking a little.
6282
Signed-off-by: John Levon <john.levon@sun.com>
6285
2008-07-24 john <john.levon@sun.com>
6288
Fix Relax-NG pattern matching
6290
Don't use unescaped meta-characters in the patterns.
6292
Signed-off-by: John Levon <john.levon@sun.com>
6295
2008-07-26 "Cole Robinson <crobinso@redhat.com>
6298
Use sensible defaults for virt-install if --hvm or --paravirt isn't
6302
2008-07-28 "Cole Robinson <crobinso@redhat.com>
6304
* virtinst/Guest.py:
6305
Fix setting listen parameter for graphics device.
6308
2008-07-25 "Cole Robinson <crobinso@redhat.com>
6310
* virtinst/OSDistro.py:
6311
Fix fetching newer suse paravirt kernels.
6314
2008-07-28 "Cole Robinson <crobinso@redhat.com>
6316
* virtinst/DistroManager.py, virtinst/OSDistro.py:
6317
Remove some unnecessary lines.
6320
2008-07-17 john <john.levon@sun.com>
6322
* virtconv/__init__.py:
6323
virt-convert: fix Python 2.4 compatibility
6325
Sadly, pkgutil.iter_modules() is new in Python 2.5, so the automatic
6326
module finding code won't work in 2.4. Add hard-coded fallbacks for
6327
Python 2.4 and earlier.
6329
Signed-off-by: John Levon <john.levon@sun.com>
6332
2008-07-14 "Cole Robinson <crobinso@redhat.com>
6334
* man/en/virt-convert.1, man/en/virt-convert.pod, virt-convert,
6335
virtconv/parsers/virtimage.py, virtconv/vmcfg.py:
6336
virt-convert: Add OS variant options (John Levon)
6338
And use them to set ACPI, APIC, clock, and USB tablet.
6341
* virtconv/netdevcfg.py, virtconv/parsers/virtimage.py,
6342
virtconv/parsers/vmx.py, virtconv/vmcfg.py:
6343
virt-convert: implement network device handling (John Levon)
6346
* virt-convert, virtconv/diskcfg.py, virtconv/parsers/virtimage.py,
6347
virtconv/parsers/vmx.py, virtconv/vmcfg.py:
6348
virt-convert: improve disk handling (John Levon)
6350
A whole bunch of fixes for more accurate disk handling.
6353
2008-07-10 john <john.levon@sun.com>
6355
* virtinst/DistroManager.py, virtinst/FullVirtGuest.py,
6356
virtinst/ImageManager.py, virtinst/LiveCDInstaller.py,
6357
virtinst/ParaVirtGuest.py, virtinst/util.py:
6358
virt-install: correct pygrub path
6360
The path to pygrub differs between OS hosts. Properly speaking, this
6361
is a property of the hypervisor capabilities, and we'd get it from
6362
there. However, traditionally the loader value is empty for PV Xen
6363
hosts, so we can't rely on it, so we hard-code it based upon the
6366
Signed-off-by: John Levon <john.levon@sun.com>
6369
2008-07-10 "Cole Robinson <crobinso@redhat.com>
6371
* virtinst/Guest.py:
6372
Relax name validation for Guest
6375
2008-07-10 john <john.levon@sun.com>
6377
* virt-convert, virtconv/formats.py, virtconv/parsers/virtimage.py,
6378
virtconv/parsers/vmx.py:
6379
virt-convert: add format detection
6381
Add format detection, along with detection for VMX
6383
Signed-off-by: John Levon <john.levon@sun.com>
6387
virt-convert: small cleanup fix
6389
Only add the directory if we really did create it.
6391
Signed-off-by: John Levon <john.levon@sun.com>
6394
* virtconv/vmcfg.py:
6395
virt-convert: Fix PV install
6397
Need to fix a test that was triggering as VM_TYPE_PV was zero.
6399
Signed-off-by: John Levon <john.levon@sun.com>
6403
virt-install: fix a typo
6405
Fix a mis-indentation and typo that pylint noticed.
6407
Signed-off-by: John Levon <john.levon@sun.com>
6410
* virtconv/parsers/virtimage.py:
6411
virt-convert: escape <description>
6413
Make sure to properly escape <description> contents for XML
6416
Signed-off-by: John Levon <john.levon@sun.com>
6419
* doc/image.rng, virtconv/parsers/virtimage.py:
6420
Modify VM name validation for virt-image and virt-convert
6422
There are .vmx files with dots in the VM names. Make the
6423
restrictions somewhat looser, and fix virt-image output to replace
6424
bad characters such as space.
6426
Signed-off-by: John Levon <john.levon@sun.com>
6429
2008-07-10 "Cole Robinson <crobinso@redhat.com>
6432
Allow setting cpuset for qemu guests in virt-install
6435
2008-07-03 "Cole Robinson <crobinso@redhat.com>
6437
* virtinst/FullVirtGuest.py:
6438
Back by popular demand, keep cdrom media attached after initial
6439
install for Windows guests.
6442
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
6443
file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-
6444
disk-drv-file.xml, tests/boot-paravirt-disk-drv-phy.xml, tests/boot-
6445
paravirt-disk-drv-tap-qcow.xml, tests/boot-paravirt-disk-drv-
6446
tap.xml, tests/boot-paravirt-disk-file.xml, tests/boot-paravirt-
6447
many-disks.xml, tests/install-fullyvirt-disk-block.xml, tests
6448
/install-fullyvirt-disk-file.xml, tests/install-paravirt-disk-
6449
block.xml, tests/install-paravirt-disk-drv-file.xml, tests/install-
6450
paravirt-disk-drv-phy.xml, tests/install-paravirt-disk-drv-tap-
6451
qcow.xml, tests/install-paravirt-disk-drv-tap.xml, tests/install-
6452
paravirt-disk-file.xml, tests/install-paravirt-many-disks.xml, tests
6453
/misc-xml-escaping.xml, virtinst/FullVirtGuest.py,
6454
virtinst/Guest.py, virtinst/ParaVirtGuest.py:
6455
Fix up generated xml spacing in Guest to scale with additional
6459
* virtinst/Guest.py:
6460
Remove overly restrictive exception catching when replacing existing
6464
2008-07-01 "Cole Robinson <crobinso@redhat.com>
6466
* virtinst/OSDistro.py:
6467
Fix Suse installs for hvm/pxe, and newer xen installs
6470
2008-06-30 "Cole Robinson <crobinso@redhat.com>
6472
* virtinst/DistroManager.py, virtinst/OSDistro.py:
6473
Pass arch to distro stores (needed for suse distros)
6476
2008-07-10 "Cole Robinson <crobinso@redhat.com>
6478
* virt-install, virtinst/cli.py:
6479
Add --sound option to virt-install, which adds 'es1370' audio model
6482
2008-07-03 "Cole Robinson <crobinso@redhat.com>
6484
* virtinst/Guest.py, virtinst/__init__.py:
6485
Add VirtualAudio class and export it
6488
2008-07-09 john <john.levon@sun.com>
6490
* man/en/virt-convert.1, man/en/virt-convert.pod, virt-convert:
6491
Allow specification of output disk format for virt-convert
6493
In particular, allow the disk conversion to be skipped.
6495
Signed-off-by: John Levon <john.levon@sun.com>
6498
* virt-convert, virtconv/diskcfg.py, virtconv/formats.py,
6499
virtconv/parsers/virtimage.py, virtconv/parsers/vmx.py,
6500
virtconv/vmcfg.py, virtconv/vmconfig.py:
6501
Cleanup created files on failure in virt-convert. Also split
6502
virtconv.vmconfig into multiple files.
6504
If we can't convert the disks or export the file, perform some
6507
Signed-off-by: John Levon <john.levon@sun.com>
6510
* man/en/virt-convert.1, man/en/virt-convert.pod, virt-convert:
6511
Improve virt-convert output
6513
Print some details before long operations such as disk convert, and
6514
add a --quiet flag to allow skipping them.
6516
Signed-off-by: John Levon <john.levon@sun.com>
6519
* virtconv/parsers/virtimage.py, virtconv/parsers/vmx.py:
6520
Fix multiple disks in virt-convert.
6522
Fix handling of multiple disks.
6524
Signed-off-by: John Levon <john.levon@sun.com>
6527
* man/en/virt-convert.1, man/en/virt-convert.pod, virt-convert:
6528
Make --arch optional for virt-convert.
6530
Default to the current system arch.
6532
Signed-off-by: John Levon <john.levon@sun.com>
6535
2008-07-07 "Cole Robinson <crobinso@redhat.com>
6537
* virtconv/__init__.py, virtconv/parsers/virtimage.py,
6538
virtconv/parsers/vmx.py, virtconv/vmconfig.py:
6539
Add virtconv files to the repo. (John Levon)
6542
* python-virtinst.spec.in:
6543
Fixes to allow virtconv reorg to build properly.
6546
* setup.py, virt-convert:
6547
Create config parser plugin system for virt-convert. (John Levon)
6549
Start a plugin system for config formats parsing, and implement
6550
enough of it to get to where we were with virt-convert.
6553
2008-07-04 "Daniel P. Berrange <berrange@redhat.com>
6555
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
6556
file.xml, tests/install-fullyvirt-disk-block.xml, tests/install-
6557
fullyvirt-disk-file.xml, tests/misc-xml-escaping.xml,
6558
virtinst/FullVirtGuest.py:
6559
Fix test case & bug in console XML
6562
2008-07-03 "Cole Robinson <crobinso@redhat.com>
6564
* python-virtinst.spec.in:
6565
Remove virt-viewer from the rpm spec.
6568
* python-virtinst.spec.in:
6569
Add virt-convert to rpm spec (Joey Boggs)
6572
* AUTHORS, virt-image, virtinst/Guest.py:
6573
Add a --replace flag to allow virt-image to install new images when
6574
an existing one with the same name is defined (Bryan Kearney)
6577
2008-07-02 "Cole Robinson <crobinso@redhat.com>
6580
Fix -i and -o so they work properly (John Levon)
6584
Fix up options handling for input dirs. (John Levon)
6586
If we specify an input directory, and no output, then default to
6587
placing a config file in the input directory.
6591
Fix .vmx parsing for DOS files (John Levon)
6595
Move some option logging in virt-convert (John Levon)
6599
Remove some unnecessary logging in virt-convert
6602
* man/en/Makefile, man/en/virt-convert.1, man/en/virt-convert.pod,
6603
man/en/virt-unpack.1, man/en/virt-unpack.pod, setup.py, virt-
6604
convert, virt-unpack:
6605
Rename virt-unpack to virt-convert (John Levon)
6609
Fix some pylint (John Levon)
6613
Add a newline to virt-image output definition (John Levon)
6616
* AUTHORS, man/en/virt-unpack.1, man/en/virt-unpack.pod, virt-unpack:
6617
Fix up virt-unpack options to allow both input and output
6618
directories, and formats other than vmx->virt-image. (John Levon)
6621
2008-07-02 "Daniel P. Berrange <berrange@redhat.com>
6623
* virtinst/FullVirtGuest.py:
6627
2008-05-10 "Daniel P. Berrange <berrange@redhat.com>
6629
* virtinst/ParaVirtGuest.py:
6630
Remove obsolete unused method
6633
* virtinst/ParaVirtGuest.py:
6634
Remove obsolete xenner hacks
6637
* virtinst/FullVirtGuest.py:
6641
2008-07-01 "Cole Robinson <crobinso@redhat.com>
6643
* man/en/virt-unpack.1, man/en/virt-unpack.pod, setup.py, virt-unpack:
6644
Add virt-unpack command and docs (Joey Boggs)
6647
2008-06-24 "Cole Robinson <crobinso@redhat.com>
6650
Updated authors list for proper attribution of last cset
6653
* virtinst/DistroManager.py, virtinst/OSDistro.py:
6654
Allow installing from scientific linux trees
6657
* virtinst/FullVirtGuest.py:
6658
Add Fedora 9 and Windows 2008 install labels.
6661
2008-06-19 "Cole Robinson <crobinso@redhat.com>
6664
Fix ImageParser test suite.
6667
* tests/boot-fullyvirt-disk-file.xml, tests/boot-paravirt-disk-drv-
6668
file.xml, tests/boot-paravirt-disk-drv-tap-qcow.xml, tests/boot-
6669
paravirt-disk-drv-tap.xml, tests/boot-paravirt-disk-file.xml, tests
6670
/boot-paravirt-many-disks.xml, tests/install-fullyvirt-disk-
6671
file.xml, tests/install-paravirt-disk-drv-file.xml, tests/install-
6672
paravirt-disk-drv-tap-qcow.xml, tests/install-paravirt-disk-drv-
6673
tap.xml, tests/install-paravirt-disk-file.xml, tests/install-
6674
paravirt-many-disks.xml, tests/misc-xml-escaping.xml,
6675
tests/xmlconfig.py, virt-install, virtinst/Guest.py:
6676
Clean up VirtualDisk validation. Add rw access and size checking.
6677
Add size_conflict function to VirtualDisk
6680
2008-06-18 "Cole Robinson <crobinso@redhat.com>
6682
* virt-install, virtinst/LiveCDInstaller.py:
6683
Fix LiveCD installer bug, add some virt-install debug messages
6686
* virtinst/Guest.py, virtinst/ImageFetcher.py,
6687
virtinst/ImageManager.py, virtinst/cli.py:
6688
Fix some random syntax errors here and there
6692
Add os.system wrapper to util for virt-pack commands
6695
* virt-clone, virt-image, virt-install, virt-pack, virtinst/cli.py:
6696
Explictly import translation function for command line utilities
6699
* virt-clone, virt-image, virt-install, virt-pack, virtinst/cli.py:
6700
Add 'fail' convenience function to print/log error and exit
6703
2008-06-16 "Cole Robinson <crobinso@redhat.com>
6705
* virtinst/Guest.py, virtinst/keytable.py, virtinst/util.py:
6706
Move keytable from virt-manager to virtinst
6709
2008-06-17 "Cole Robinson <crobinso@redhat.com>
6711
* virt-clone, virt-image, virt-install, virt-pack, virtinst/cli.py:
6712
More optparse help locale fixes to preserve encoding when redirected
6713
to file (Bryan Mason)
6717
Fix setup.py to install virt-pack.
6720
* man/en/virt-pack.1, man/en/virt-pack.pod:
6721
Few fixes for virt-pack man page
6724
* man/en/virt-pack.1, man/en/virt-pack.pod:
6725
Add man page for virt-pack (Joey Boggs)
6728
* python-virtinst.spec.in, virt-pack, virtinst/UnWare.py:
6729
Add virt-pack command (Joey Boggs and David Lutterkort)
6732
2008-06-12 "Cole Robinson <crobinso@redhat.com>
6734
* AUTHORS, virt-clone, virt-image, virt-install:
6735
Don't bomb if printing help message with unicode characters (Bryan
6739
2008-06-06 "Cole Robinson <crobinso@redhat.com>
6742
Fail if number of specified vcpus is out of range for hypervisor
6746
* AUTHORS, virt-image, virtinst/ImageParser.py:
6747
Store the image filename in the Image class (David Lutterkort and
6751
* doc/image.rng, virtinst/ImageParser.py:
6752
Add version information to image.xml, release attribute to name tag
6753
(David Lutterkort and Joey Boggs)
6755
The ImageParser has been accepting the release attribute for a
6756
while, but that was not reflected in the RelaxNG grammar.
6759
* virtinst/ImageManager.py, virtinst/ImageParser.py:
6760
Rename Boot.disks to Boot.drives in Image* (David Lutterkort and
6763
In the XML, the corresponding element is called 'drive', not 'disk'
6766
* virtinst/ImageManager.py, virtinst/ImageParser.py:
6767
Move abspath check from ImageManager to ImageParser (David
6768
Lutterkort and Joey Boggs)
6771
* virt-install, virtinst/Guest.py:
6772
Add a few debug messages
6775
2008-05-15 "Cole Robinson <crobinso@redhat.com>
6777
* virtinst/DistroManager.py:
6778
Small fix for RFC nfs uris
6781
2008-05-09 "Daniel P. Berrange <berrange@redhat.com>
6786
* virtinst/Guest.py:
6787
Set default initrd/kernel image directory to somewhere selinux safe
6790
2008-05-08 "Cole Robinson <crobinso@redhat.com>
6792
* man/en/virt-clone.1, man/en/virt-clone.pod, man/en/virt-image-
6793
xml.pod, man/en/virt-image.1, man/en/virt-image.5, man/en/virt-
6794
image.pod, man/en/virt-install.1, man/en/virt-install.pod:
6795
Man page updates: virt-image disk formats, --force and --noreboot
6799
2008-04-23 "Daniel P. Berrange <berrange@redhat.com>
6801
* virtinst/OSDistro.py:
6805
2008-04-23 Mark McLoughlin <markmc@redhat.com>
6807
* virtinst/OSDistro.py:
6808
Remove temporary treeinfo files from /var/tmp
6810
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
6813
2008-04-21 "Daniel P. Berrange <berrange@redhat.com>
6818
* virtinst/OSDistro.py:
6819
Fix fetching of hvm kernel/initrds
6822
2008-04-21 "Cole Robinson <crobinso@redhat.com>
6824
* virtinst/Guest.py, virtinst/util.py:
6825
More robust mac address comparison when checking for collisions.
6829
2008-04-21 "Daniel P. Berrange <berrange@redhat.com>
6831
* python-virtinst.spec.in:
6832
Package egginfo on F8
6835
2008-04-08 "Cole Robinson <crobinso@redhat.com>
6837
* virtinst/Guest.py:
6838
Fix up vcpu error messages
6841
2008-04-08 "Daniel P. Berrange <berrange@redhat.com>
6843
* po/sr.po, po/sr@latin.po:
6844
Added serbian translations
6847
2008-04-03 "Daniel P. Berrange <berrange@redhat.com>
6850
Imported italian translation
6853
2008-04-03 "Cole Robinson <crobinso@redhat.com>
6856
Compare mem to CellsFreeMemory as kbytes, not bytes
6859
2008-04-02 "Cole Robinson <crobinso@redhat.com>
6862
Mistype in cli.get_cpuset
6865
2008-04-01 "Cole Robinson <crobinso@redhat.com>
6867
* virtinst/CapabilitiesParser.py:
6868
Fix CapabilitiesParser for topology info for libvirt < 0.4.1
6872
Don't error if topology info is not in capabilities xml and
6873
--cpuset=auto is passed.
6876
2008-03-27 "Cole Robinson <crobinso@redhat.com>
6879
Updated polish translation.
6883
Pass extraargs to fv guest.
6886
* virtinst/CapabilitiesParser.py:
6887
Fix capabilies guestForOSType to default to hosts arch if none is
6888
explicitly provided. Moves default virt-install arch back to
6892
* virtinst/Guest.py:
6893
Fix VirtualGraphics error in get_xml if no keymap is passed.
6896
2008-03-24 "Cole Robinson <crobinso@redhat.com>
6899
Don't fail if there is no applicable arrangement for --cpuset=auto
6902
* virt-install, virtinst/cli.py:
6903
Add --cpuset=auto option, supports a best fit numa cell allocation.
6906
2008-03-17 "Cole Robinson <crobinso@redhat.com>
6908
* virtinst/Guest.py:
6909
Allow setting VirtualGuest parameters on init
6912
2008-03-15 "Cole Robinson <crobinso@redhat.com>
6914
* tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-disk-drv-
6915
file.xml, tests/boot-paravirt-disk-drv-phy.xml, tests/boot-paravirt-
6916
disk-drv-tap-qcow.xml, tests/boot-paravirt-disk-drv-tap.xml, tests
6917
/boot-paravirt-disk-file.xml, tests/boot-paravirt-many-disks.xml,
6918
tests/install-paravirt-disk-block.xml, tests/install-paravirt-disk-
6919
drv-file.xml, tests/install-paravirt-disk-drv-phy.xml, tests
6920
/install-paravirt-disk-drv-tap-qcow.xml, tests/install-paravirt-
6921
disk-drv-tap.xml, tests/install-paravirt-disk-file.xml, tests
6922
/install-paravirt-many-disks.xml, tests/validation.py,
6924
Fix up test xml (only a whitespace change)
6927
* virtinst/Guest.py:
6928
Back compat and validation fixes for VirtualGraphics
6931
2008-03-14 "Cole Robinson <crobinso@redhat.com>
6933
* virt-image, virt-install, virtinst/Guest.py, virtinst/cli.py:
6934
Switch to use VirtualGraphics internally. Clearly mark all
6938
* virtinst/Guest.py, virtinst/__init__.py:
6939
Clean up and export VirtualGraphics class.
6941
The previous graphics classes were never exported, so I removed all
6942
the legacy xen stuff, and combined the SDL and VNC classes into one
6943
VirtualGraphics class. This will be far more extensible for any
6944
future features as well as allow a nice way to get parameter
6945
validation and build graphics xml for virt-manager.
6948
* virtinst/Guest.py:
6949
Fix bug in is_conflict net. Touch up error messages thrown there.
6952
2008-03-13 "Cole Robinson <crobinso@redhat.com>
6954
* virtinst/CapabilitiesParser.py:
6955
Add topology parsing to CapabilitiesParser
6958
* virtinst/FullVirtGuest.py:
6959
Have cdrom device stick around after reboot for qemu guest: requires
6960
current upstream libvirt.
6963
2008-03-10 "Daniel P. Berrange <berrange@redhat.com>
6966
Added tag virtinst-0_300_3 for changeset cd5a9f4826f8
6969
* ChangeLog, python-virtinst.spec.in, setup.py:
6970
Update for 0.300.3 release
6971
[cd5a9f4826f8] [virtinst-0_300_3]
6977
* virtinst/DistroManager.py, virtinst/ImageManager.py:
6978
Always include loader tag for HVM guests
6981
* virtinst/OSDistro.py:
6982
Remove redundant check for fedora.css, since .treeinfo will always
6986
2008-03-09 "Daniel P. Berrange <berrange@redhat.com>
6988
* virtinst/DistroManager.py, virtinst/ImageManager.py,
6989
virtinst/LiveCDInstaller.py:
6990
Fix os type for older libvirt Xen driver
6993
* virt-install, virtinst/CapabilitiesParser.py:
6994
Fix use of --accelerate argument
6997
* virtinst/OSDistro.py:
6998
Fix logic for detecting os treeinfo entries based on arch
7001
2008-03-08 "Daniel P. Berrange <berrange@redhat.com>
7006
* virtinst/FullVirtGuest.py, virtinst/ParaVirtGuest.py:
7007
Set os_type for installer to fix test suite
7010
2008-03-06 "Cole Robinson <crobinso@redhat.com>
7012
* virt-clone, virt-image, virt-install, virtinst/cli.py:
7013
Add --force option to all cmdline utilities.
7015
Option forces a yes answer where applicable, bails out on any prompt
7016
that requires non boolean input.
7020
Fix bug in cset 369 in util.get_max_vcpus. Was breaking virt-manager
7024
2008-03-04 "Daniel P. Berrange <berrange@redhat.com>
7026
* po/fr.po, po/ja.po, po/pl.po, po/virtinst.pot:
7030
* man/en/virt-install.1, man/en/virt-install.pod,
7031
virtinst/ImageFetcher.py, virtinst/OSDistro.py, virtinst/util.py:
7032
Fix misc typos (Atsushi SAKAI)
7035
2008-03-03 "Cole Robinson <crobinso@redhat.com>
7037
* virtinst/CloneManager.py, virtinst/Guest.py:
7038
Add is_conflict_net to NIC class.
7041
* virtinst/Guest.py, virtinst/util.py:
7042
Pass type to util.get_max_vcpus. Gives accurate value if ex.
7043
installing kvm guest on qemu connection.
7046
2008-02-27 "Daniel P. Berrange <berrange@redhat.com>
7048
* virtinst/ParaVirtGuest.py:
7049
Workaround libvirt bug wrt to Xenner
7053
Reduce min ram to 64 MB instead of 256
7056
2008-02-26 "Daniel P. Berrange <berrange@redhat.com>
7061
* virt-clone, virt-install:
7062
Remove check for local file existance since it doesn't work remotely
7063
& is causing needless interactive prompts
7066
* virt-install, virtinst/DistroManager.py, virtinst/Guest.py,
7067
virtinst/LiveCDInstaller.py, virtinst/ParaVirtGuest.py:
7068
Explicitly pass in OS type to distro installer to ensure it picks
7069
correct kernel in xenner case, rather than picking kernel based on
7073
2008-02-22 "Cole Robinson <crobinso@redhat.com>
7076
Use libvirt error handlers and custom exception handler.
7078
The libvirt error handler will ignore all error messages, as these
7079
errors should be raised as exceptions anyways and dealt with that
7080
way. This prevents a deliberately ignored exception from still
7081
dumping a libvirt error to the console (such as during domain create
7082
when we would us lookupByName to ensure there wasn't a domain name
7086
2008-02-19 "Cole Robinson <crobinso@redhat.com>
7089
Normalize connection type for get_max_vcpus.
7091
Fixes bug where getMaxVcpus was expecting qemu but is receiving QEMU
7094
2008-02-24 "Daniel P. Berrange <berrange@redhat.com>
7096
* virt-install, virtinst/CapabilitiesParser.py:
7097
Use capabilities XML to determine hypervisor capabilities instead of
7098
looking at local state
7101
* tests/capabilities-kvm.xml, tests/capabilities.py, virt-image,
7102
virtinst/CapabilitiesParser.py, virtinst/ImageManager.py:
7103
Fix capabilities parser to deal with multiple possible domain types.
7104
Fix choosing of architecture for HVM. Added test with KVM
7108
2008-02-22 "Daniel P. Berrange <berrange@redhat.com>
7110
* virtinst/FullVirtGuest.py:
7114
2008-02-18 "Daniel P. Berrange <berrange@redhat.com>
7116
* virtinst/FullVirtGuest.py:
7117
Default acpi & apic to be enabled as per previous releases
7120
2008-02-19 "Daniel P. Berrange <berrange@redhat.com>
7123
Add --noreboot flag for virt-install to prevent automatic reboot
7126
2008-02-18 "Daniel P. Berrange <berrange@redhat.com>
7129
Added french translation from Gauthier Ancelin
7132
2008-02-17 "Daniel P. Berrange <berrange@redhat.com>
7134
* virtinst/ImageParser.py:
7135
Allow use of qcow, qcow2, and vmdk disks
7138
2008-02-16 "Daniel P. Berrange <berrange@redhat.com>
7140
* virt-clone, virt-image, virt-install:
7141
Print friendly error message with keyboard interrupt, instead of
7145
* AUTHORS, virtinst/OSDistro.py:
7146
Use .treeinfo files for probing Red Hat distro variants (Alexander
7150
2008-02-15 Mark McLoughlin <markmc@redhat.com>
7153
Fix virt-install disks typo
7155
Fixes this traceback:
7157
Traceback (most recent call last): File "./virt-install",
7158
line 498, in <module> main() File "./virt-install",
7159
line 462, in main dom =
7160
guest.start_install(conscb,progresscb) File
7161
"/home/markmc/projects/virt/virtinst--devel/virtinst/Guest.py", line
7162
813, in start_install return self._do_install(consolecb,
7163
meter) File "/home/markmc/projects/virt/virtinst--
7164
devel/virtinst/Guest.py", line 829, in _do_install
7165
self._create_devices(meter) File
7166
"/home/markmc/projects/virt/virtinst--devel/virtinst/Guest.py", line
7167
725, in _create_devices disk.setup(progresscb)
7168
AttributeError: 'str' object has no attribute 'setup'
7170
Looks to have been introduced by cset 351:07091304b759
7172
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
7175
2008-02-14 "Cole Robinson <crobinso@redhat.com>
7177
* virt-clone, virt-install, virtinst/CloneManager.py:
7178
Use new cli yes or no function for install tools. Remove prompting
7179
from CloneManager. Fix virt-clone bug where full qualified paths
7180
weren't being written to the config. Fix lack of prompt issue when
7181
just running 'virt-clone'
7185
Add simpler prompt for yes or no
7188
2008-02-06 "Cole Robinson <crobinso@redhat.com>
7190
* virtinst/DistroManager.py:
7191
Small fix for nfs rfc format patch.
7194
2008-02-04 "Cole Robinson <crobinso@redhat.com>
7196
* man/en/virt-install.1, man/en/virt-install.pod,
7197
virtinst/DistroManager.py, virtinst/ImageFetcher.py,
7198
virtinst/OSDistro.py:
7199
Allow RFC compliant NFS uris and update associated docs. Carry uris
7200
around internally in the anaconda format nfs:server:/path. Fixes
7204
2008-02-01 "Cole Robinson <crobinso@redhat.com>
7206
* virtinst/DistroManager.py, virtinst/ImageFetcher.py,
7207
virtinst/OSDistro.py:
7208
Re-implement hasFile to not pull down any files, just test they
7213
Return correct error code if passed invalid command line value.
7217
2008-01-30 "Cole Robinson <crobinso@redhat.com>
7219
* man/en/virt-install.1, man/en/virt-install.pod:
7220
Document the Debian ostypes (patch by Trent W. Buck)
7223
* virtinst/CloneManager.py:
7224
virt-clone: fix specifying non-existent disk on the command line.
7229
Have util.is_blktap_capable return accurate value for fedora
7233
2008-01-29 agx <agx@sigxcpu.org>
7235
* virtinst/DistroManager.py:
7236
Don't fail if a non root user can't read from the block device due
7237
to insufficient permissions
7240
2008-01-10 "Daniel P. Berrange <berrange@redhat.com>
7243
Added tag virtinst-0_300_2 for changeset bdc241ce11c9
7246
* virtinst/CapabilitiesParser.py, virtinst/CloneManager.py,
7247
virtinst/DistroManager.py, virtinst/FullVirtGuest.py,
7248
virtinst/Guest.py, virtinst/ImageFetcher.py,
7249
virtinst/LiveCDInstaller.py, virtinst/OSDistro.py,
7250
virtinst/ParaVirtGuest.py, virtinst/util.py:
7251
Remove #!/usr/bin/python in modules
7252
[bdc241ce11c9] [virtinst-0_300_2]
7255
Regenerate changelog
7258
* po/ja.po, po/pl.po, po/virtinst.pot:
7262
* python-virtinst.spec.in, setup.py:
7263
Prep for 0.300.2 release
7266
2008-01-10 "Cole Robinson <crobinso@redhat.com>
7268
* man/en/virt-install.1, man/en/virt-install.pod:
7269
docs: add --cpuset, fix spacing error to show --acpi command.
7273
Fix previous xml_escape patch: replace doesn't work in place.
7276
2008-01-09 "Cole Robinson <crobinso@redhat.com>
7278
* virtinst/DistroManager.py, virtinst/Guest.py,
7279
virtinst/ImageManager.py, virtinst/util.py:
7280
Add xml_escape util function, apply where needed.
7283
2008-01-09 "Daniel P. Berrange <berrange@redhat.com>
7285
* tests/misc-xml-escaping.xml, tests/xmlconfig.py, virtinst/Guest.py:
7286
Escape & chars in disk paths too
7289
2008-01-07 "Daniel P. Berrange <berrange@redhat.com>
7291
* tests/misc-xml-escaping.xml, tests/xmlconfig.py, virtinst/Guest.py:
7292
Escape disk image paths
7295
2008-01-02 "Daniel P. Berrange <berrange@redhat.com>
7298
Only extract ethernet devices from ifconfig -a
7301
* tests/validation.py:
7302
Tweak file checked in test suite so it actually exists
7305
2007-12-19 "Cole Robinson <crobinso@redhat.com>
7308
Throw clean warning if virt-viewer is not installed (Thanks Guido
7312
* virtinst/DistroManager.py, virtinst/FullVirtGuest.py,
7314
Check file is not block if type = file. Check os_type specified
7315
before validating os_variant. Error message fix in if no valid
7316
distro found at install source.
7319
2007-12-18 "Cole Robinson <crobinso@redhat.com>
7321
* virt-install, virtinst/DistroManager.py, virtinst/ImageFetcher.py:
7322
Fix previous nfs parsing patch. Rework virt-install cdrom validation
7323
to use non deprecated functions and accomodate all modes of
7327
2007-12-17 "Cole Robinson <crobinso@redhat.com>
7329
* virtinst/ImageFetcher.py:
7330
Order of parsing fix for nfs installs.
7334
Add thorough validation testing if cdrom path exists, otherwise
7338
* python-virtinst.spec.in:
7339
Add Requires: libxml2-python to spec. Fixes bz #387411.
7342
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
7343
file.xml, tests/install-fullyvirt-disk-block.xml, tests/install-
7344
fullyvirt-disk-file.xml, virtinst/FullVirtGuest.py:
7345
Add 'clock' key to FV guest features dictionary. Sets 'localtime'
7346
for windows guests. Fixes bz #349821.
7349
2007-12-11 "Daniel P. Berrange <berrange@redhat.com>
7351
* virtinst/FullVirtGuest.py:
7352
Added debian distros
7355
* virtinst/CloneManager.py:
7356
Fix misindented block
7359
2007-12-06 "Daniel P. Berrange <berrange@redhat.com>
7361
* virt-install, virtinst/Guest.py, virtinst/cli.py, virtinst/util.py:
7362
Added support for CPU set parameter (Tatsuro Enokura)
7366
Added missing import for OptionValueError (Tatsuro Enokura)
7369
2007-12-05 David Lutterkort <dlutter@redhat.com>
7374
Add a target that produces (ugly) HTML files from the POD files. Not
7378
2007-12-04 "Daniel P. Berrange <berrange@redhat.com>
7383
* AUTHORS, virtinst/Guest.py:
7384
Allow mac addresses without leading 0's (John Danielson/Mark
7388
2007-12-04 David Lutterkort <dlutter@redhat.com>
7391
Don't ask questions on the command line
7393
Make it possible to create a virtual machine without answering any
7394
questions. All values (like VM name, memory, ...) are either taken
7395
from the image.xml or set to default values.
7398
* doc/image.rng, man/en/virt-image-xml.pod, man/en/virt-image.5,
7399
virtinst/ImageParser.py:
7400
Add id attribute to storage/disk element
7402
Allow naming disk storage elements with an id and use that to
7403
reference them from the boot descriptor; using the file attribute is
7404
tedious if disk files are in subdirectories
7407
* virtinst/ImageParser.py:
7408
Fix typo and better error message.
7410
When generating error message about a bad reference from a drive to
7411
a disk, use disk_id attribute for the drive and make it clearer that
7412
we are talking about a problem in the XML, not that a file is
7417
Allow relative paths, not just file names where files are
7421
2007-12-01 "Daniel P. Berrange <berrange@redhat.com>
7426
* AUTHORS, virtinst/Guest.py:
7427
Ignore errors looking up domains when checking disks as vm is
7428
probably dieing. Patch from Robert Nelson
7431
* virtinst/DistroManager.py, virtinst/ImageFetcher.py,
7432
virtinst/OSDistro.py:
7433
Add a local image fetcher for accessing install trees directly on
7437
* virt-install, virtinst/Guest.py:
7438
Fix over-zelous validation of CDROM paths. CDROMs can be
7439
http/ftp/nfs paths too
7442
2007-11-30 David Lutterkort <dlutter@redhat.com>
7444
* virtinst/FullVirtGuest.py, virtinst/ImageManager.py,
7445
virtinst/LiveCDInstaller.py:
7449
2007-11-29 "Daniel P. Berrange <berrange@redhat.com>
7451
* virtinst/DistroManager.py, virtinst/OSDistro.py:
7452
Rename *ImageStore class to *OSDistro
7456
Remove MANIFEST to force rebuild during automated builds
7459
* virtinst/DistroManager.py, virtinst/OSDistro.py:
7460
Pull ImageStore classes out into separate module from DistroManager
7464
* virtinst/DistroManager.py, virtinst/ImageFetcher.py:
7465
Pull ImageFetcher classes out into separate module from
7466
DistroManager (Robert Nelson)
7469
2007-11-28 "Cole Robinson <crobinso@redhat.com>
7471
* virtinst/Guest.py:
7472
Fix check for non-existing path for floppy or cdrom.
7475
2007-11-27 "Cole Robinson <crobinso@redhat.com>
7477
* virtinst/Guest.py:
7478
More validation cleanup. Add specific error msg if path doesn't
7479
exist for cdrom or floppy device.
7482
* virtinst/Guest.py:
7483
Cleanup and document some virtual disk validation cases.
7486
2007-11-20 "Daniel P. Berrange <berrange@redhat.com>
7488
* man/en/virt-clone.1:
7489
Re-generate virt-clone.1 in nroff format
7492
* COPYING, MANIFEST.in, README, python-virtinst.spec.in,
7493
tests/__init__.py, tests/capabilities.py, tests/image.py,
7494
tests/validation.py, tests/xmlconfig.py, virt-clone, virt-image,
7495
virt-install, virtinst/CapabilitiesParser.py,
7496
virtinst/CloneManager.py, virtinst/DistroManager.py,
7497
virtinst/FullVirtGuest.py, virtinst/Guest.py,
7498
virtinst/ImageManager.py, virtinst/ImageParser.py,
7499
virtinst/LiveCDInstaller.py, virtinst/ParaVirtGuest.py,
7500
virtinst/__init__.py, virtinst/cli.py, virtinst/util.py:
7501
Clarify that all licensing is GPLv2+ & fix FSF addresses
7504
2007-11-17 "Daniel P. Berrange <berrange@redhat.com>
7506
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
7507
file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-
7508
disk-drv-phy.xml, tests/boot-paravirt-many-disks.xml, tests/install-
7509
fullyvirt-disk-block.xml, tests/install-fullyvirt-disk-file.xml,
7510
tests/install-paravirt-disk-block.xml, tests/install-paravirt-disk-
7511
drv-phy.xml, tests/install-paravirt-many-disks.xml,
7512
tests/validation.py, tests/xmlconfig.py:
7513
s,/dev/root,/dev/loop0 for better portability to non-Fedora. Force
7517
* tests/validation.py:
7518
Fixed VNC port number in test
7524
* tests/__init__.py:
7525
Added import statements for each test to make it work with python
7529
2007-11-13 "Cole Robinson <crobinso@redhat.com>
7532
Improve clarity of virt-install question
7535
2007-11-12 "Cole Robinson <crobinso@redhat.com>
7537
* virtinst/DistroManager.py, virtinst/FullVirtGuest.py,
7538
virtinst/Guest.py, virtinst/ParaVirtGuest.py:
7539
Rework device adding during install process to not alter public
7543
2007-11-07 "Cole Robinson <crobinso@redhat.com>
7545
* virtinst/Guest.py:
7546
Add upperbound check to vncport commandline option. (Masayuki Sunou)
7549
* virtinst/DistroManager.py:
7550
Catch ValueError instead of RuntimeError in some DistroManagers.
7551
Report a more descriptive error if we can't acquireFile
7554
2007-10-29 "Cole Robinson <crobinso@redhat.com>
7556
* virt-install, virtinst/Guest.py:
7557
Improve cdrom path validation.
7560
* virtinst/Guest.py:
7561
Better error handling when creating file based disks (Chris
7565
2007-10-11 "Daniel P. Berrange <berrange@redhat.com>
7567
* virtinst/DistroManager.py:
7568
Fixed exception catching for NFS file check (rhbz 325591)
7571
2007-10-10 "Daniel P. Berrange <berrange@redhat.com>
7574
Added ja.po translation from Hyu_gabaru Ryu_ichi
7577
2007-10-04 "Daniel P. Berrange <berrange@redhat.com>
7579
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
7580
file.xml, tests/install-fullyvirt-disk-block.xml, tests/install-
7581
fullyvirt-disk-file.xml, virtinst/FullVirtGuest.py:
7582
Disable USB tablet for non-Windows since many guest OS don't
7583
configure it correctly (rhbz 302951)
7586
* tests/validation.py:
7587
Skip NFS test as non-root
7590
2007-10-03 "Cole Robinson <crobinso@redhat.com>
7592
* tests/boot-fullyvirt-disk-file.xml, tests/boot-paravirt-disk-drv-
7593
file.xml, tests/boot-paravirt-disk-drv-tap-qcow.xml, tests/boot-
7594
paravirt-disk-drv-tap.xml, tests/boot-paravirt-disk-file.xml, tests
7595
/boot-paravirt-many-disks.xml, tests/install-fullyvirt-disk-
7596
file.xml, tests/install-paravirt-disk-drv-file.xml, tests/install-
7597
paravirt-disk-drv-tap-qcow.xml, tests/install-paravirt-disk-drv-
7598
tap.xml, tests/install-paravirt-disk-file.xml, tests/install-
7599
paravirt-many-disks.xml, tests/xmlconfig.py,
7600
virtinst/CloneManager.py, virtinst/Guest.py:
7601
Add some tighter validation cases.
7604
* tests/validation.py, virtinst/__init__.py:
7605
Add validation tests to the testing framework.
7608
2007-10-03 "Daniel P. Berrange <berrange@redhat.com>
7613
* virtinst/CloneManager.py:
7614
Case insensitive MAC address checks (S.Sakamoto)
7617
2007-09-28 "Daniel P. Berrange <berrange@redhat.com>
7622
* AUTHORS, po/pl.po:
7623
Added polish translation
7626
2007-09-25 "Hugh O. Brock <hbrock@redhat.com>
7628
* virtinst/Guest.py:
7629
Quoting a string constant considered harmful.
7632
2007-09-25 "Daniel P. Berrange <berrange@redhat.com>
7635
Added tag virtinst-0_300_1 for changeset 57bd14490109
7638
* NEWS, python-virtinst.spec.in, setup.py:
7639
Bump to 0.300.1 release
7640
[57bd14490109] [virtinst-0_300_1]
7642
2007-09-21 "Hugh O. Brock <hbrock@redhat.com>
7644
* virtinst/Guest.py:
7645
Allow Guest.py/VirtualDisk constructor to take a null Path (handles
7646
disconnected cdrom case)
7649
2007-09-19 "Daniel P. Berrange <berrange@redhat.com>
7651
* virtinst/FullVirtGuest.py:
7652
Don't keep transient disks for non-Xen drivers
7655
2007-09-12 "Daniel P. Berrange <berrange@redhat.com>
7657
* virtinst/Guest.py:
7658
Allow installer attribute to be set
7661
2007-09-11 "Daniel P. Berrange <berrange@redhat.com>
7663
* man/en/virt-install.1, man/en/virt-install.pod, virt-install,
7664
virtinst/DistroManager.py, virtinst/FullVirtGuest.py,
7665
virtinst/__init__.py:
7666
Added support for PXE booting HVM guests using the --pxe command
7671
Fix default arch for 32-bit
7674
* virtinst/FullVirtGuest.py:
7675
Fix typo in Fedora 8 distro name
7678
* virtinst/DistroManager.py:
7679
Fix detection of Fedora distros for latest F8 style trees
7682
2007-08-29 "Daniel P. Berrange <berrange@redhat.com>
7685
Added tag virtinst-0_300_0 for changeset 6a1d664b8d33
7688
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
7690
Fix test data for CDROM with no media
7691
[6a1d664b8d33] [virtinst-0_300_0]
7697
* NEWS, README, python-virtinst.spec.in, setup.py:
7698
Prep for release 0.300.0
7704
2007-08-28 "Daniel P. Berrange <berrange@redhat.com>
7706
* virtinst/Guest.py:
7707
Fixed bug 260981 with empty cdrom source path
7710
2007-08-27 David Lutterkort <dlutter@redhat.com>
7712
* man/en/virt-image-xml.pod, man/en/virt-image.1, man/en/virt-image.5,
7713
man/en/virt-image.pod:
7714
Fix typos (patch by Atsushi SAKAI sakaia at jp dot fujitsu dot com
7717
2007-08-24 David Lutterkort <dlutter@redhat.com>
7719
* MANIFEST.in, python-virtinst.spec.in, setup.py:
7720
Include virt-image and related files in distribution
7723
* man/en/Makefile, man/en/virt-image.5:
7724
Put virt-image(5) into the right section
7728
Makefile to recreate amn pages from pod
7731
* man/en/virt-image-xml.pod, man/en/virt-image.1, man/en/virt-image.5,
7732
man/en/virt-image.pod:
7733
Man pages for virt-image tool and XML format
7736
* doc/example1.xml, doc/image.rng:
7737
Relax-NG for image XML and a simple example
7741
Make the image.xml an argument, not a mandatory option
7744
2007-08-21 "Daniel P. Berrange <berrange@redhat.com>
7746
* virtinst/DistroManager.py:
7747
Fixed XML generated for kernel/initrd installs of KVM
7750
* python-virtinst.spec.in, virt-install:
7751
Use virt-viewer & virsh console instead of vncviewer & xm console
7754
2007-08-16 "Daniel P. Berrange <berrange@redhat.com>
7756
* virtinst/CloneManager.py:
7757
Added checks for duplicate disks (Shigeki Sakamoto.)
7760
2007-08-15 "Daniel P. Berrange <berrange@redhat.com>
7762
* man/en/virt-install.1, man/en/virt-install.pod:
7763
Fixed a number of typos in manual page (Atsushi SAKAI)
7766
2007-08-10 "Daniel P. Berrange <berrange@redhat.com>
7768
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
7769
file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-
7770
disk-drv-file.xml, tests/boot-paravirt-disk-drv-phy.xml, tests/boot-
7771
paravirt-disk-drv-tap-qcow.xml, tests/boot-paravirt-disk-drv-
7772
tap.xml, tests/boot-paravirt-disk-file.xml, tests/boot-paravirt-
7773
many-disks.xml, tests/install-fullyvirt-disk-block.xml, tests
7774
/install-fullyvirt-disk-file.xml, tests/install-paravirt-disk-
7775
block.xml, tests/install-paravirt-disk-drv-file.xml, tests/install-
7776
paravirt-disk-drv-phy.xml, tests/install-paravirt-disk-drv-tap-
7777
qcow.xml, tests/install-paravirt-disk-drv-tap.xml, tests/install-
7778
paravirt-disk-file.xml, tests/install-paravirt-many-disks.xml,
7779
virtinst/FullVirtGuest.py, virtinst/Guest.py,
7780
virtinst/ParaVirtGuest.py:
7781
Configure a USB tablet for fullyvirt guests
7785
Abort build on test failures
7788
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
7789
file.xml, tests/install-fullyvirt-disk-block.xml, tests/install-
7790
fullyvirt-disk-file.xml, virtinst/FullVirtGuest.py:
7791
Sorted features alphabetically in XML. Keep disks in device node
7795
* tests/xmlconfig.py:
7796
Fixed up for change in os type API
7800
Fixed up XML for recent changes to disk mapping format
7803
* tests/capabilities.py:
7804
Fixed up test for changes in capabilities API
7807
2007-07-31 David Lutterkort <dlutter@redhat.com>
7809
* virtinst/ImageParser.py:
7810
Set some defaults to avoid blowups with degenrate image descriptors
7814
Don't catch an exception raised by main - that leads to complaints
7815
when using --help in Python 2.4
7819
Remove phony --installer option
7822
2007-07-31 "Hugh O. Brock <hbrock@redhat.com>
7824
* tests/image.py, tests/image.xml, virtinst/ImageManager.py,
7825
virtinst/ImageParser.py:
7826
And the other files I neglected to add...
7830
Forgot to add the new file, doh...
7833
* virtinst/CapabilitiesParser.py, virtinst/FullVirtGuest.py,
7834
virtinst/Guest.py, virtinst/ParaVirtGuest.py, virtinst/__init__.py:
7835
First go-round for virt-image capability, which lets you install a
7836
VM as a self-contained image. http://people.redhat.com/dlutter/virt-
7837
image/ documents usage, until man pages arrive. Thanks to David
7838
Lutterkort <dlutter-at-redhat-dot-com>
7841
2007-07-30 "Hugh O. Brock <hbrock@redhat.com>
7844
Warn if creating the guest would overwrite an existing storage file
7847
2007-07-21 "Hugh O. Brock <hbrock@redhat.com>
7849
* virtinst/Guest.py:
7850
One more spot for extra_args, whoops.
7853
2007-07-20 "Hugh O. Brock <hbrock@redhat.com>
7855
* virtinst/Guest.py:
7856
Revert well intentioned property method cleanup by markmc to avoid
7857
breaking legacy koan code.
7860
2007-07-18 "Daniel P. Berrange <berrange@redhat.com>
7863
Added tag virtinst-0_200_0 for changeset 3b135bf61760
7866
* ChangeLog, NEWS, python-virtinst.spec.in, setup.py:
7867
Update for 0.200.0 release
7868
[3b135bf61760] [virtinst-0_200_0]
7871
Fixed typo in __init__.py name
7875
Exit with non-zero status for test failures
7878
* setup.py, virtinst/__init__.py, virtinst/__init__.py.in:
7879
Rename __init__py.in back to __init__.py to make tests work reliably
7882
* virtinst/DistroManager.py:
7886
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
7888
Fixed test for CDROM device with empty source
7891
2007-07-18 "Hugh O. Brock <hbrock@redhat.com>
7893
* virtinst/FullVirtGuest.py:
7894
Fixes BZ 248487, which was preventing many fullvirt guests (any that
7895
required acpi and apic on) from installing successfully unless those
7896
options were explicitly supplied. Also sets the default for acpi and
7897
apic back to 'off' for win2k and winxp guests.
7900
2007-07-17 "Daniel P. Berrange <berrange@redhat.com>
7903
Deal with SystemExit exception quietly
7906
* virtinst/ParaVirtGuest.py:
7907
Remove bogus need_bootdev arg
7910
2007-07-17 berrange <berrange@pumpkin.virt.boston.redhat.com>
7912
* virtinst/Guest.py:
7913
Always include a <source> tag, but use empty path for transient
7917
2007-07-17 "Daniel P. Berrange <berrange@redhat.com>
7919
* virtinst/FullVirtGuest.py:
7920
Don't create an empty CDROM with QEMU
7923
* virtinst/DistroManager.py:
7924
Fix ostype for fetching non-Xen kernels
7927
* virt-install, virtinst/util.py:
7928
Pick sane default arch
7931
* man/en/virt-install.1, man/en/virt-install.pod, virt-install,
7932
virtinst/DistroManager.py, virtinst/FullVirtGuest.py,
7933
virtinst/Guest.py, virtinst/LiveCDInstaller.py:
7934
Re-work way installer chooses between kernel+initrd vs cdrom. Always
7935
use cdrom with Xen HV. If --location is used prefer kernel+initrd,
7936
or --cdrom is used, prefer ISO
7939
2007-07-15 "Daniel P. Berrange <berrange@redhat.com>
7941
* man/en/virt-install.1, man/en/virt-install.pod:
7942
Fixed docs about --livecd
7945
2007-07-12 "Daniel P. Berrange <berrange@redhat.com>
7947
* virtinst/CapabilitiesParser.py:
7948
Make parse_features method for capabilities public
7951
* man/en/virt-install.1, man/en/virt-install.pod, virt-install:
7952
Replace generic --installer option with specific --livecd option
7955
* virtinst/DistroManager.py:
7956
Revert to using transient flag, so CDROM device is still attached
7957
post boot, but with no media loaded
7960
* virtinst/DistroManager.py:
7961
Catch Exception instead of RuntimeError since the former deals with
7962
404 condition better
7965
* virt-clone, virt-install, virtinst/cli.py:
7966
Refactor common command line processing code into virtinst/cli
7970
Comment out annoying error message about max vcpus
7973
* virtinst/CloneManager.py:
7974
Fixed variable name refernce
7978
Add build/lib to test path, so that tests use generated script
7981
* tests/xmlconfig.py:
7982
Explicitly do a readonly connection, though technically it should be
7983
read/write, readonly works better in test suite
7986
2007-07-09 "Daniel P. Berrange <berrange@redhat.com>
7988
* virtinst/CloneManager.py:
7989
Fixed hardcoded use of Xen connection when cloning
7992
* virt-clone, virt-install, virtinst/CapabilitiesParser.py,
7993
virtinst/CloneManager.py, virtinst/DistroManager.py,
7994
virtinst/FullVirtGuest.py, virtinst/Guest.py,
7995
virtinst/LiveCDInstaller.py, virtinst/ParaVirtGuest.py,
7997
Ensure all strings are translated with gettext Cole Robinson
8000
* MANIFEST.in, po/virtinst.pot, python-virtinst.spec.in, setup.py,
8001
virtinst/__init__.py, virtinst/__init__.py.in:
8002
Initial infrastructure for building/installing po files Cole
8006
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
8007
file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-
8008
disk-drv-phy.xml, tests/boot-paravirt-many-disks.xml, tests/install-
8009
fullyvirt-disk-block.xml, tests/install-paravirt-disk-block.xml,
8010
tests/install-paravirt-disk-drv-phy.xml, tests/install-paravirt-
8011
many-disks.xml, tests/xmlconfig.py:
8012
Fixed test suite to pass with latest validation rules
8015
2007-07-04 "Daniel P. Berrange <berrange@redhat.com>
8017
* man/en/virt-clone.1, man/en/virt-clone.pod:
8018
Fixed man page typos (Atsushi SAKAI)
8021
2007-06-22 "Hugh O. Brock <hbrock@redhat.com>
8024
Previous changeset courtesy Cole Robinson -- thanks Cole\!
8027
* virt-install, virtinst/DistroManager.py, virtinst/Guest.py,
8029
Clean up validation messages and export them to virtinst. First step
8030
in eliminating virt-manager and virtinst duplicate validation
8034
2007-06-14 Saori Fukuta <fukuta.saori@jp.fujitsu.com>
8036
* virtinst/Guest.py:
8037
[et-mgmt-tools] [PATCH] checking for busy disk Hi,
8039
The virt-install & virt-manager are checking if the physical device
8040
has been using by other domain. But they does not check, when the
8041
device is file or tap.
8043
So I add to check it.
8045
Signed-off-by: Saori Fukuta <fukuta.saori@jp.fujitsu.com>
8047
Thanks, Saori Fukuta
8050
2007-06-13 "Hugh O. Brock <hbrock@redhat.com>
8052
* virtinst/DistroManager.py:
8053
Leave the cdrom device attached to a guest after install, since it
8054
is now easy for the operator to detach it from virsh or virt-
8058
2007-06-13 Saori Fukuta <fukuta.saori@jp.fujitsu.com>
8060
* virtinst/Guest.py:
8061
[et-mgmt-tools] [PATCH] checking for file-size Hi,
8063
I add to check for the file-size of the disk. If the file-size is
8064
less than or equal to 0, it will show the following message:
8065
ERROR: Size of the disk image must be greater than 0 and ask again.
8067
Signed-off-by: Saori Fukuta <fukuta.saori@jp.fujitsu.com>
8069
Thanks, Saori Fukuta
8072
2007-06-13 Masayuki Sunou <fj1826dm@aa.jp.fujitsu.com>
8075
[et-mgmt-tools] [PATCH] Fix memory check in interactive mode Hi
8077
When memory is interactively input to virt-install, memory is not
8080
------------------------------------------------------------ How
8081
much RAM should be allocated (in megabytes)? 1 What would you like
8082
to use as the disk (path)?
8083
------------------------------------------------------------
8085
This patch fixes it.
8087
Signed-off-by: Masayuki Sunou <fj1826dm@aa.jp.fujitsu.com>
8089
Thanks, Masayuki Sunou.
8091
--------------------------------------------------------------------
8095
* virtinst/FullVirtGuest.py:
8096
[et-mgmt-tools] [PATCH] Fixes the error when Windows is installed
8097
with "-- os-variant" option Hi
8099
When I install Windows with "-- os-variant" option, virt-install
8100
outputs the following errors.
8102
--------------------------------------------------------------------
8104
--os-type="windows" --os-variant="win2k" --file /dev/sda8
8106
Starting install... libvir: Xen Daemon error : GET operation failed:
8107
Domain installation may not have been successful. If it was, you
8108
can restart your domain by running 'virsh start TEST'; otherwise,
8109
please restart your installation. Wed, 30 May 2007 13:05:57 ERROR
8110
'distro' Traceback (most recent call last): File "/usr/bin/virt-
8111
install", line 647, in <module> main() File "/usr/bin/virt-
8112
install", line 607, in main dom =
8113
guest.start_install(conscb,progresscb) File "/usr/lib/python2.5
8114
/site-packages/virtinst/Guest.py", line 668, in start_install
8115
self._prepare_install(meter) File "/usr/lib/python2.5/site-
8116
packages/virtinst/FullVirtGuest.py", line 195, in _prepare_install
8117
distro = self.os_distro) File "/usr/lib/python2.5/site-
8118
packages/virtinst/FullVirtGuest.py", line 148, in get_os_distro
8119
return FullVirtGuest.OS_TYPES[self.os_type]["variants"][self.os_vari
8120
ant]["distro""] KeyError: 'distro'
8121
---------------------------------------------------------------------
8124
This patch fixes it.
8126
Signed-off-by: Masayuki Sunou <fj1826dm@aa.jp.fujitsu.com>
8128
Thanks, Masayuki Sunou.
8130
--------------------------------------------------------------------
8134
2007-06-05 Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8136
* virtinst/FullVirtGuest.py, virtinst/Guest.py:
8137
Re: [et-mgmt-tools] [PATCH] [RESEND] Fix continue to install Windows
8140
Would you give me a comment on this patch? If not, please apply it.
8142
> I can't continue to install Windows HVM domain after first
8143
restart. > After the restarting, /dev/cdrom (or ISO path) has not
8144
been attached to the domain. > The attached patch solves this
8145
problem. > > Signed-off-by: Nobuhiro Itou
8146
<fj0873gn@aa.jp.fujitsu.com>
8148
Thanks, Nobuhiro Itou.
8151
2007-05-31 "Hugh O. Brock <hbrock@redhat.com>
8157
* virtinst/CloneManager.py:
8158
Handle storage other than read-write hard disks better. Signed-off-
8159
by: Kazuki Mizushima <mizushima.kazuk@jp.fujitsu.com>
8163
Add option to copy clone without copying the contents of its
8164
storage. Signed-off-by: Kazuki Mizushima
8165
<mizushima.kazuk@jp.fujitsu.com>
8168
* virtinst/CloneManager.py:
8169
Add option to copy clone without copying the contents of its
8170
storage. Signed-off-by: Kazuki Mizushima
8171
<mizushima.kazuk@jp.fujitsu.com>
8174
* virtinst/CloneManager.py:
8175
revert 192 -- applied patches in wrong order
8178
* virtinst/CloneManager.py:
8179
Clone a guest's configuration without actually cloning its storage.
8180
Signed-off-by: Kazuki Mizushima <mizushima.kazuk@jp.fujitsu.com>.
8183
2007-05-25 "Daniel P. Berrange <berrange@redhat.com>
8188
* virt-clone, virtinst/CloneManager.py:
8189
Added support for sparse file cloning
8192
* python-virtinst.spec.in, setup.py:
8193
Move virt-install & virt-clone to /usr/bin instead of sbin since
8194
QEMU driver can be used as non-root
8197
2007-05-24 "Hugh O. Brock <hbrock@redhat.com>
8199
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
8201
Update tests to deal with new cdrom xml
8204
* virtinst/Guest.py:
8205
keymap validation should allow hyphens as well as underscores
8208
2007-05-24 "Daniel P. Berrange <berrange@redhat.com>
8213
* virtinst/DistroManager.py:
8214
Fixed reference to acquireBootDisk method
8217
2007-05-23 "Hugh O. Brock <hbrock@redhat.com>
8219
* virtinst/FullVirtGuest.py, virtinst/Guest.py:
8222
I made the patch that the HVM domain after install has non-source
8223
virtual CD-ROM device.
8225
The effect of this patch is the following.
8226
- Users doesn't need attach virtual CD-ROM device to install software
8227
and driver after installing the domain.
8228
- CD-ROM can be used only by executing xm block-configure.
8230
Could you apply this correction?
8232
Signed-off-by: Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8234
Thanks, Nobuhiro Itou.
8237
-----------------------------------------------------------
8240
2007-05-21 "Daniel P. Berrange <berrange@redhat.com>
8242
* man/en/virt-install.1:
8243
Unbreak generated man page after previous commit
8246
* man/en/virt-clone.1, man/en/virt-clone.pod, man/en/virt-install.1,
8247
man/en/virt-install.pod, python-virtinst.spec.in, setup.py:
8248
Added man page for virt-clone too
8252
Added persistent logging as per virt-install
8256
Move logs into $HOME/.virtinst & fix Xen UID check
8259
* MANIFEST.in, man/en/virt-install.1, man/en/virt-install.pod, python-
8260
virtinst.spec.in, setup.py:
8261
Added manual page for virt-install
8264
2007-05-18 "Daniel P. Berrange <berrange@redhat.com>
8266
* virt-clone, virtinst/CloneManager.py:
8267
Allow use as non-root & auto-guess HV
8270
2007-05-18 "Hugh O. Brock <hbrock@redhat.com>
8272
* AUTHORS, virt-clone, virtinst/CloneManager.py:
8273
Initial commit for vm cloning. The virt-clone command will clone
8274
shut down VMs, including their storage. virt-clone --help describes
8275
the command set. Many thanks to Kazuki Mizushima.
8278
2007-05-18 "Daniel P. Berrange <berrange@redhat.com>
8281
Added persistent logging ( Nobuhiro Itou )
8284
* virtinst/ParaVirtGuest.py:
8285
Replace xm console with virsh console
8288
2007-05-17 Mark McLoughlin <markmc@redhat.com>
8290
* ChangeLog, virt-install, virtinst/LiveCDInstaller.py,
8291
virtinst/__init__.py:
8292
2007-04-17 Mark McLoughlin <markmc@redhat.com>
8294
This patch adds a LiveCDInstaller class which has the simple
8295
job of setting up the cdrom disk and returning the appropriate
8296
<os> blob to boot from it.
8298
* virt-install: add livecd installer type.
8300
* virtinst/LiveCDInstaller.py: add LiveCDInstaller
8302
* virtinst/__init__.py: expose it here
8305
* ChangeLog, tests/capabilities-qemu.xml, tests/capabilities-test.xml,
8306
tests/capabilities-xen.xml, tests/capabilities.py,
8307
virtinst/CapabilitiesParser.py:
8308
2007-04-17 Mark McLoughlin <markmc@redhat.com>
8310
* virtinst/CapabilitiesParser.py: adds a simple module
8311
for parsing libvirt's getCapabilities() XML.
8313
* tests/capabilities.py: add some tests for the parser
8316
* ChangeLog, virt-install:
8317
2007-04-17 Mark McLoughlin <markmc@redhat.com>
8319
* virt-install: add two new options to virt-install:
8320
--nodisks - if creating a VM to run a livecd or a prebuilt
8321
system image, it is not neccessary to create another disk
8323
--installer - this option allows the user to choose the
8327
* ChangeLog, virtinst/Guest.py:
8328
2007-04-17 Mark McLoughlin <markmc@redhat.com>
8330
Not all installer types need the VM to be executed twice
8331
- i.e. the "install" phase may not need the VM to be run, and
8332
we only start the VM post-install.
8334
* virtinst/Guest.py: allow get_config_xml(install=True)
8335
to return None, causing the first VM run to be skipped.
8338
* ChangeLog, virt-install:
8339
2007-04-17 Mark McLoughlin <markmc@redhat.com>
8341
* virt-install: clean up the two similar "start guest,
8342
check to see if it succeeded" code paths into a single code
8346
* ChangeLog, virt-install, virtinst/DistroManager.py,
8348
2007-04-17 Mark McLoughlin <markmc@redhat.com>
8350
* virt-install, virtinst/DistroManager.py,
8351
virtinst/Guest.py: The existing heuristic we use in virt-
8352
install to detect whether an install has completed
8353
successfully is dependant on the type of installer being
8354
used - i.e. if you create a VM with a livecd or a raw ext3
8355
image, there may be no disk with an MBR at the end. Move the
8356
post-install logic into a new DistroInstaller method.
8359
* ChangeLog, virt-install:
8360
2007-04-17 Mark McLoughlin <markmc@redhat.com>
8362
* virt-install: instantiate the appropriate guest type
8363
with a DistroInstaller instance. This should be the same as
8364
passing installer=None to the guest constructors.
8367
* ChangeLog, tests/xmlconfig.py, virtinst/DistroManager.py,
8368
virtinst/FullVirtGuest.py, virtinst/Guest.py,
8369
virtinst/ParaVirtGuest.py, virtinst/__init__.py:
8370
Add Installer and re-factor existing code into DistroInstaller
8372
This patch re-factors things so as to introduce the concept of an
8373
"installer type". The idea is that we can create a VM using not only
8374
a typical distribution installer, but also e.g. a livecd installer
8375
or just a pre-built system image.
8377
To that end an Installer class is added which is orthogonal to the
8378
existing Guest class - i.e. the choice of installer is independant
8379
of the choice of fully virt vs. paravirt.
8381
In more detail the patch does the following:
8383
+ Adds the Installer base class - sub-classes are expected to
8384
implement the prepare() and get_os_blob() methods
8386
+ Moves the Guest type, scratchdir, boot, extraargs, location,
8387
and cdrom properties to the installer, but chains the original
8388
properties to the installer in order to maintain compatibility
8390
+ Rather than having Guest sub-classes implement get_runtime_xml()
8391
and get_install_xml(), they now implement get_osblob() and chain
8392
up to Installer.get_osblob() passing the installer parameters
8395
+ Likewise, Guest sub-class implement a prepare_install() method
8396
which chains up to Installer.prepare() passing it parameters
8397
like need_bootdev and guest
8399
+ All the existing prepare() and get_osblob() logic from
8400
FullyVirtGuest and ParaVirtGuest is consolidated in a single
8401
DistroInstaller class
8403
+ In FullyVirtGuest we append the features XML to the osblob
8404
returned by the installer
8406
+ If ParaVirtGuest or FullyVirtGuest is not passed an installer
8407
instance, they create a DistroInstaller instance as a fallback
8409
2007-04-17 Mark McLoughlin <markmc@redhat.com>
8411
* virtinst/Guest.py: introduce a new Installer class which
8412
encapsulates the notion of how to install a guest, the idea
8413
being that we can install a guest using e.g. a distro
8414
installer, livecd or pre-built image.
8416
* virtinst/FullVirtGuest.py, virtinst/ParaVirtGuest.py:
8417
re-factor out the prepare_install_location() and get_config_xml()
8418
stuff and chain up to the installer for it
8420
* virtinst/DistroManager.py: add DistroInstaller which
8421
knows how to install using a distro iso or install tree
8423
* virtinst/__init__.py: expose DistroManager
8425
* tests/xmlconfig.py: update to use installer
8428
2007-05-01 "Daniel P. Berrange <berrange@redhat.com>
8430
* virtinst/DistroManager.py:
8431
Added logic to detect RHEL5 client distro flavour
8434
* virt-install, virtinst/util.py:
8435
Automatically pick sensible default networking if no arg is listed,
8436
rather than defaulting to xenbr0. Pick sensible connect URI based on
8440
2007-04-30 Mark McLoughlin <markmc@redhat.com>
8442
* virt-install, virtinst/Guest.py:
8443
[et-mgmt-tools] [patch 4/4] Remove the unused Guest.keymap property
8444
The Guest keymap property turns out to be unused, the keymap in the
8445
graphics property is what is actually used.
8447
Remove the property and move the keymap validation into the graphics
8450
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
8454
[et-mgmt-tools] [patch 3/4] Remove duplicate call to FullVirtGuest()
8455
constructor Simple patch which makes use of the fact passing
8456
arch=None to the FullVirtGuest() constructor is perfectly valid.
8457
Remove one of the calls to the constructor.
8459
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
8462
* virtinst/FullVirtGuest.py:
8463
[et-mgmt-tools] [patch 2/4] Fix typo in hvm kernel/initrd XML Fixes
8464
a minor typo in the libvirt XML we output when booting qemu with a
8465
kernel/initrd - the <features> block should be outside the <os>
8468
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
8472
[et-mgmt-tools] [patch 1/4] Typo in kvm support Patch from David
8475
Fixes a minor type in kvm support where we reference a non-existent
8478
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
8481
2007-04-25 "Hugh O. Brock <hbrock@redhat.com>
8483
* virtinst/Guest.py:
8484
Add change to Guest.py left out of last commit; Check number of
8485
vbds; can't be greater than 16. Thanks to Shigeki Sakamoto.
8488
* virtinst/FullVirtGuest.py, virtinst/ParaVirtGuest.py:
8489
Check number of vbds; can't be greater than 16. Thanks to Shigeki
8493
2007-04-24 "Daniel P. Berrange <berrange@redhat.com>
8495
* virtinst/Guest.py:
8496
Fixed progress bar import
8499
2007-04-17 "Hugh O. Brock <hbrock@redhat.com>
8501
* virtinst/Guest.py:
8502
Add console reconnect patch and merge heads
8505
2007-04-17 Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8507
* virtinst/Guest.py:
8508
[et-mgmt-tools] [PATCH] Fix connecting console at domain restarting
8511
When I execute virt-install --paravirt --nographics, the serial
8512
console isn't connected after the domain restarting. The attached
8513
patch adds to solve this problem.
8515
Signed-off-by: Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8517
Thanks, Nobuhiro Itou.
8520
2007-04-16 "Daniel P. Berrange <berrange@redhat.com>
8522
* tests/xmlconfig.py:
8527
Added tag virtinst-0_103_0 for changeset 8fd89884ebf7
8530
* virtinst/Guest.py:
8531
Wait for domain to restart before trying console connection (
8533
[8fd89884ebf7] [virtinst-0_103_0]
8535
2007-04-15 "Daniel P. Berrange <berrange@redhat.com>
8540
* ChangeLog, NEWS, README, setup.py:
8541
Update for 0.103.0 release
8544
* virt-install, virtinst/FullVirtGuest.py:
8545
Change OS distro/variant type so that command line can give a short
8546
version instead of long label. Include OS distro key for image
8550
* virtinst/DistroManager.py:
8551
Change way Red Hat distro detection works to avoid GPG key name
8555
2007-04-13 "Daniel P. Berrange <berrange@redhat.com>
8557
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
8558
file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-
8559
disk-drv-file.xml, tests/boot-paravirt-disk-drv-phy.xml, tests/boot-
8560
paravirt-disk-drv-tap-qcow.xml, tests/boot-paravirt-disk-drv-
8561
tap.xml, tests/boot-paravirt-disk-file.xml, tests/boot-paravirt-
8562
many-disks.xml, tests/install-fullyvirt-disk-block.xml, tests
8563
/install-fullyvirt-disk-file.xml, tests/install-paravirt-disk-
8564
block.xml, tests/install-paravirt-disk-drv-file.xml, tests/install-
8565
paravirt-disk-drv-phy.xml, tests/install-paravirt-disk-drv-tap-
8566
qcow.xml, tests/install-paravirt-disk-drv-tap.xml, tests/install-
8567
paravirt-disk-file.xml, tests/install-paravirt-many-disks.xml,
8569
Fixed test suite UUID
8572
2007-04-12 "Daniel P. Berrange <berrange@redhat.com>
8575
Check for mutually exclusive command line args (patch from Shigeki
8579
* virtinst/Guest.py:
8580
Fixed typo in UUID validation regex
8583
2007-04-04 "S.Sakamoto" <fj0588di@aa.jp.fujitsu.com>
8585
* virtinst/Guest.py:
8586
[et-mgmt-tools] [PATCH] check a UUID format Hi
8588
When, for confirmation of a UUID check, I install it by virt-intall
8589
by an invalid UUID, (e.g."uuid=12345678-abcd-1234-cdef-
8590
1234567890abc"), virt-install is carried out without an error being
8593
So, here's the patch adds to check a UUID with the number of the
8596
Signed-off-by: Shigeki Sakamoto <fj0588di@aa.jp.fujitsu.com>
8598
Thanks, Shigeki Sakamoto.
8600
==========================================================
8603
2007-04-02 "Hugh O. Brock <hbrock@redhat.com>
8605
* AUTHORS, virt-install, virtinst/Guest.py:
8606
Do a better job validating user-submitted UUIDs. Thanks to Shigeki
8607
Sakamoto <fj0588di-at-aa-dot-jp-dot-fujitsu-dot-com>. Modified
8608
slightly to also accept straight 32-hex-character numbers for UUID
8609
without the hyphens, which are also valid even though libvirt
8610
doesn't accept them.
8613
2007-03-29 "Hugh O. Brock <hbrock@redhat.com>
8615
* virtinst/FullVirtGuest.py:
8616
Fix import problem, thanks to Nobuhiro Itou
8619
2007-03-29 Tatsuro Enokura <fj7716hz@aa.jp.fujitsu.com>
8621
* virtinst/Guest.py:
8622
Re: [et-mgmt-tools] [PATCH] HVM 3rd disk name don't use "hdc" Hi,
8625
Tatsuro Enokura wrote: >>> I try that making the HVM domain with 3+
8626
disks by the virt-install command, >>> but the command says
8627
following error message: >>> # virt-install --name=HVM_3DISKS
8628
--file=/dev/sda6 --file=/dev/sda7 \ >>> --file=/dev/sda8 --hvm
8629
--vnc --ram=376 --cdrom=/dev/cdrom >> This is a ticky one ! We need
8630
to a) refuse to allow > 3 --file arguments >> to be used with HVM
8631
guests, and b) make sure the 3rd file gets given >> hdd as its
8632
device name. > > Thank you for your reviewing. > I rewite the patch.
8634
Would you give me a comment on this patch? If not, please apply it.
8636
Thanks, Tatsuro Enokura
8639
2007-03-28 "Hugh O. Brock <hbrock@redhat.com>
8641
* virt-install, virtinst/FullVirtGuest.py, virtinst/Guest.py:
8642
Support rebooting twice to handle Windows installs, among others.
8643
Additional reboot is controlled by the continue field in the
8644
dictionary in Guest.py. Thanks to Nobuhiro Itou.
8648
Fix mac address checking so your submitted mac address doesn't get
8649
zeroed if you don't also specify a network.
8652
2007-03-28 Tatsuro Enokura <fj7716hz@aa.jp.fujitsu.com>
8654
* virtinst/Guest.py:
8655
Re: [et-mgmt-tools] [PATCH] [RESEND]Check the making domain's mac
8656
address(part 2) Hi Hugh
8658
Hugh Brock wrote: > Actually now that I have thought some more about
8659
this, I don't think we > want to apply it at all. > > The current
8660
semantics of the --mac flag are as follows: > > 1. If --mac is
8661
specified, attempt to use that address. If it conflicts > with an
8662
in-use address, fail with an error > > 2. If --mac is not specified,
8663
choose an unused mac address at random. > > You would like to add
8664
the case wherein if --mac is specified and > conflicts with an
8665
existing mac address, a user can override the > conflict. However,
8666
we want operations with virt-install to be scriptable > -- that is,
8667
we do not ever want the script to halt waiting for input > unless it
8668
is obviously being run interactively. This means that, since a > mac
8669
address is never entered at a prompt, we can't put up a warning if >
8670
it conflicts. And I don't think we want to change the semantics to >
8671
always prompt for a mac address if it is not specified, since most
8672
users > aren't going to care what the mac address is anyway. > > One
8673
way we could address the underlying problem is to change the > mac-
8674
address conflict checking code in VirtualNetworkInterface.setup() so
8675
> that it prints a warning to the console or logs it, but continues
8676
with > the guest creation. I'm fine with this behavior, since it
8677
seems > reasonable to me that an installer might want to have
8678
multiple inactive > guests with the same mac address. Another
8679
alternative would be to fail > if there is an active guest with the
8680
same mac address, but only print a > warning (and continue) if there
8681
is an inactive guest with the same mac > address. I would take a
8682
patch for either scenario.
8684
I agree with your suggestion. I rewrite a patch that the mac-address
8685
conflict checking code in VirtualNetworkInterface.setup() so that it
8686
prints a warning to the stderr and logs.
8688
Thanks, Tatsuro Enokura
8691
2007-03-27 "Hugh O. Brock <hbrock@redhat.com>
8694
Backed out changeset a1f13a0e5b8288905efc6c40153b543257268b12. We
8695
explicitly do not want to prompt for mac address, we always want to
8696
choose randomly if it's not supplied. If it's supplied and
8697
conflicts, we want to error out.
8701
Update mac address code to do a better job of checking and warning
8705
2007-03-27 Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8707
* virtinst/FullVirtGuest.py:
8708
Re: [et-mgmt-tools] [PATCH][RESEND] RuntimeError message is error Hi
8710
Would you give me a comment on this patch? If not, please apply it.
8712
> The RuntimeError message becomes the error > "NameError: global
8713
name 'os_type' is not defined". > > The attached patch adds to solve
8714
this problem. > > Signed-off-by: Nobuhiro Itou
8715
<fj0873gn@aa.jp.fujitsu.com>
8717
Thanks, Nobuhiro Itou.
8720
2007-03-23 "Hugh O. Brock <hbrock@redhat.com>
8723
Fix up warning messages for --check-cpu patch
8726
2007-03-23 Masayuki Sunou <fj1826dm@aa.jp.fujitsu.com>
8729
Re: [et-mgmt-tools] [PATCH][RESEND] Add the option to guard maximums
8730
ofthenumber of virtual CPU by the number of physical CPU Hi,
8732
Would you give me a comment on this patch? If not, please apply it.
8734
> > Unless you can think of a compelling reason not to allow a user
8735
to do > > the above, I think we should not take this patch and leave
8736
the vcpu > > setting unbounded. However if you would like to send a
8737
patch that warns > > the user without imposing a hard limit, I think
8738
that would be reasonable. > > > I accepted your suggestion, and I
8739
made a patch again. > > This patch adds the option to warn when the
8740
number of virtual CPU is > more than the number of physical CPU.
8742
Signed-off-by: Masayuki Sunou <fj1826dm@aa.jp.fujitsu.com>
8744
Thanks, Masayuki Sunou
8746
===================================================================
8750
2007-03-21 "Hugh O. Brock <hbrock@redhat.com>
8752
* virtinst/Guest.py:
8753
Allow '-' in domain names. Fixes bz 221485
8756
2007-03-21 "Daniel P. Berrange <berrange@redhat.com>
8758
* virt-install, virtinst/Guest.py:
8759
Added support for attaching VIF to a network, or using slirp
8760
usermode networking (QEMU non-root)
8763
2007-03-20 "Daniel P. Berrange <berrange@redhat.com>
8766
Added tag virtinst-0_102_0 for changeset
8767
8f7a361541f29d972762866cf8f9c786fbdc651f
8770
* ChangeLog, NEWS, python-virtinst.spec.in, setup.py:
8771
Updated for release 0.102.0
8772
[8f7a361541f2] [virtinst-0_102_0]
8774
2007-03-20 Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8776
* virtinst/DistroManager.py:
8777
[et-mgmt-tools] [PATCH] RHEL5.0 guest cannot be installed by HTTP
8780
The RHEL5.0 guest domain cannot be installed by HTTP and NFS. "RPM-
8781
GPG-KEY" doesn't exist in RHEL5.0. Though I don't have confidence
8782
whether this way is the best, how about this correction?
8784
Signed-off-by: Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8786
Thanks, Nobuhiro Itou.
8789
2007-03-16 "Hugh O. Brock <hbrock@redhat.com>
8791
* virt-install, virtinst/Guest.py:
8792
Check and warn if a disk image is already being used by an active or
8793
inactive guest before installing. Thanks to Tatsuro Enokura
8794
<fj7716hz@aa-at-jp-dot-fujitsu-dot-com>.
8797
2007-03-15 Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8799
* virtinst/DistroManager.py:
8800
[et-mgmt-tools] [PATCH] Fix paravirt install by NFS Hi,
8802
The paravirt domain cannot be installed by NFS. The attached patch
8803
adds to solve this problem.
8805
Signed-off-by: Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8807
Thanks, Nobuhiro Itou.
8810
2007-03-15 "Hugh O. Brock <hbrock@redhat.com>
8813
Add Tatsuro Enokura to AUTHORS (thanks for the patches)
8816
2007-03-15 Tatsuro Enokura <fj7716hz@aa.jp.fujitsu.com>
8818
* virtinst/Guest.py, virtinst/util.py:
8819
Re: [et-mgmt-tools] [PATCH] Check the making domain's mac address
8822
Hugh Brock wrote: >>>>> The virt-install command can specify the
8823
making domain's vnif >>>>> MAC address. The MAC address must be
8824
unique on the system, >>>>> but the virt-install command doesn't
8825
check that >>>>> the MAC address is unique among the running domains
8826
and host. >>>>> >>>>> The attached patch resolve this issue in the
8827
following way: >>>>> >>>>> 1) Get the running Domain's vnif MAC
8828
address. >>>>> 2) Get the host's NIC MAC address. >>>>> 3) Check
8829
the making domain's MAC address with 1) and 2) 's data. >> >>>
8830
Actually, you really don't need to build up a list of mac addresses
8831
and >>> iterate over them. A much easier way is simply to get the
8832
XML for a >>> domain and then use an xpath expression something like
8834
ctx.xpathEval("count(/domain/devices/interface/mac/@address='%s')" %
8835
>>> macaddr) > 0: >>> # handle the case where the macaddr
8836
conflicts with an existing >>> domain >>> >>> If you can rewrite the
8837
patch along these lines I'll be happy to take it. >> >> Thank you
8838
for your suggestion. >> I rewrite the patch. > > I'm reviewing this
8839
now. I'm trying to work out if there's a way to do it > without
8840
repeating so much code... :)...
8842
Thank you for viewing my code. I rewrite the patch that the
8843
repeating code become the method.
8845
Thanks, Tatsuro Enokura
8847
--------------------------------------------------------------------
8850
2007-03-14 Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8852
* virt-install, virtinst/Guest.py:
8853
Re: [et-mgmt-tools] [PATCH][RESEND] connecting console after
8854
installcompletes Hi, Hugh
8856
> Two issues here: > > 1. The whole "restart the guest
8857
automatically" feature in virt-install > is a bit of a hack, and we
8858
are contemplating removing it altogether. The > problem is that
8859
virt-install has no real way of knowing whether the > guest that
8860
just shut down is really waiting to be rebooted, or is in > fact a
8861
failed install that the user would not want restarted anyway.
8863
Exactly. But, the "restart" hack is also true to help the user.
8864
Especially, the domain cannot be completely installed about Windows
8865
etc. with the reboot during the installation if it doesn't start
8866
automatically. Please keep autorestart function like --autorestart.
8868
> Having said this, as long as the "restart" hack is still there, I
8869
guess > I have no problem reconnecting the console as well. > > 2.
8870
Minor nit: instead of swallowing the error like > > +
8871
except OSError, (errno, msg): > + print __name__,
8872
"waitpid:", msg > > why not go ahead and raise a RuntimeError (and
8873
log the message) or > something similar?
8875
Okey. How about this correction?
8877
Thanks, Nobuhiro Itou.
8880
2007-03-13 "Hugh O. Brock <hbrock@redhat.com>
8882
* virtinst/Guest.py:
8883
Handle future case where getByUUIDString returns None without
8887
2007-03-13 Tatsuro Enokura <fj7716hz@aa.jp.fujitsu.com>
8889
* virtinst/Guest.py:
8890
Re: [et-mgmt-tools] [PATCH][RESEND}Check the starting domain's uuid
8893
Would you give me a comment on this patch? If not, please apply it.
8895
Tatsuro Enokura wrote: > The virt-install command has a problem that
8896
the information of > the existent domain is overwritten by virt-
8897
install command > specifing the domain's uuid. > Futhermore, the
8898
existent domain's set-up file is overwritten > on the xen-3.0.4. > >
8899
I make a patch checking the starting domain's uuid on Guest.py.
8901
Signed-off-by: Tatsuro Enokura <fj1826dm@aa.jp.fujitsu.com>
8903
Thanks, Tatsuro Enokura
8908
2007-03-13 "Hugh O. Brock <hbrock@redhat.com>
8911
Clean up prompt a bit more...
8915
Clean up prompt a bit
8918
2007-03-13 Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8921
Re: [et-mgmt-tools] [PATCH][RESEND] "--file-size" option is ignored
8924
Would you give me a comment on this patch? If not, please apply it.
8926
> When I execute "virt-install --file-size=10", > the value of
8927
"--file-size" option is ignored and the error message > "ERROR:
8928
float() argument must be a string or a number" is output > after I
8929
answer "What would you like to use as the disk (path)?". > > The
8930
attached patch adds to solve this problem. > > > Signed-off-by:
8931
Nobuhiro Itou <fj0873gn@aa.jp.fujitsu.com>
8933
Thanks, Nobuhiro Itou.
8936
2007-03-12 "Hugh O. Brock <hbrock@redhat.com>
8939
Patch virt-install error handling to use callbacks. Thanks to Saori
8940
Fukuta <fukuta-dot-saori-at-jp-dot-fujitsu-dot-com>
8943
2007-03-08 "Daniel P. Berrange <berrange@redhat.com>
8945
* AUTHORS, tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-
8946
disk-file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-
8947
paravirt-disk-drv-file.xml, tests/boot-paravirt-disk-drv-phy.xml,
8948
tests/boot-paravirt-disk-drv-tap-qcow.xml, tests/boot-paravirt-disk-
8949
drv-tap.xml, tests/boot-paravirt-disk-file.xml, tests/boot-paravirt-
8950
many-disks.xml, tests/install-fullyvirt-disk-block.xml, tests
8951
/install-fullyvirt-disk-file.xml, tests/install-paravirt-disk-
8952
block.xml, tests/install-paravirt-disk-drv-file.xml, tests/install-
8953
paravirt-disk-drv-phy.xml, tests/install-paravirt-disk-drv-tap-
8954
qcow.xml, tests/install-paravirt-disk-drv-tap.xml, tests/install-
8955
paravirt-disk-file.xml, tests/install-paravirt-many-disks.xml,
8957
Extended tests to coverage vnc & sdl graphics
8960
* virt-install, virtinst/Guest.py:
8961
Added support for setting keymap. Signed off by: "Takahashi
8962
Tomohiro" <takatom@jp.fujitsu.com>
8965
2007-03-02 "Daniel P. Berrange <berrange@redhat.com>
8968
Fix restarting of guest after install completes
8971
2007-03-01 "Hugh O. Brock <hbrock@redhat.com>
8974
Make the vnc port number acquisition sane. Specifically, sleep in
8975
.25 second increments for 40 seconds while waiting for the guest's
8976
vnc server to wake up. Patch from Saori Fukuta <fukuta-dot-saori-at-
8977
jp-dot-fujitsu-dot-com>.
8980
2007-02-28 "Daniel P. Berrange <berrange@redhat.com>
8982
* AUTHORS, virtinst/Guest.py:
8983
Validate VNC port is >= 5900 Signed-off-by: Nobuhiro Itou
8984
<fj0873gn@aa.jp.fujitsu.com>
8988
Fixed checking of connection type for Xen Signed-off-by: Saori
8989
Fukuta <fukuta.saori@jp.fujitsu.com>
8992
* AUTHORS, virtinst/Guest.py:
8996
2007-02-23 "Daniel P. Berrange <berrange@redhat.com>
8998
* AUTHORS, virtinst/Guest.py:
8999
Further improvements to name validation from Jim Meyering
9002
* virtinst/Guest.py:
9003
Tweak error message at suggestion from Saori Fukuta
9006
2007-02-27 "Hugh O. Brock <hbrock@redhat.com>
9008
* AUTHORS, virtinst/Guest.py:
9009
Validate mac address if it is provided. Patch from Saori Fukuta
9010
<fukuta-dot-saori-at-jp-dot-fujitsu-dot-com>
9013
2007-02-21 "Daniel P. Berrange <berrange@redhat.com>
9015
* AUTHORS, virtinst/Guest.py:
9016
Ensure VM names are not numeric only
9018
Signed-off-by: Saori Fukuta <fukuta.saori@jp.fujitsu.com>
9021
2007-02-20 "Daniel P. Berrange <berrange@redhat.com>
9024
Added tag virtinst-0_101_0 for changeset
9025
8707deca1823a73a1ff46ac288d605408d6fe3f6
9029
Added news & changelog to dist
9030
[8707deca1823] [virtinst-0_101_0]
9036
* python-virtinst.spec.in:
9037
Increase dep on libvirt to 0.2.0
9040
* ChangeLog, README:
9051
2007-02-16 "Daniel P. Berrange <berrange@redhat.com>
9053
* virt-install, virtinst/FullVirtGuest.py, virtinst/Guest.py,
9054
virtinst/ParaVirtGuest.py:
9055
Allow architecture to be set. Added code to install QEMU via
9056
kernel/initrd instead of ISO. Disabled for now
9059
* virtinst/DistroManager.py:
9060
Baremetal images should come from images/pxeboot for Fedora
9063
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
9064
file.xml, virtinst/FullVirtGuest.py, virtinst/Guest.py,
9065
virtinst/ParaVirtGuest.py:
9066
Add idea of 'transient' disk which is only used for install, not the
9067
persistent config file
9070
* virtinst/Guest.py:
9071
Moved console callback after check for guest startup. Don't allow
9072
NFS installs for non-root. Fixed close of filedescriptor in error
9076
2007-02-14 "Daniel P. Berrange <berrange@redhat.com>
9078
* virt-install, virtinst/FullVirtGuest.py, virtinst/Guest.py,
9079
virtinst/ParaVirtGuest.py, virtinst/util.py:
9080
Enable QEMU/KVM support via args --connect qemu:///session
9083
* tests/xmlconfig.py:
9087
* virtinst/FullVirtGuest.py:
9092
Ignore coverage data files
9095
* tests/install-paravirt-disk-block.xml, tests/install-paravirt-disk-
9096
drv-file.xml, tests/install-paravirt-disk-drv-phy.xml, tests
9097
/install-paravirt-disk-drv-tap-qcow.xml, tests/install-paravirt-
9098
disk-drv-tap.xml, tests/install-paravirt-disk-file.xml, tests
9099
/install-paravirt-many-disks.xml, virtinst/DistroManager.py,
9100
virtinst/FullVirtGuest.py, virtinst/Guest.py,
9101
virtinst/ParaVirtGuest.py:
9102
Refactor the kernel/image fetching to deal with different distros &
9103
more flexibility for equivalence between full & para virt
9107
* autobuild.sh, setup.py, tests/coverage.py:
9108
Enable code coverage for unit tests
9111
2007-02-01 "Daniel P. Berrange <berrange@redhat.com>
9113
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
9114
file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-
9115
disk-drv-file.xml, tests/boot-paravirt-disk-drv-phy.xml, tests/boot-
9116
paravirt-disk-drv-tap-qcow.xml, tests/boot-paravirt-disk-drv-
9117
tap.xml, tests/boot-paravirt-disk-file.xml, tests/boot-paravirt-
9118
many-disks.xml, tests/install-fullyvirt-disk-block.xml, tests
9119
/install-fullyvirt-disk-file.xml, tests/install-paravirt-disk-
9120
block.xml, tests/install-paravirt-disk-drv-file.xml, tests/install-
9121
paravirt-disk-drv-phy.xml, tests/install-paravirt-disk-drv-tap-
9122
qcow.xml, tests/install-paravirt-disk-drv-tap.xml, tests/install-
9123
paravirt-disk-file.xml, tests/install-paravirt-many-disks.xml,
9124
tests/xmlconfig.py, virtinst/Guest.py:
9125
Added support for setting maximum memory for boot
9128
2007-02-13 "Hugh O. Brock <hbrock@redhat.com>
9130
* virt-install, virtinst/FullVirtGuest.py:
9131
Add an OS dictionary for full-virt guests so callers can specify an
9132
os-type and os-variant, which will in turn correctly set apic and
9133
acpi for the guest. Also allow callers to set --noapic and --noacpi
9137
2007-01-29 "Daniel P. Berrange <berrange@redhat.com>
9139
* .hgignore, MANIFEST.in, autobuild.sh, python-virtinst.spec.in:
9140
Added autobuild control file for build/test automation purposes
9143
2007-01-26 "Daniel P. Berrange <berrange@redhat.com>
9145
* setup.py, tests/__init__.py, tests/xmlconfig.py, virt-install,
9146
virtinst/FullVirtGuest.py, virtinst/Guest.py,
9147
virtinst/ParaVirtGuest.py:
9148
Allow both PV & FV installs to be done from device,file,http,nfs,ftp
9149
sources, thus pulling all setup into Guest.py
9152
* setup.py, tests/xmlconfig.py:
9153
Added a 'test' command to setup.py to run unit tests
9156
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
9157
file.xml, tests/install-fullyvirt-disk-block.xml, tests/install-
9158
fullyvirt-disk-file.xml, virtinst/FullVirtGuest.py:
9159
Add a serial port for all HVM guests
9162
2007-01-25 "Daniel P. Berrange <berrange@redhat.com>
9164
* virtinst/FullVirtGuest.py, virtinst/Guest.py,
9165
virtinst/ParaVirtGuest.py, virtinst/__init__.py:
9166
Added in back-compat classes
9169
* virtinst/ParaVirtGuest.py:
9170
Fixed errors in NFS installs
9173
2007-01-22 "Daniel P. Berrange <berrange@redhat.com>
9176
Added tag virtinst-0_100_0 for changeset
9177
a7820501d7ec143efcbf3dbb7e1e71d1d4e415e6
9181
Bump version to 0.100.0
9182
[a7820501d7ec] [virtinst-0_100_0]
9185
Fixed missing import of libvirt
9188
2007-01-17 "Daniel P. Berrange <berrange@redhat.com>
9190
* tests/boot-fullyvirt-disk-block.xml, tests/boot-fullyvirt-disk-
9191
file.xml, tests/boot-paravirt-disk-block.xml, tests/boot-paravirt-
9192
disk-drv-file.xml, tests/boot-paravirt-disk-drv-phy.xml, tests/boot-
9193
paravirt-disk-drv-tap-qcow.xml, tests/boot-paravirt-disk-drv-
9194
tap.xml, tests/boot-paravirt-disk-file.xml, tests/boot-paravirt-
9195
many-disks.xml, tests/data-fullyvirt-disk-block.xen, tests/data-
9196
fullyvirt-disk-block.xml, tests/data-fullyvirt-disk-file.xen, tests
9197
/data-fullyvirt-disk-file.xml, tests/data-paravirt-disk-block.xen,
9198
tests/data-paravirt-disk-block.xml, tests/data-paravirt-disk-drv-
9199
file.xen, tests/data-paravirt-disk-drv-file.xml, tests/data-
9200
paravirt-disk-drv-phy.xen, tests/data-paravirt-disk-drv-phy.xml,
9201
tests/data-paravirt-disk-drv-tap-qcow.xen, tests/data-paravirt-disk-
9202
drv-tap-qcow.xml, tests/data-paravirt-disk-drv-tap.xen, tests/data-
9203
paravirt-disk-drv-tap.xml, tests/data-paravirt-disk-file.xen, tests
9204
/data-paravirt-disk-file.xml, tests/data-paravirt-many-disks.xen,
9205
tests/data-paravirt-many-disks.xml, tests/install-fullyvirt-disk-
9206
block.xml, tests/install-fullyvirt-disk-file.xml, tests/install-
9207
paravirt-disk-block.xml, tests/install-paravirt-disk-drv-file.xml,
9208
tests/install-paravirt-disk-drv-phy.xml, tests/install-paravirt-
9209
disk-drv-tap-qcow.xml, tests/install-paravirt-disk-drv-tap.xml,
9210
tests/install-paravirt-disk-file.xml, tests/install-paravirt-many-
9211
disks.xml, tests/xenconfig.py, tests/xmlconfig.py, virt-install,
9212
virtinst/FullVirtGuest.py, virtinst/Guest.py,
9213
virtinst/ParaVirtGuest.py, virtinst/XenGuest.py,
9214
virtinst/__init__.py:
9215
Update to use libvirt inactive domain support for creating configs.
9216
Removed Xen specific bits
9219
2007-01-10 "Hugh O. Brock <hbrock@redhat.com>
9221
* virtinst/XenGuest.py:
9222
Finish command-line progress bar fixes
9225
2007-01-05 "Hugh O. Brock <hbrock@redhat.com>
9227
* virt-install, virtinst/ParaVirtGuest.py, virtinst/XenGuest.py:
9228
Add progress bar hooks to virtinst. It will now automatically
9229
display a progress bar on the command line for paravirt guests
9230
(full-virt bits coming soon).
9233
2006-12-15 "Jeremy Katz <katzj@redhat.com>
9236
Added tag virtinst-0_99_0 for changeset b40441df89e9
9241
[b40441df89e9] [virtinst-0_99_0]
9243
* virtinst/ParaVirtGuest.py:
9244
support new pvfb xen config (patch from berrange)
9247
2006-12-12 gcosta <gcosta@redhat.com>
9250
Added exception instance to get_memory() exception
9252
stoping virt-install to crash when a wrong parameter is passed.
9255
2006-12-01 "Jeremy Katz <katzj@redhat.com>
9257
* virtinst/XenGuest.py:
9258
don't sleep for 2 seconds unconditionally; just wait for the domain
9262
2006-11-30 "Jeremy Katz <katzj@redhat.com>
9265
Added tag virtinst-0_98_0 for changeset
9266
f75f4efc41ead6b3ec4b111cbaef062393bfe183
9271
[f75f4efc41ea] [virtinst-0_98_0]
9273
* virt-install, virtinst/XenGuest.py:
9274
allow nonsparse disk files (#217764)
9277
2006-11-20 "Jeremy Katz <katzj@redhat.com>
9280
Added tag virtinst-0_97_0 for changeset
9281
f8f6d44cbcaf04e0906b14ec46265fd665081bda
9286
[f8f6d44cbcaf] [virtinst-0_97_0]
9289
shenanigans to handle specifying multiple disks or nics (#215726)
9292
* virtinst/XenGuest.py:
9293
figure out default bridge at setup() time
9296
2006-11-15 "Hugh O. Brock <hbrock@redhat.com>
9298
* virtinst/XenGuest.py:
9299
Add validation to vm name
9302
2006-11-15 "Daniel P. Berrange <berrange@redhat.com>
9304
* AUTHORS, virt-install, virtinst/XenGuest.py, virtinst/util.py:
9305
Added patch from Glauber to auto-detect primary bridge based on
9306
default network route (bz#201626 & #207210)[D
9309
2006-10-20 "Jeremy Katz <katzj@redhat.com>
9312
require uid == 0 (#211537)
9315
2006-10-18 "Jeremy Katz <katzj@redhat.com>
9318
Added tag virtinst-0_96_0 for changeset
9319
9ee6fa56dd127a829f1a0373b61687440f95e8d9
9324
[9ee6fa56dd12] [virtinst-0_96_0]
9327
better way to check for hvm capable (#211276)
9330
* virtinst/ParaVirtGuest.py:
9331
cleanup on nfs failure (#206196)
9335
actually helps to use the vcpu option
9338
2006-10-13 "Jeremy Katz <katzj@redhat.com>
9341
Added tag virtinst-0_95_1 for changeset
9342
7a0f39f731dbd0d5aa21e9d3d97fb64fcb4441b8
9347
[7a0f39f731db] [virtinst-0_95_1]
9350
add support for setting vcpus
9353
2006-10-12 "Jeremy Katz <katzj@redhat.com>
9356
Added tag virtinst-0_95_0 for changeset
9357
560b7e3b790b1e25cf8d0e7109c9dd5b2b0ff9be
9360
* README, setup.py, tests/xenconfig.py, tests/xmlconfig.py, virt-
9361
install, virtinst/FullVirtGuest.py, virtinst/ParaVirtGuest.py,
9362
virtinst/XenGuest.py, virtinst/__init__.py, virtinst/util.py,
9363
xenguest-install, xeninst/FullVirtGuest.py,
9364
xeninst/ParaVirtGuest.py, xeninst/XenGuest.py, xeninst/__init__.py,
9367
[560b7e3b790b] [virtinst-0_95_0]
9369
2006-10-05 "Daniel P. Berrange <berrange@redhat.com>
9371
* .hgignore, tests/data-fullyvirt-disk-block.xen, tests/data-
9372
fullyvirt-disk-block.xml, tests/data-fullyvirt-disk-file.xen, tests
9373
/data-fullyvirt-disk-file.xml, tests/data-paravirt-disk-block.xen,
9374
tests/data-paravirt-disk-block.xml, tests/data-paravirt-disk-drv-
9375
file.xen, tests/data-paravirt-disk-drv-file.xml, tests/data-
9376
paravirt-disk-drv-phy.xen, tests/data-paravirt-disk-drv-phy.xml,
9377
tests/data-paravirt-disk-drv-tap-qcow.xen, tests/data-paravirt-disk-
9378
drv-tap-qcow.xml, tests/data-paravirt-disk-drv-tap.xen, tests/data-
9379
paravirt-disk-drv-tap.xml, tests/data-paravirt-disk-file.xen, tests
9380
/data-paravirt-disk-file.xml, tests/data-paravirt-many-disks.xen,
9381
tests/data-paravirt-many-disks.xml, tests/xenconfig.py,
9382
tests/xmlconfig.py, xenguest-install, xeninst/FullVirtGuest.py,
9383
xeninst/ParaVirtGuest.py, xeninst/XenGuest.py, xeninst/util.py:
9384
Added support for setting individual disk drivers & made blktap
9385
default. Added test suite, added logging
9388
2006-10-03 "Jeremy Katz <katzj@redhat.com>
9391
Added tag xeninst-0_94_0 for changeset
9392
7a2586529ba1a869cfb0b7d1d5f6729da987e464
9395
* xeninst/XenGuest.py:
9396
fix handling of block based devs (#209138)
9397
[7a2586529ba1] [xeninst-0_94_0]
9399
2006-09-26 "Daniel P. Berrange <berrange@redhat.com>
9401
* xeninst/ParaVirtGuest.py:
9402
Fix raising of errors for invalid http & nfs install locations
9405
2006-09-21 "Daniel P. Berrange <berrange@redhat.com>
9407
* xeninst/FullVirtGuest.py, xeninst/ParaVirtGuest.py:
9408
Write out vcpu setting to XM config
9412
Ignore generated files
9415
2006-09-20 "Jeremy Katz <katzj@redhat.com>
9418
Added tag xeninst-0_93_0 for changeset
9419
5c72121900824d7c8e0552e6596fc0e148ce5b40
9424
[5c7212190082] [xeninst-0_93_0]
9426
2006-09-20 "Daniel P. Berrange <berrange@redhat.com>
9428
* xeninst/FullVirtGuest.py:
9429
Ensure type=ioemu is set for HVM network XM config
9432
2006-09-19 "Daniel P. Berrange <berrange@redhat.com>
9434
* xeninst/FullVirtGuest.py, xeninst/util.py:
9435
Enable PAE for fully virt if host system supports PAE
9438
* xeninst/FullVirtGuest.py:
9439
Fixed source element for fully virt CDROM backed to host Cdrom
9440
device. Remove ioemu: prefix which is bogus
9443
2006-09-14 "Daniel P. Berrange <berrange@redhat.com>
9445
* xeninst/XenGuest.py:
9446
Explicitly turn off vncunsed otherwise our requested port is ignored
9449
* xeninst/XenGuest.py:
9450
Fix handling of virtual disks backed by block devices rather than
9454
2006-09-12 "Jeremy Katz <katzj@redhat.com>
9457
actually check if we're on a xen kernel (#205889) add some sdl
9461
2006-09-05 "Jeremy Katz <katzj@redhat.com>
9463
* xeninst/XenGuest.py:
9464
default to vncunused
9468
fix tyop, make memory an int
9471
2006-08-31 "Jeremy Katz <katzj@redhat.com>
9473
* xeninst/XenGuest.py:
9474
allow --vncport=-1 ==> vncunused.
9477
2006-08-30 "Jeremy Katz <katzj@redhat.com>
9480
Added tag xeninst-0_92_0 for changeset
9481
2e8629eba0863ce5dc1d4afd5258c9828a47d2bb
9486
[2e8629eba086] [xeninst-0_92_0]
9488
* xenguest-install, xeninst/FullVirtGuest.py,
9489
xeninst/ParaVirtGuest.py, xeninst/XenGuest.py:
9490
support for rebooting the domain when the installation is thought to
9491
be finished. there's a bit of heuristic present (we look for the
9492
disk to be bootable) but it seems better than nothing
9495
* xenguest-install, xeninst/ParaVirtGuest.py, xeninst/XenGuest.py:
9496
fix what we display to be right about whether or not the domain is
9497
really still running or not
9500
* xeninst/XenGuest.py:
9501
fix passing mac addr
9505
fix interactive mode (patch from misa)
9508
2006-08-29 "Jeremy Katz <katzj@redhat.com>
9511
Added tag xeninst-0_91_0 for changeset
9512
57b6ff5c7c687c3ff699ed252e243a79a4c93ac3
9517
[57b6ff5c7c68] [xeninst-0_91_0]
9519
* xenguest-install, xeninst/ParaVirtGuest.py, xeninst/XenGuest.py:
9520
support spawning vncviewer or xm console as appropriate for the
9524
2006-08-28 "Jeremy Katz <katzj@redhat.com>
9526
* xeninst/FullVirtGuest.py, xeninst/XenGuest.py:
9527
fix defaults for graphics. also, fix FV installs
9530
* xenguest-install, xeninst/FullVirtGuest.py,
9531
xeninst/ParaVirtGuest.py, xeninst/XenGuest.py:
9532
add some support for setting up graphics (vnc or sdl) for both PV
9533
and FV guests. only expose vnc via xenguest-install
9535
also, add features to FullVirt guests a little bit more sanely
9538
2006-08-26 "Jeremy Katz <katzj@redhat.com>
9540
* xenguest-install, xeninst/FullVirtGuest.py,
9541
xeninst/ParaVirtGuest.py, xeninst/XenGuest.py:
9542
make start_install a little bit more generic and push it up to
9543
XenGuest, add the bits for a console callback method instead of just
9544
having an 'xm console' call
9548
don't loop endlessly if ram < MIN_RAM
9551
2006-08-21 "Jeremy Katz <katzj@redhat.com>
9554
Added tag xeninst-0_90_1 for changeset
9555
04de889a7913a6627be1f9c5e64ccb9b43923a83
9560
[04de889a7913] [xeninst-0_90_1]
9563
fix tab/space mixups
9566
2006-08-16 "Jeremy Katz <katzj@redhat.com>
9569
Added tag xeninst-0_90_0 for changeset
9570
b9b0c26c43ac9cb72ec6a97744bf4d848d4008e6
9574
need to set version here too
9575
[b9b0c26c43ac] [xeninst-0_90_0]
9578
Added tag xeninst-0_90_0 for changeset
9579
5c415fab3aab716e0c7bbe136593a4151e6df494
9582
* xeninst/FullVirtGuest.py, xeninst/ParaVirtGuest.py:
9583
adjust for libvirt 0.1.4 changes. FV guest installs work now
9586
* xeninst/XenGuest.py:
9587
use the disk node type for the xen disk config too
9590
2006-08-15 "Jeremy Katz <katzj@redhat.com>
9595
* setup.py, xenguest-install:
9596
make them executable
9599
* setup.py, xenguest-install, xenguest-install.py:
9600
* rename xenguest-install.py -> xenguest-install
9608
* xenguest-install.py:
9612
2006-08-10 "Jeremy Katz <katzj@redhat.com>
9614
* xeninst/ParaVirtGuest.py:
9615
give the error to help people diagnosing problems (per a comment on
9619
2006-08-09 "Jeremy Katz <katzj@redhat.com>
9621
* xenguest-install.py:
9625
* xeninst/FullVirtGuest.py:
9626
first pass at full virt installs. doesn't currently work due to
9627
libvirt not fully understanding cd devices for hvm guests
9630
* xeninst/ParaVirtGuest.py:
9631
use common bits from XenGuest, define disk to be xvd, remove some
9635
* xeninst/XenGuest.py:
9636
disk and network xml/xen methods can be shared between PV and FV
9639
* xeninst/ParaVirtGuest.py:
9640
fix type of boot to be a tuple properly. also take a dict
9643
* xeninst/ParaVirtGuest.py:
9644
allow specifying just the boot kernel + initrd instead of just
9645
booting them via location for koan's use
9648
2006-08-08 "Jeremy Katz <katzj@redhat.com>
9650
* xenguest-install.py, xeninst/FullVirtGuest.py,
9651
xeninst/ParaVirtGuest.py, xeninst/XenGuest.py, xeninst/__init__.py,
9653
first pass at breaking up xenguest-install to have more of a usable
9654
API. currently only works for paravirt and some of the bits after
9655
the install gets started are still a little less than ideal
1
Please see http://git.fedorahosted.org/git/?p=python-virtinst.git;a=shortlog
3
Or directly from a git checkout:
5
git clone git://git.fedorahosted.org/python-virtinst.git