summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* virtManager: by default use the recommended resources to run an OSlibosinfo-conversionGiuseppe Scrivano2014-01-271-5/+18
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* osdict: expose libosinfo recommended resources for an OSGiuseppe Scrivano2014-01-271-0/+29
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* tests: fix to not fail with libosinfoGiuseppe Scrivano2014-01-273-4/+3
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* virt-manager: add dependency to libosinfoGiuseppe Scrivano2014-01-271-0/+1
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* virtinstall: add some quirksGiuseppe Scrivano2014-01-271-8/+90
| | | | | | | It also adds aliases for OS names that are different under libosinfo to maintain backward compatibility. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* virtinstall: read OSes information from libosinfoGiuseppe Scrivano2014-01-271-98/+215
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* virtinstall: allow to redefine typename in _OSVariantGiuseppe Scrivano2014-01-271-2/+6
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* virtinst: clearer error message when disks upper limits reachedChen Hanxiao2014-01-271-1/+2
| | | | | | | | | | 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>
* Split uihelpers into sharedui and uiutilCole Robinson2014-01-2619-280/+303
| | | | | | Reserve uiutil for the little gtk helper functions, rest goes into shared UI (which all should probably be factored into their own files but thats a task for another day)
* uihelpers: Move browse_local to error.pyCole Robinson2014-01-266-111/+102
| | | | | It doesn't fit any better, but now it's accessible to all UI classes more easily.
* uihelpers: Move a few more functions closer to their callersCole Robinson2014-01-2616-275/+258
|
* Move many shared UI functions to addhw static functionsCole Robinson2014-01-269-503/+498
| | | | | | Much of uihelpers is just simple stuff that's shared between addhw and details UI, so just make it staticmethods in addhw, which details already has a reference to.
* details: Remove runtime vcpu pinning listCole Robinson2014-01-263-160/+2
| | | | I don't think anyone depended on this, and it's overkill for virt-manager.
* details: If refresing page errors, still disable applyCole Robinson2014-01-261-2/+2
| | | | | and switch to the busted page, rather than strangely stay on the previous page.
* details: Move inspection info to its own pageCole Robinson2014-01-262-400/+429
|
* details: Remove UI for security, apic, acpi, clockCole Robinson2014-01-263-592/+54
| | | | | 99% of users never need to tweak them, and now that we have virt-xml, most of what they could want to do is a simple CLI oneliner.
* virt-xml: Fill in man pageCole Robinson2014-01-267-22/+305
|
* cli: Fix unsetting --disk pathCole Robinson2014-01-263-2/+17
|
* virt-xml: Create storage if necessaryCole Robinson2014-01-267-14/+93
|
* cli: Explicitly error on cli options like --disk readonlyCole Robinson2014-01-251-1/+6
| | | | | All options should be opt=val pairs, but we behaved weirdly on missing = before.
* virt-xml: Change clear format to clearxml=yes, add --help exampleCole Robinson2014-01-253-19/+15
|
* virt-xml: Add --build-xml option for just outputing XMLCole Robinson2014-01-254-19/+57
|
* virt-xml: Add --update option for hotplug/hotunplugCole Robinson2014-01-253-37/+90
|
* virt-xml: Make --domain positional, allow stdin XMLCole Robinson2014-01-254-31/+98
|
* virt-xml: Actually update the INACTIVE xmlCole Robinson2014-01-2546-88/+143
|
* virt-xml: Add --add-device and --remove-device optionsCole Robinson2014-01-259-19/+199
|
* virt-xml: Allow --option clearxml to clear all XML firstCole Robinson2014-01-256-14/+135
| | | | | Needed for things like --cpu host-model,clearxml to easily clear all the previous state.
* xmlbuilder: Make clear() remove unknown XML propertiesCole Robinson2014-01-254-0/+49
|
* xmlbuilder: Remove unneeded argument to _remove_xpath_nodeCole Robinson2014-01-251-7/+5
|
* xmlbuilder: Only pass xml context to _remove_xpath_nodeCole Robinson2014-01-251-2/+2
| | | | Was confusing otherwise, and can give us a speedup.
* simplify remove_ node argsCole Robinson2014-01-251-5/+8
|
* xmlbuilder: Remove some unneeded redirectionCole Robinson2014-01-251-13/+10
|
* cli: Add --metadata optionCole Robinson2014-01-257-21/+57
| | | | | | | | 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.
* virt-install: Drop useless assignmentCole Robinson2014-01-251-1/+1
|
* cli: Add --disk readonly and shareable optionsCole Robinson2014-01-2530-65/+89
| | | | This deprecates the difficult perms= sub option
* cli: Add --memory, deprecates -r/--ramCole Robinson2014-01-259-36/+91
| | | | | This is a compound option like we use elsewhere, with suboptions for maxmemory and hugepages.
* cli: Fix --security label=foo,unknownopt=valCole Robinson2014-01-253-4/+6
| | | | We should embed the unknown opt
* cli: Add infrastructure for tracking alias property namesCole Robinson2014-01-252-6/+15
| | | | | Use this to hide redundant --boot extra_args option from introspection output.
* cli: --controller: Remove double register of typeCole Robinson2014-01-251-1/+0
|
* cli: Allow controlling arch, type, emulator via --bootCole Robinson2014-01-251-0/+5
|
* virt-xml: Initial commit, basic set of testsCole Robinson2014-01-2541-48/+1064
|
* Fix some pylintCole Robinson2014-01-252-3/+2
|
* virt-install: add example for specify private root for containerChen Hanxiao2014-01-251-0/+14
| | | | Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* vmmFSDetails: fixed driver combo valuesCédric Bosdonnat2014-01-251-1/+3
| | | | | For connections other than LXC or QEMU, there was no value, leading to errors.
* vmmFSDetails: don't use a combo for RAM units, force to MBCédric Bosdonnat2014-01-252-40/+9
|
* Don't capitalize disk formats in the combo boxCédric Bosdonnat2014-01-251-4/+5
|
* Share the list of all disk image formatsCédric Bosdonnat2014-01-253-7/+7
| | | | (crobinso: Fix some trailing whitespace)
* Moved vmmFSDetail.convert_units to virtinst.utilCédric Bosdonnat2014-01-252-28/+30
|
* Fix default_uri xen checkCharles Arnold2014-01-251-1/+1
| | | | | | | | | | | | | | The xend toolstack is deprecated upstream. While support needs continue for this legacy toolstack, the newer libxl toolstack does not need xend to work. Additionally, libvirt now has drivers for supporting the libxl toolstack. This patch changes the check from /var/lib/xend to /var/lib/xen which is a common path in both toolstacks. Neither the old path nor the new one actually proves that xend is currently running. It just validates that xen has been installed on the machine. Signed-off-by: Charles Arnold <carnold@suse.com>
* create: show correctly the list of supported OSGiuseppe Scrivano2014-01-241-1/+1
| | | | | | | | Do not show only the OS supported stable when stable_defaults is not used. commit dc0b9bbaafa98498f5621a2c318a43fdfe1fa7ff introduced this issue. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>