Cole Robinson
8f1bc4decb
virtinst: Combine ImageFetcher and OSDistro
...
They are all involved with fetching distro URLs
2013-08-08 20:49:50 -04:00
Cole Robinson
68ddb9d885
capabilities: Drop workarounds for long gone libvirt bugs
...
These were both fixed 4-5 years ago
2013-08-08 19:41:39 -04:00
6e4bafc58c
add ALT Linux support
2013-08-08 15:21:59 -04:00
Tomoki Sekiyama
419b34bb2e
VirtualCharDevice: Enable channels with char devices other than spicevmc
...
Currently, virt-manager supports adding spicevmc channel, and cannot add
channels with char device backends like pty or unix, which is often used by
guest agents. On the other hand, spicevmc shows up for serial and parallel
devices, that causes an error if chosen.
This enables virt-manager to add channels with a char device backend other
than spicevmc, and hides spicevmc from non-channel devices.
Signed-off-by: Tomoki Sekiyama <tomoki.sekiyama@hds.com>
2013-08-08 14:29:15 -04:00
Cole Robinson
00e0057868
cli: Fix some comment spacing
2013-07-31 09:28:35 -04:00
Lars Seipel
72648c9185
Fix rawhide URL installs
...
https://bugzilla.redhat.com/show_bug.cgi?id=989162
2013-07-29 12:28:22 -04:00
Marcus Karlsson
1004ad7a23
osdict: Add FreeBSD 10
...
FreeBSD 10 is an upcoming release of FreeBSD. It supports virtio by
default, unlike earlier releases of FreeBSD. Add it to osdict.
2013-07-29 11:22:27 -04:00
Marcus Karlsson
eb93aec4af
osdict: Add FreeBSD 9
...
FreeBSD 9 is the current production release of FreeBSD. Add it to
osdict, using the same properties as FreeBSD 8.
2013-07-29 11:22:27 -04:00
Cole Robinson
a23e30eb2d
xmlbuilder: Fix clearing address.domain element
...
Our scheme for not unlinking a root node would cause issues if trying
to clear a @domain property when the root node was <domain>, even
if they are unrelated.
2013-07-29 10:45:37 -04:00
Martin Kletzander
5208c5f321
Fix progress bars in virt-clone once more
...
Commit 665375db
was meant to fix the progress bar problems, but as
I've found out just made one race (which still persisted) a little
less probable. The real problem was in the upper code which meant to
finish the progress bar properly, however this was not done thanks to
'finally' statement being not executed when the function returned in
the 'try' part. This patch makes the upper caller wait for the
updating thread to finish and then properly end()s the progress bar's
output.
2013-07-26 10:08:42 +02:00
Cole Robinson
85f1e1d4b1
Fix remote URL installs
...
We need to make sure the pool cache is invalidated if we create
the boot-scratch pool. Also share code that builds a volinstall instance.
2013-07-25 16:21:30 -04:00
Cole Robinson
03bd6f024e
xmlbuilder: Fix setting float value for is_int
2013-07-25 15:31:40 -04:00
Cole Robinson
63a3fb3066
Guest: Split up set_device_defaults for clarity
2013-07-25 15:04:47 -04:00
Cole Robinson
bf7773ce58
Guest: Drop add_device set_defaults option
...
Was only used to fix one bug, but has too many side effects. Just
fix it at the caller.
2013-07-25 15:04:47 -04:00
Cole Robinson
695c4b7189
VirtualDisk: Make the driver/type auto changes opt-in
...
It was hard to get this right, so just require that any API users
which are changing the path of an existing disk call sync_path_props()
2013-07-25 15:04:47 -04:00
Cole Robinson
bdfb86fd06
xmlbuilder: Break out much of the xml handling to a separate class
...
Clears things up a bit.
2013-07-25 15:04:47 -04:00
Cole Robinson
bba3c93508
xmlbuilder: Always keep around an xml node, even if building from scratch
...
This further unifies the 'parse existing' vs. 'build new' case.
2013-07-25 10:59:23 -04:00
Cole Robinson
170595698e
xmlbuilder: Drop is_tri property
...
It's a minor variation of is_bool which is better understood by using
defaults.
2013-07-24 12:51:53 -04:00
Cole Robinson
7a369a9802
xmlbuilder: Drop is_multi option
...
It complicates things quite a bit. And there's only one user, so just open
code it.
2013-07-24 12:36:44 -04:00
Cole Robinson
7411776c9a
xmlbuilder: Simplify global XML vars
...
Just have classes specify a root XML path, and figure out root name,
indentation, and dumpxml path from there.
2013-07-24 12:36:10 -04:00
Cole Robinson
43d15d67ac
util: Have set_xml_path use xml_parse_wrapper
2013-07-24 12:08:00 -04:00
Cole Robinson
3cf7679beb
Guest: Add get_install_xml for install handling
2013-07-24 11:32:30 -04:00
Cole Robinson
c7af25f7ae
xmlbuilder: Drop cleanup_xml
2013-07-24 10:59:03 -04:00
Cole Robinson
058100cdf8
xmlbuilder: Use shared clear() function
2013-07-24 10:47:40 -04:00
Cole Robinson
e0190f7b5e
XMLBuilder: Drop some is_parse checking
2013-07-24 10:40:35 -04:00
Cole Robinson
2ba3ec2684
Guest: Convert to new style XML prop, drop a bunch of XML infrastructure
...
Now every XML property is new style, without explicit local get/set
handlers. Drop a bunch of XML infrastructure that was helping with the
transition.
2013-07-24 07:54:04 -04:00
Cole Robinson
4e4ce6d395
DomainFeatures: Convert to new style XML props
2013-07-23 17:34:33 -04:00
Cole Robinson
24e433a8de
CPU: Convert to new style XML props
2013-07-23 17:34:33 -04:00
Cole Robinson
6af0848fb8
osxml: Convert to new style XML props
2013-07-23 17:34:33 -04:00
Cole Robinson
09f47ad79e
DomainNumatune: Convert to new style XML props
2013-07-23 17:34:33 -04:00
Cole Robinson
6127cac414
xmlbuilder: Allow is_int with custom converter options
2013-07-23 17:34:33 -04:00
Cole Robinson
012d1cdc52
Installer: Drop all XML handling, just have it setup install info
2013-07-23 17:34:33 -04:00
Cole Robinson
c0bdd24a55
Move all <os> bits to OSXML object, proxy through Installer
...
We want to remove all XML altering from the Installer, this is part one.
2013-07-23 17:34:33 -04:00
Cole Robinson
07215853b3
Installer: Drop hard to manage install_bootconfig
2013-07-23 17:34:33 -04:00
Cole Robinson
00d41be5c5
DistroInstaller: Bunch of misc cleanup
2013-07-23 17:34:32 -04:00
Cole Robinson
14103f175d
VirtualConnection: Allow setting a display name for fake URIs
2013-07-23 17:34:32 -04:00
Cole Robinson
f37d4d010a
virtinst: Drop __init__ params from Guest and Installer
2013-07-23 17:34:32 -04:00
Cole Robinson
aba9d82bac
xmlbuilder: Improve error report if we might unlink root node
2013-07-23 17:34:32 -04:00
Cole Robinson
d9e82f984c
VirtualDevice: Raise error if parsing addrstr fails
2013-07-23 17:34:32 -04:00
Cole Robinson
524d1047b1
Guest: Make API users opt in for default console/input devices
...
We don't need to maintain API back compat anymore
2013-07-23 17:34:32 -04:00
Cole Robinson
77c044932c
virtinst: Move PXE, Import, and LiveCD installer to Installer.py
...
They are all trivial classes, no need to track in separate files.
2013-07-23 17:34:32 -04:00
Cole Robinson
20a0083635
Clock: Convert to new style XML props
2013-07-23 17:34:32 -04:00
Cole Robinson
b18a29d8ff
xmlbuilder: Add explicit support for yes/no XML options
2013-07-23 17:34:32 -04:00
Cole Robinson
326731cfc5
xmlbuilder: Remove order_elements hack
2013-07-23 17:34:32 -04:00
Cole Robinson
510d28e33b
Seclabel: Convert to new style XML props.
2013-07-23 17:34:31 -04:00
Cole Robinson
e802eae07b
VirtualCharDevice: Convert to new style XML props, rework API
2013-07-23 17:34:31 -04:00
Martin Kletzander
b8a209ef9c
virt-install: Make default graphics configurable
...
The '--default-graphics' option of 'setup.py configure' only affects
virt-manager, but not virt-install. This should be unified, so this
patch checks whether default_graphics taken from the cli is supported
and uses that option.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=912615
2013-07-16 08:07:57 +02:00
Cole Robinson
4f7f9e2267
VirtualAudio: Convert to new style XML props
2013-07-15 22:00:08 -04:00
Cole Robinson
a9296ec3ae
VirtualController: Convert to new style XML props
2013-07-15 21:52:18 -04:00
Cole Robinson
9c92d8e092
VirtualFilesystem: Convert to new style XML props
2013-07-15 20:53:46 -04:00