Cole Robinson
1c608f3ba8
network: Parse <portgroup> XML
2014-05-31 14:20:56 -04:00
Jim Minter
764063dfe9
virt-install --disk discard= support
...
(crobinso: Remove default overriding, add test cases)
2014-04-29 10:38:30 -04:00
Cole Robinson
a398d245cb
Clean up pylint integration
...
- Drop no longer needed disable= bits
- Use string names for all skipped pylint messages
2014-04-02 19:00:24 -04:00
Chen Hanxiao
89c45af26d
interface: check ip address format
...
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com >
2014-03-31 22:25:36 +08:00
Marc-André Lureau
5882f05e3e
addhw: add CharDevice.source_channel
...
This property maps to channel/source/@channel domain XML.
2014-03-25 17:42:57 -04:00
Cole Robinson
a5b3c1d2f8
guest: Drop back compat hugepage attribute
2014-03-22 12:25:28 -04:00
Chen Hanxiao
7096c3708e
virt-install: Add --membacking option
...
Add option --membacking for "Memory Backing".
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com >
2014-03-22 12:16:24 -04:00
Chen Hanxiao
58a07d04fb
remove memoryBacking parameters from --memory
...
Remove some "Memory Backing" parameters from --memory,
and keep 'hugepages' for backward compatibility.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com >
2014-03-22 12:16:24 -04:00
Chen Hanxiao
008feeb09a
Add more parameters for memoryBacking
...
Add support for parameters nosharepages and locked
if using option --memory.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com >
2014-03-14 21:23:23 +08:00
Cole Robinson
75a2e12dc0
tests: Fix a few failures with older libvirt
2014-03-06 11:29:23 -05:00
Cole Robinson
b4e4f68376
cli: Add --graphics defaultMode
2014-02-27 17:43:59 -05:00
Chen Hanxiao
a48f75078d
virt-install: Add --memtune option
...
This patch provides the ability to
tune memroy tunable parameters for the domain.
Also add test cases for --memtune option
and update man page.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com >
2014-02-24 21:02:31 -05:00
Giuseppe Scrivano
7a1ffff927
storage: add support for gluster fs pools.
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-02-12 15:46:25 +01:00
Giuseppe Scrivano
a2706e9258
storage: add new attribute "source_dir"
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-02-12 15:46:25 +01:00
Cole Robinson
82754ddc84
Expose hostdev rombar in UI and cli (bz 768857)
2014-02-10 14:25:23 -05:00
Cole Robinson
719f23a273
cli: Support per-device <boot order=>
2014-02-09 14:07:27 -05:00
Chen Hanxiao
fcac052cdc
virt-install: add support for user namespace
...
This patch will enable configuring idmap.
It could be used as enable user namespace
for LXC containers.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com >
2014-02-09 13:16:34 -05:00
Giuseppe Scrivano
499cb63f65
doc: remove reference to SDL from virt-install man page
...
Adjust some tests to not use --graphics sdl.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2014-02-06 16:20:12 +01:00
Chen Hanxiao
3be9dd3eb3
virt-install: Add --blkiotune option
...
This patch provides the ability to
tune Blkio cgroup tunable parameters for the domain.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com >
2014-02-06 22:41:00 +08:00
Cole Robinson
cac593da8f
storage: Use qcow2 lazy_refcounts if supported
2014-02-03 15:55:20 -05:00
Cole Robinson
0654784643
virt-install: Add --pm option
2014-02-03 11:11:38 -05:00
Cole Robinson
24c1c5a2bd
cli: --network: Support driver_queues option
2014-02-01 07:48:04 -05:00
Cole Robinson
6042d762b5
cli: Add --graphics connected option (bz 730923)
2014-01-29 09:52:49 -05:00
Cole Robinson
d0c734e215
devicegraphics: Fix updating listen address
...
We need to make sure to change the corresponding <listen> block on newish
libvirt.
2014-01-29 09:22:28 -05:00
Cole Robinson
dde460e399
xmlbuilder: Fix adding devices with child properties
...
And test it
2014-01-27 19:55:37 -05:00
Cole Robinson
9f5a842a3a
xmlbuilder: Make clear() remove unknown XML properties
2014-01-25 17:20:30 -05:00
Cédric Bosdonnat
d888ff2394
Add lxc filesystem drivers: loop and nbd
...
These file systems drivers have been added in virtinst, but also in the
addhardware UI.
2014-01-21 09:29:13 -05:00
Cédric Bosdonnat
2f505822a1
Add Hardware: added the missing filesystem types for LXC guests.
...
This means tweaking the UI to input a memory usage for the 'ram'
filesystem type.
2014-01-21 09:29:12 -05:00
Cole Robinson
6d2f937c99
virt-install: --host-device: add driver_name option
2014-01-14 18:09:21 -05:00
Chen Hanxiao
2bee4a128d
panic notifier: display default value if not set
...
If we didn't set values for @type and @iobase in
XML, libvirt will use the default value.
Currently, virt-manager will display "-" if we don't
set any values.
This patch will use default value for display.
And update test case to cover this scenario.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com >
2014-01-14 09:58:09 -05:00
Chen Hanxiao
8419835b1d
virtinst: add support for panic notifier device
...
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com >
2014-01-11 14:32:18 -05:00
Cole Robinson
70f1f8df1e
storage: Parse volume key
2013-12-05 09:17:12 -05:00
Giuseppe Scrivano
8248331d6c
virtinst: allow EGD RNG devices to have both bind and connect sources
...
Remove backend_mode from VirtualRNGDevice and allow to directly specify
bind and connect sources.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2013-10-28 17:32:06 +01:00
Giuseppe Scrivano
2a040ccd17
mass update: remove double spaces from comments
...
Updated by this script:
find -name '*.py' -exec sed -i "s|^\(#.*[^.?\!]\) \(.*[^#]\)$|\1 \2|g" \{\} \;
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2013-10-28 17:22:31 +01:00
Giuseppe Scrivano
0df75c7603
headers: update "Red Hat, Inc." copyright for the year 2013
...
Ensure that any file touched by a @redhat.com author in 2013 has an
updated copyright header.
The files were updated using the build-aux/update-copyright gnulib
script and manually added where the copyright line wasn't present.
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2013-10-28 17:22:26 +01:00
Cole Robinson
a163f44a27
clock: Add timer parsing
2013-10-05 16:05:31 -04:00
Fred A. Kemp
bcd47d6471
virtinst: Expose disk/target/@removable
2013-10-04 07:57:13 -04:00
Giuseppe Scrivano
f5a7476497
virtinst: expose disk/source startupPolicy attribute
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2013-10-03 16:49:49 +02:00
Cole Robinson
6043a88a0c
snapshots: Add some specific UI for external snapshots
...
We sort them separately in the snapshot list, explicitly mention that
they are 'external', and add a UI field listing the memory/disk
details.
In general mixing internal and external snapshots is a recipe for
confusion and disaster, so I think the best thing to do is at least
acknowledge their presence in the UI but not make any attempt to
predict what will or will not work.
2013-09-30 19:55:21 -04:00
Cole Robinson
bc34df1dc7
storage: Parse volume backingstore
2013-09-28 19:21:58 -04:00
Cole Robinson
a900ca14e3
domainfeatures: Fill out XML support
2013-09-27 15:35:27 -04:00
Cole Robinson
1212cf43a9
DomainFeatures: Drop __getitem__ helpers
...
They just complicate matters
2013-09-27 15:08:44 -04:00
Giuseppe Scrivano
153e485bb7
Fix some tests
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2013-09-26 19:41:40 -04:00
Giuseppe Scrivano
0d03f972a3
virtinst: handle the guest "title" XML element
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com >
2013-09-25 19:16:22 +02:00
Cole Robinson
a2e5206730
deviceinterface: Fix creating direct interfaces (bz 1006324)
...
And take the opportunity to standarize on setting net.source,
rather than have API users have to do net.bridge/network/source_dev
2013-09-24 10:00:01 -04:00
Cole Robinson
9ec845af03
xmlbuilder: Unify make_xpath callbacks
2013-09-24 09:25:05 -04:00
Cole Robinson
737016c0cf
guest: Allow parsing domain ID
2013-09-23 21:27:42 -04:00
Cole Robinson
85813203dc
createnet: Use virtinst.Network for XML generation
2013-09-23 13:49:20 -04:00
Cole Robinson
0323fcfbf7
network: Fix parsing route netmask
2013-09-23 09:10:43 -04:00
Cole Robinson
a7834f5d6c
Add Network class for parsing <network> XML
...
Convert virtManager/host.py, do some cleanups and modernization to the
UI there, add tests.
createnet.py hasn't really been touched yet, but still works because
it was building the XML by hand anyways.
2013-09-22 11:16:07 -04:00