summaryrefslogtreecommitdiff
path: root/virtinst
Commit message (Collapse)AuthorAgeFilesLines
* details: Fix unsetting autoport valuesCole Robinson2014-03-221-2/+10
|
* cli: Rename --membacking to --memorybackingCole Robinson2014-03-221-4/+4
| | | | | More consistent with the existing --memory option, and the XML block name.
* guest: Drop back compat hugepage attributeCole Robinson2014-03-222-6/+5
|
* cli: Move hugepages=on example to membackingCole Robinson2014-03-221-2/+3
|
* virt-install: Add --membacking optionChen Hanxiao2014-03-224-0/+52
| | | | | | Add option --membacking for "Memory Backing". Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* remove memoryBacking parameters from --memoryChen Hanxiao2014-03-222-4/+0
| | | | | | | Remove some "Memory Backing" parameters from --memory, and keep 'hugepages' for backward compatibility. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* More pylint fixesCole Robinson2014-03-221-6/+8
|
* Turn off some warnings with latest pylintCole Robinson2014-03-221-1/+1
|
* capabilities: Handle arch=none for CPU lookupCole Robinson2014-03-201-7/+7
|
* capabilities: Handle broken return value of failed CPUModelNamesCole Robinson2014-03-201-5/+7
|
* connection: Add explicit API for getting virConnect objectCole Robinson2014-03-203-8/+10
|
* virtManager: read the reason for the domain stateGiuseppe Scrivano2014-03-201-0/+1
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Add more parameters for memoryBackingChen Hanxiao2014-03-142-0/+4
| | | | | | | Add support for parameters nosharepages and locked if using option --memory. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* virtinst: use libvirt getCPUModelNames when availableGiuseppe Scrivano2014-03-132-12/+42
| | | | | | | | | Read the list of CPU models trough getCPUModelNames instead of accessing directly the file cpu_map.xml. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1060316 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* virtinst: drop parsing of cpu featuresGiuseppe Scrivano2014-03-131-32/+4
| | | | | | | | As for the previous patch, this information is not used anywhere and this information should be retrieved using the libvirt baselineCPU API. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* virtinst: drop cpu_map parsing of arch featuresGiuseppe Scrivano2014-03-131-5/+1
| | | | | | | This information is not used anywhere and there is no way to read it directly from libvirt without parsing the cpu_map.xml file. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* lxc: define a private network for OS containersGiuseppe Scrivano2014-03-101-5/+13
| | | | | | | | By default, specify the the "<privnet>" feature with LXC operating system containers. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1040406 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* virt-install: Fix --location iso again, and test it (bz 1071513)Cole Robinson2014-03-062-20/+35
|
* Handle libvirt generating invalid volume XML (bz 1072770)Cole Robinson2014-03-061-1/+1
|
* tests: Fix a few failures with older libvirtCole Robinson2014-03-061-0/+1
|
* cli: Add --graphics defaultModeCole Robinson2014-02-272-0/+2
|
* cli: add missing remove_first method for --blkiotuneChen Hanxiao2014-02-261-0/+1
| | | | | | | Add missing remove_first method for --blkiotune. Update related man pages. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* tests: 'skip' a test if compare check failsCole Robinson2014-02-251-0/+2
| | | | And make latest tests dependent on libvirt.git version
* xmlbuilder: Actually import loggingCole Robinson2014-02-251-0/+1
|
* Don't forbid object names that are only all numbers (bz 1067127)Cole Robinson2014-02-251-4/+0
| | | | | Just let libvirt error, since in the case of things like storage pools this is totally legitimate.
* xmlbuilder: Log broken XML if we can't parse itCole Robinson2014-02-251-1/+7
| | | | Related to https://bugzilla.redhat.com/show_bug.cgi?id=1066564
* virt-install: Add --memtune optionChen Hanxiao2014-02-244-1/+57
| | | | | | | | | 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>
* virtinst: fix an issue of disk bus caculationChen Hanxiao2014-02-231-1/+4
| | | | | | | | | | | commit 466c2bcf9cb07f16690cb41684d67d0265d2d47e will generate the same index for 'hda' and 'hdaa'. Also break test cases. This patch will fix this. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* disk: calculate the disk bus properlyMartin Kletzander2014-02-191-1/+1
| | | | | | I forgot to amend this change when changing it the last time. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* cli: unify tag styleChen Hanxiao2014-02-181-11/+11
| | | | | | Unify tag style, looks a little better. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* Fix generate_target once moreMartin Kletzander2014-02-181-5/+5
| | | | | | | | | Passing a zero to the generate_target() function's as pref_ctrl parameter makes the 'if pref_ctrl' conditions obviously false. Also the range created was starting from 0 and not from 1. Apart from fixing this, also fix tests so they actually test something this time. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* caps: Simplify guest lookup routinesCole Robinson2014-02-172-46/+12
| | | | | Checking for acceleration should always be done, API users can opt out by requesting a specific domain type.
* Remove some pylintCole Robinson2014-02-141-1/+0
|
* tests: Don't overwrite mkstemp, just check environmentCole Robinson2014-02-142-11/+9
| | | | Since this can interfere with the initrdinject test
* disk: generate target controller-wiseMartin Kletzander2014-02-121-6/+23
| | | | | | | | Add an optional parameter to generate_target() that controls what controller the disk should reside in (using libvirt's rules to create addresses). Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* Add target_to_num methodMartin Kletzander2014-02-121-1/+15
| | | | | | Opposite to num_to_target. It will be used in future patch. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* Unify prettification of VirtIO serialMartin Kletzander2014-02-121-2/+2
| | | | | | | Use the same case for occurrences of 'VirtIO' which start with uppercase V. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* connection: Handle volume XMLDesc errors (bz 1064275)Cole Robinson2014-02-121-2/+7
| | | | | This commonly happens when a file is deleted from a storage pool behind libvirt's back.
* virt-xml: add "-c" as short option of "--connect"Chen Hanxiao2014-02-121-3/+7
| | | | | | | | | | | | | | Add "-c" as short option of "--connect" for virt-xml. We could use either virt-xml -c lxc:/// or virt-xml --connect lxc:/// This will be more convenient if we operate non-default hypervisor. Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* storage: add support for gluster fs pools.Giuseppe Scrivano2014-02-121-4/+6
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* storage: add new attribute "source_dir"Giuseppe Scrivano2014-02-121-1/+3
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* storage: make "target_path" optionalGiuseppe Scrivano2014-02-121-0/+5
| | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* connection: Fix deregisterevent tracebacks on app closeCole Robinson2014-02-111-0/+3
|
* cli: fix a tiny typoChen Hanxiao2014-02-111-1/+1
| | | | | | s/./: Signed-off-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com>
* virt-install: Default to qcow2 for new imagesCole Robinson2014-02-101-1/+7
| | | | | | Following along with virt-manager's change. It has all the features and good enough performace, and is easy enough to override for people that care.
* cli: Add simple mode --disk size=XCole Robinson2014-02-101-3/+7
| | | | | Works the same as pool=default, we generate a disk image path and create it in the default pool.
* cli: Use correct file extension for --disk pool=FOOCole Robinson2014-02-101-0/+5
|
* cli: Shorten some long --help examplesCole Robinson2014-02-101-13/+8
|
* cli: Warn if disk path isn't searchable by qemuCole Robinson2014-02-102-0/+37
|
* support: Clarify docs and some parameter namesCole Robinson2014-02-101-86/+99
|