Cole Robinson
4b5e65fe8d
details: Remove iotune UI
...
This is a little low level and rarely used IMO to have it in the UI.
If people want to edit this we should point them at virt-xml which
seems like the appropriate user friendlyness for this feature.
2015-09-13 15:54:47 -04:00
Cole Robinson
15a6a7e210
addstorage: Drop explicit sparse option
...
This made more sense when raw was the disk image default, but nowadays
we use qcow2 which doesn't even support non-sparse, so the UI is always
disabled.
If the user changed their preference to raw, it still doesn't make much
sense to show the option, since they are likely using raw for performance
in which case they are going to want to preallocate anyways.
So just default to sparse=False. If users want to override it, they can
do it via custom created storage.
2015-09-13 15:43:24 -04:00
Cole Robinson
a51c12660f
setup: Do pep8 before pylint
...
pep8 is super quick, so if there's issue devs can fix those while pylint
is running and gives exhaustive output
2015-09-13 15:07:23 -04:00
Cole Robinson
bcc13dca31
virt-manager: Only save window dimensions on app exit (bz 1262561)
...
Rather than on every window change event which spams dconf and hits
the disk repeatedly. The new method is roughly what is suggested by
https://wiki.gnome.org/HowDoI/SaveWindowState
https://bugzilla.redhat.com/show_bug.cgi?id=1262561
2015-09-13 14:07:43 -04:00
Cole Robinson
b95af3bedc
create: Privatize more variables
2015-09-13 12:45:35 -04:00
Cole Robinson
241c3125e5
create: Drop redundant _have_startup_error
...
Isn't needed in the modern code
2015-09-13 12:28:16 -04:00
Cole Robinson
ddea18baf9
create: Cleanup of distro detection code
...
- Use better variable names
- Lots of comments
- Streamline various parts
2015-09-13 12:28:16 -04:00
Cole Robinson
38a8454941
create: Organize code better
...
- Privatize a bunch of functions
- Rename functions to make their purpose cleared
- Document some functions
- Group functions into logical groups and use comment blocks to separate them
2015-09-13 12:28:16 -04:00
Cole Robinson
0dc74d6409
uitests: Use Centos5.5 URL for tests instead of fedora
...
Modern fedora + initrd are much larger, so take longer to download
2015-09-13 12:15:11 -04:00
Cole Robinson
d9356025ff
uitests: Always disable dogtail file logging, we never want it
2015-09-12 14:25:25 -04:00
Cole Robinson
8ffcfccb5c
uitests: Fix them once again
...
The pylint fix broke things... apparently dogtail advertises one
function signature but then calls it without any arguments...
2015-09-12 14:25:25 -04:00
Cole Robinson
3730c31b40
console: Fix some issues with reconnecting to the viewer
...
Regressed with my recent console rework bits
2015-09-12 12:07:56 -04:00
Charles Arnold
360fe11040
virtinst: correctly find the sles s390x kernel and initrd
...
Allow virt-install to correctly find the SLES kernel/initrd on the media
when installing an s390x VM.
Signed-off-by: Charles Arnold <carnold@suse.com>
(crobinso: fix minor pep8 issues)
2015-09-11 12:48:52 -04:00
Cole Robinson
7773a045f8
uitests: Fix some pylint
2015-09-11 12:03:38 -04:00
Cole Robinson
fd6b09ac63
tests: Update test_urls
2015-09-11 11:49:43 -04:00
Benedikt Wildenhain
8553d02a3d
Corrected translation of "Send Key"
...
Menu item "Send key" got translated to "Verstuur sleutel" ("sleutel
means "key" as in encryption), corrected to "Verstuur toets".
2015-09-11 11:40:28 -04:00
Cole Robinson
80b8945acf
Update translations
2015-09-11 11:40:05 -04:00
Cole Robinson
420fd88af5
uitests: Use dogtail findChild, which does retrys and backoffs
...
Avoids some random timing failures
2015-09-10 18:23:10 -04:00
Cole Robinson
516f7faa5a
uitests: Don't print virt-manager stdout
2015-09-10 17:39:57 -04:00
Cole Robinson
5c66328e10
uitests: Several more 'New VM' tests, and cli --show tests
2015-09-09 19:07:31 -04:00
Cole Robinson
91e2d502bb
tests: Add test_ui target for dogtail UI tests, add an example
2015-09-09 14:26:50 -04:00
Cole Robinson
6e9195cf2f
devicedisk: Don't perform local permission check in test suite
2015-09-09 14:26:49 -04:00
Cole Robinson
730b739795
create: A bunch of mnemonic fixes
2015-09-09 14:26:36 -04:00
Cole Robinson
6c7a3dbcc4
details: Use 'CPUs' instead of 'Processor'
...
All VM terminology is around CPUs, you never really see the word processor,
so be consistent
2015-09-09 12:20:44 -04:00
Cole Robinson
67f79569e6
create: Fix OS variant autocomplete
...
And drop the model infinite loop hack we added last release, since this
is the proper fix for both issues
2015-09-09 11:23:25 -04:00
Cole Robinson
e3fb2f9023
virt-manager: Don't print ugly logging if VIRTINST_TEST_SUITE set
2015-09-08 12:33:35 -04:00
Pavel Hrdina
39da70a456
Added option to enable kvm_hidden feature in virt-install cmd-line
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2015-09-08 12:03:04 +02:00
Cole Robinson
d66b691035
virt-manager: Allow mixing --connect and --test-first-run
...
To run with just the passed connection, but skip the first run logic.
Useful for UI testing
2015-09-06 18:15:16 -04:00
Cole Robinson
60d6161efc
create: Clean up default storage if VM fails (bz #799721 )
...
Similar to the virt-install change, we only do this with default storage
if the installed failed in such a way that we never left the wizard.
It isn't going to cover all cases, but should handle the common issue
of stranded disk images
https://bugzilla.redhat.com/show_bug.cgi?id=799721
2015-09-06 15:10:17 -04:00
Cole Robinson
697164f2e5
virtinst: Centralize urlgrabber meter lookup
...
We will eventually want to drop this dep since it's basically dead
upstream, this is a small step in that direction
2015-09-06 15:09:44 -04:00
Cole Robinson
b217c199bc
virt-install: Remove obsolete hack
2015-09-06 14:27:37 -04:00
Cole Robinson
1237be9d1a
virt-install: Clean up created disk images if VM creation fails
...
We are conservative here, only cleaning up disk images if libvirt
fails to even accept the XML. Otherwise the VM may already be
running or defined, and the user has to do some cleanup anyways.
2015-09-06 14:27:37 -04:00
Cole Robinson
1d7b74ba52
uri: Add a MagicURI class for handling magic virtinst URIs
...
And document it
2015-09-06 12:00:25 -04:00
Cole Robinson
ed48b5d0a8
details: Centralize disabling widgets when console page changes
...
And fix a few bugs in that area, like disabling sendkey when we are
on the serial console page.
2015-09-05 18:33:31 -04:00
Cole Robinson
57fa64e542
details: Use devicedisk path lookup for source_pool
2015-09-05 17:59:47 -04:00
Cole Robinson
7a56c322ed
domain: Drop is_management_domain
...
It's not consistently applied. If I had a setup to test against old xen
that still listed dom0, I'd make it so we never even show dom0 so we
can sidestep the problem entirely.
2015-09-05 17:32:03 -04:00
Cole Robinson
d449fb6fd5
xmlbuilder: Kill make_xpath_cb
...
There's no users left, and it's better to come up with a solution at
the caller anyways
2015-09-05 17:20:43 -04:00
Cole Robinson
9e23843961
devicechar: Simplify host/port/mode handling
...
It's kinda crazy, and parts of cli API depend on it, but we can strip
a lot of the confusing bits away by pushing a small bit of logic to
the callers.
2015-09-05 17:16:18 -04:00
Cole Robinson
3f6081abe5
disk: Support <seclabel> overrides
2015-09-05 14:42:03 -04:00
Cole Robinson
68962f48f7
virtinst: Support multiple seclabels
...
libvirt has supported this for a while. Wire it all up through the
cli, and fix some bad assumptions along the way.
2015-09-05 13:49:36 -04:00
Cole Robinson
7786c4b35b
xmlbuilder: Make clear() work for child objects
...
So we can call clear() on a Guest owned VirtualDisk, and it actually
does the correct thing. This allows us to enable clearxml= cli option
for most devices.
2015-09-05 13:16:35 -04:00
Cole Robinson
4d87d2f27b
cli: Make child lookup not specific to guest devices
...
<seclabel> is not singleton nowadays, so we need to extend our
infrastructure to handle non-device child properties. This is part of
that
2015-09-04 16:16:25 -04:00
Cole Robinson
acfb988945
xmlbuilder: Make _add_child and _remove_child public
...
We have a lot of functions that are just wrappers around these, so
make it public for future use.
2015-09-04 15:47:43 -04:00
Cole Robinson
5e68b0fc3d
guest: Don't try to set vmport on non-x86, it isn't supported (bz 1259998)
2015-09-04 12:14:22 -04:00
Cole Robinson
cde2f0ef67
Suppress gi warnings about lack of require_version
2015-09-03 17:31:43 -04:00
Cole Robinson
a722e3d5e3
Update documentation to point to github, other minor tweaks
2015-09-03 12:44:02 -04:00
Cole Robinson
e83dc3bf55
HACKING: Add link to better zanata instructions
2015-09-03 12:35:28 -04:00
Cole Robinson
94744bce20
Grab more complete pt translation from transifex
2015-09-02 09:45:34 -04:00
Cole Robinson
cd0aba535f
Run merge-po on latest zanata translations, push back to server
2015-09-02 09:44:30 -04:00
Cole Robinson
90dd3fb37f
Switch translation infrastructure from transifex to zanata
...
I don't fully understand the reasoning but since the Red Hat translation
team is zanata-only at this point, it makes sense to switch. Also
libvirt already switched over:
https://www.redhat.com/archives/libvir-list/2015-March/msg00302.html
2015-09-01 15:01:06 -04:00