Cole Robinson
d896dd7347
create: Allow switching between KVM and TCG for armv7l (bz 1214592)
...
Otherwise we tried to always force KVM which reduces the usefulness
here. We still get the defaults right though
https://bugzilla.redhat.com/show_bug.cgi?id=1214592
2015-09-14 19:27:48 -04:00
Cole Robinson
2fda875072
uitests: Check CPU value in a loop, for robustness
2015-09-14 19:26:26 -04:00
Cole Robinson
1e01395ad9
uitests: newvm: Add basic test case for xen paravirt
2015-09-14 17:01:32 -04:00
Cole Robinson
d661fe7859
createvol: Fix VM name hint setting
2015-09-14 16:29:27 -04:00
Cole Robinson
7953f23975
create: Update storage path in summary when VM name changes
...
If the name is going to influence the default storage path, update it
as people type
2015-09-14 16:22:17 -04:00
Cole Robinson
4455f7dcb5
create: Use generic helpers for removing already created devices
...
Simplifies some logic in a few places and makes it clearer IMO
2015-09-14 16:10:42 -04:00
Cole Robinson
a4ddac4bb1
create: Always display the storage path in the summary
2015-09-14 15:22:17 -04:00
Cole Robinson
01da21b93a
uitests: Add a basic details.py test
...
Checks all hw of test-many-devices and make sure an error isn't raised
2015-09-14 14:44:39 -04:00
Cole Robinson
cfd980611a
uitests: Add check_in_loop helper function
2015-09-14 12:59:49 -04:00
Cole Robinson
3d9b3528e9
uitests: Separate static methods from DogtailApp
2015-09-14 12:55:04 -04:00
Cole Robinson
3091b2134a
test_urls: Use ftp for debian URLs for better FTP testing
2015-09-14 10:35:51 -04:00
Cole Robinson
590f5a525b
urlfetcher: Clear cached ftp connection on cleanupLocation
...
Reported-by: Chun Yan Liu <cyliu@suse.com>
2015-09-14 10:34:19 -04:00
Cole Robinson
ba0711b0bf
addhardware: Use same default storage size as create.py (20 GB)
...
createvol too
2015-09-13 19:32:11 -04:00
Cole Robinson
9f56641b49
addstorage: Tweak labels to be a bit more descriptive
...
WRT the fact that we aren't just 'browsing' for storage anymore
2015-09-13 19:27:44 -04:00
Cole Robinson
16a744749f
addhardware: Drop 'storage format' field
...
Originally this made sense, as it was the only way to specify a non-default
storage format when creating new storage.
Nowadays the storage browser is a full featured storage manager... and
this field is a bit confusing WRT whether it's used for creating new
storage, or informing libvirt about an existing image's format.
Drop it from the addhardware wizard, and simplify what we show in the
details wizard as well.
2015-09-13 19:13:53 -04:00
Cole Robinson
6861d467a4
addstorage: Clean up validate_storage a bit more
2015-09-13 19:08:30 -04:00
Cole Robinson
a2bd31c2a6
virt-manager: Drop old style config- prefix for widget names
...
It's redundant and we haven't followed that pattern for a long while
2015-09-13 18:01:39 -04:00
Cole Robinson
c558bb1f56
addstorage: Move validate_storage error catching to the caller
...
Saves some code indentation, and is more robust
2015-09-13 16:02:35 -04:00
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