Cole Robinson
6f93d3decf
Use .qcow2 extension when creating qcow2 files
...
Seems the be the practice these days
2014-02-04 17:30:24 -05:00
Cole Robinson
4e4fb15a2f
virt-*: Drop all --prompt handling
...
This stuff is not very helpful and a pain to maintain. Let's drop it once
and for all. We still accept the CLI options and log a warning so people
hopefully take the hint.
2014-02-04 17:01:27 -05:00
Cole Robinson
8618a3abd7
prefs: Add 'Add SPICE USB redirection' option, enable it
...
For qemu guests that are using spice, add 4 redirdevs so USB redirection
happens for free. This can be disabled in the preferences dialog.
2014-02-04 15:27:56 -05:00
Cole Robinson
e0103286bd
devicedisk: Short circuit path_exists(None)
2014-02-03 16:43:25 -05:00
Cole Robinson
cac593da8f
storage: Use qcow2 lazy_refcounts if supported
2014-02-03 15:55:20 -05:00
Cole Robinson
1ab206a3eb
virt-manager: create: Disable s3/s4 by default (bz 1044145)
...
I don't think most virt-manager users want this enabled, since it can
make the shutdown button cause a VM suspend. If people complain we can
provide a Preference or UI in the boot screen to undo it.
2014-02-03 14:22:15 -05:00
Cole Robinson
156a2a1dcb
cli: Clarify a translation string
2014-02-03 11:21:16 -05:00
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
032dd0cf21
clone: Show destination host if on a remote connection (bz 881099)
2014-02-01 18:59:10 -05:00
Cole Robinson
4ce356985a
util: Relax name validation (bz 917444)
...
Warn about common cases like spaces in name, and let libvirt error on
the rest.
2014-02-01 08:37:28 -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
90c9b3ca2e
details: Reword the CPU model UI a bit more
...
- Add options in the model drop down for clear, hvdefault, and app default
- Make 'copy host' a check box, when enabled it hides the model dropdown
- Detect if the VM CPU is a copy of the host CPU
- Undocumented bit that allows passing in host-model/host-passthrough
to the model field for people that really want those settings.
2014-01-31 13:40:09 -05:00
Cole Robinson
0a77093cbc
console: Handle ipv6 addresses (bz 974126)
2014-01-29 11:02:54 -05:00
Cole Robinson
6042d762b5
cli: Add --graphics connected option (bz 730923)
2014-01-29 09:52:49 -05:00
Cole Robinson
64b2d0c6b7
Move shared graphics editing UI to gfxdetails.py
...
Fixes a couple UI bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=696217
https://bugzilla.redhat.com/show_bug.cgi?id=875403
2014-01-29 09:22:28 -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
bd15cd3d6e
distroinstaller: Fix volume upload with latest libvirt bindings (bz 1058720)
2014-01-28 10:00:06 -05:00
Chen Hanxiao
ffda1e8ef4
virt-install: add support for option "--cpu host-model-only"
...
commit 7003a3a528
introduced
"nearest host cpu model" option.
This patch add an option "--cpu host-model-only" to virt-install.
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-01-28 09:40:00 +08:00
Cole Robinson
dde460e399
xmlbuilder: Fix adding devices with child properties
...
And test it
2014-01-27 19:55:37 -05:00
Cole Robinson
b963c3ec39
cli: Allow '--option help' for introspection as well
2014-01-27 14:48:23 -05:00
Chen Hanxiao
4b72c5f2a0
virtinst: clearer error message when disks upper limits reached
...
We set upper limits for virtio, hd ... disks in virtinst.
So we should let users know this.
Improve error message suggested by:
https://bugzilla.redhat.com/show_bug.cgi?id=822331
Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
2014-01-27 10:22:08 +08:00
Cole Robinson
58d5e0b799
uihelpers: Move a few more functions closer to their callers
2014-01-26 17:51:15 -05:00
Cole Robinson
2688ca64bb
virt-xml: Fill in man page
2014-01-26 13:09:26 -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
6e06b3642b
cli: Explicitly error on cli options like --disk readonly
...
All options should be opt=val pairs, but we behaved weirdly on missing
= before.
2014-01-25 20:30:08 -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
48f69dd638
virt-xml: Add --update option for hotplug/hotunplug
2014-01-25 19:51:56 -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
9f5a842a3a
xmlbuilder: Make clear() remove unknown XML properties
2014-01-25 17:20:30 -05:00
Cole Robinson
16c8c31cbd
xmlbuilder: Remove unneeded argument to _remove_xpath_node
2014-01-25 17:20:30 -05:00
Cole Robinson
5edf4de058
xmlbuilder: Only pass xml context to _remove_xpath_node
...
Was confusing otherwise, and can give us a speedup.
2014-01-25 17:20:29 -05:00
Cole Robinson
5c762a9851
simplify remove_ node args
2014-01-25 17:20:29 -05:00
Cole Robinson
329ebe0746
xmlbuilder: Remove some unneeded redirection
2014-01-25 17:20:29 -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
70ce777c33
cli: --controller: Remove double register of type
2014-01-25 17:20:29 -05:00
Cole Robinson
87a611b547
cli: Allow controlling arch, type, emulator via --boot
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
ffa9bb77b3
Fix some pylint
2014-01-25 15:52:34 -05:00
Cédric Bosdonnat
beab40e3b1
Share the list of all disk image formats
...
(crobinso: Fix some trailing whitespace)
2014-01-25 11:59:32 -05:00
Cédric Bosdonnat
796ddd966a
Moved vmmFSDetail.convert_units to virtinst.util
2014-01-25 11:58:24 -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