Cole Robinson
0654784643
virt-install: Add --pm option
2014-02-03 11:11:38 -05:00
Cole Robinson
4fbee9aa41
cli: Make --cpu host-model and --cpu host-passthrough work
2014-02-03 11:11:38 -05:00
Cole Robinson
66d9cdbe22
tests: Strip beginning lines from diff output to not conflict so much
2014-02-02 13:44:20 -05:00
Cole Robinson
bce8ee942d
Fix some pylint
2014-02-01 19:47:31 -05:00
Cole Robinson
6638587077
clitest: Don't needlessly deviate default_bridge from test infra
2014-02-01 14:19:37 -05:00
Cole Robinson
184fe3fdb1
clitest: Make it easier to filter prompt tests
2014-02-01 14:17:03 -05:00
Cole Robinson
24c1c5a2bd
cli: --network: Support driver_queues option
2014-02-01 07:48:04 -05:00
Cole Robinson
34e2ca8389
cli: --network: Wire up virtualport options
2014-01-31 16:51:02 -05:00
Cole Robinson
b12f06b84b
cli: --disk: Add iotune paramters
2014-01-31 15:38:39 -05:00
Cole Robinson
427400d3f3
virtinst: cpu: Reorder feature bits to match libvirt XML order
2014-01-31 13:44:50 -05:00
Cole Robinson
16390a5433
clitest: Infrastructure for skipping test compare
...
Our virt-xml tests don't compare correctly if we aren't using the
latest libvirt that supports the <panic> device.
2014-01-30 11:05:45 -05:00
Cole Robinson
b963c3ec39
cli: Allow '--option help' for introspection as well
2014-01-27 14:48:23 -05:00
Cole Robinson
b004d11eae
cli: Fix unsetting --disk path
2014-01-26 13:09:26 -05:00
Cole Robinson
57e89cda8b
virt-xml: Create storage if necessary
2014-01-26 13:09:26 -05:00
Cole Robinson
443ae1b303
virt-xml: Change clear format to clearxml=yes, add --help example
2014-01-25 20:30:08 -05:00
Cole Robinson
110d6aac83
virt-xml: Add --build-xml option for just outputing XML
2014-01-25 20:30:08 -05:00
Cole Robinson
48f69dd638
virt-xml: Add --update option for hotplug/hotunplug
2014-01-25 19:51:56 -05:00
Cole Robinson
ecfc1a527d
virt-xml: Make --domain positional, allow stdin XML
2014-01-25 18:16:16 -05:00
Cole Robinson
e49e61f71e
virt-xml: Add --add-device and --remove-device options
2014-01-25 17:20:30 -05:00
Cole Robinson
26737eb7d5
virt-xml: Allow --option clearxml to clear all XML first
...
Needed for things like --cpu host-model,clearxml to easily clear all
the previous state.
2014-01-25 17:20:30 -05:00
Cole Robinson
927a7ef265
cli: Add --metadata option
...
Can take name, description, uuid, and title (new). This deprecates the
separate --description and --uuid element, but we won't require it for
specifying a name with virt-install/virt-image since that's quite
overkill. Allowing --name with this option is mostly for the benefit
of virt-xml.
2014-01-25 17:20:29 -05:00
Cole Robinson
ec359fd5b2
cli: Add --disk readonly and shareable options
...
This deprecates the difficult perms= sub option
2014-01-25 17:20:29 -05:00
Cole Robinson
7ba76b5748
cli: Add --memory, deprecates -r/--ram
...
This is a compound option like we use elsewhere, with suboptions for
maxmemory and hugepages.
2014-01-25 17:20:29 -05:00
Cole Robinson
cf626c3afe
cli: Fix --security label=foo,unknownopt=val
...
We should embed the unknown opt
2014-01-25 17:20:29 -05:00
Cole Robinson
65124ff66b
cli: Add infrastructure for tracking alias property names
...
Use this to hide redundant --boot extra_args option from introspection
output.
2014-01-25 17:20:29 -05:00
Cole Robinson
748ff1c4cc
virt-xml: Initial commit, basic set of tests
2014-01-25 17:20:29 -05:00
Cole Robinson
35f6567c69
Allow command line introspection ex: disk=?
...
This will list all sub options associated with that command.
2014-01-22 15:37:23 -05:00
Cole Robinson
d216c44157
Stub out --check-cpu option
...
It's old, uninteresting, and I don't think anyone is depending on it
to work. Parse the command line option, but don't do anything differently.
2014-01-22 10:38:42 -05:00
Cole Robinson
41a84bae9f
cli: Rework adhoc CLI parsing into a class structure
...
This adds:
VirtCLIArgument: a single foo=bar mapping
VirtOptionString: A collection of VirtCLIArguments, that parses the whole thing
VirtCLIParser: Represents a single cli option like --disk, --network, etc.
Centralizing this infrastructure opens up a lot of doors for future
improvements, like cli option introspection.
2014-01-22 10:35:30 -05:00
Chen Hanxiao
a98515a4da
virt-install: add support for '--panic option'
...
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
(crobinso: man page and cli tweaks)
2014-01-22 09:33:18 -05:00
Cole Robinson
c426a30511
Convert all command line handling to argparse
...
Allows us to drop some hacks, and we may need it for a new upcoming
tool.
2014-01-19 11:32:08 -05:00
Cole Robinson
6d2f937c99
virt-install: --host-device: add driver_name option
2014-01-14 18:09:21 -05:00
Cole Robinson
b57a2094ff
Probe entire backing chain when checking if path is in use
2014-01-14 17:44:14 -05:00
Cole Robinson
95170e8892
virt-install: Support --network source, source_mode, target
...
The latter two bits are needed for macvtap configuration.
2014-01-06 15:17:32 -05:00
Cole Robinson
c9680b34a1
ppc64 pseries guests use vga graphics, not qxl (bz 1034693)
2013-12-18 16:17:01 -05:00
Giuseppe Scrivano
a832d77559
virt-install: EGD RNG devs need a host to connect to if backend_mode=bind
...
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
56b9f6187b
Streamline support checks
...
Just use one function check_support
2013-10-06 10:08:04 -04:00
Cole Robinson
d4103eac26
virt-install: Add '--console none' and '--channel none'
...
For skipping the default channel and default console behavior
2013-10-06 09:43:56 -04:00
Cole Robinson
f44ad5ae05
Default to virtio console for supported OS
...
This could cause issues for people trying unattended non-graphical
kickstart installs and expecting ttyS0 in the guest to be hooked
up to the default console. So to get back the default behavior, you
can do:
--console pty
2013-10-06 08:53:05 -04:00
Cole Robinson
d0b067f2fc
virt-install: Add --clock option
2013-10-05 16:48:07 -04:00
Cole Robinson
20dfebeda3
clitest: Fix pylint, drop a few overkill tests
2013-10-05 10:22:11 -04:00
Fred A. Kemp
05254479db
virt-install: Add --disk removable option
2013-10-04 07:57:13 -04:00
Cole Robinson
d83b2c02fa
virt-manager: Add USB3 convenience option to the controller UI
...
and a --controller usb3 option to virt-install
2013-10-03 16:34:28 -04:00
Giuseppe Scrivano
8e85840546
virt-install: allow to specify "startupPolicy" for --disk
...
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2013-10-03 16:51:23 +02:00
Cole Robinson
9c57c72eac
Default to adding USB2 for new enough KVM
...
We enable this for virt-install as well. To avoid it, you can do either
--controller usb,model=none or --controller usb
2013-10-02 15:54:35 -04:00
Cole Robinson
66f71262f0
clitest: Add case to verify collision check via backing store
2013-09-29 09:43:39 -04:00
Cole Robinson
40870dbcd8
tests: Add extra caching to speed up tests
2013-09-28 21:07:22 -04:00
Cole Robinson
4822e6478f
clitest: Don't fork rm for every test
...
Speeds up the tests quite a bit
2013-09-28 17:23:23 -04:00