Cole Robinson
640e559774
man: virt-install: Make some VNC references more generic
...
Since these parameters apply to SPICE too
2017-07-14 19:48:56 -04:00
Cole Robinson
85cbf9e64d
ui: create: modernize layout for memory/cpu page
2017-07-14 19:23:35 -04:00
Radostin Stoyanov
90e03297b1
create: Show details of container bootstrap
...
Get get information about the progress from virt-bootstrap
and show it on GUI.
2017-07-13 14:45:28 -04:00
Radostin Stoyanov
c29cce2673
asyncjob: Add enable/update details methods
...
Add virtual terminal emulator (Vte) in which could be shown details
of background running process.
Usage example:
- To enable details:
> asyncjob.details_enable()
- To show text inside the Vte:
> asyncjob.details_update("Some text here")
2017-07-13 14:45:28 -04:00
Radostin Stoyanov
10799edd76
create: Show progress of container bootstrap
...
Display the current status and progress from virt-bootstrap.
2017-07-13 14:45:28 -04:00
Radostin Stoyanov
ebf9d294ef
create: Call virt-bootstrap asynchronously
...
The bootstrap method is called at the end of the "create dialog" (when
"Finish" button is clicked).
We handle two cases:
1. When virt-bootstrap fails. User re-clicks the 'Finish' button and we
reattempt the container bootstrap.
2. When virt-bootstrap succeeds, but something later in the install
fails, like XML define. If user re-clicks 'Finish' we don't attempt
virt-bootstrap again, just use the directory path.
This is achieved by unchecking the 'install-oscontainer-bootstrap'
checkbox is unchecked if virt-bootstrap succeeds.
Log messages from the virtBootstrap's logger are stored in string
buffer and shown in case of failure.
2017-07-13 14:45:28 -04:00
Cole Robinson
c46218af3c
devicedisk: Improve error message when max IDE devs exceeded (bz 1466238)
...
https://bugzilla.redhat.com/show_bug.cgi?id=1466238
2017-07-10 19:55:57 -04:00
Cole Robinson
f41844f3f2
guest: Use usb3 qemu-xhci for machvirt
...
This is what libvirt will default to nowadays for those configs,
so let's match it.
2017-07-10 19:46:13 -04:00
Cole Robinson
a51929fcd3
snapshots: Handle XML chars in snapshot name (bz 1468912)
...
https://bugzilla.redhat.com/show_bug.cgi?id=1468912
2017-07-10 17:51:04 -04:00
Radostin Stoyanov
12962ece71
gschema: Populate/Store previous container URLs
2017-07-10 15:06:01 -04:00
Radostin Stoyanov
bf90eea463
create: Validate input on container bootstrap
...
- Show error if source URL is not provided.
- Require password for authentication to source registry when username
is provided.
- Show error if destination path is not directory.
- Show error if the user has no write permissions to destination path.
- Show Yes/No dialog if the destination directory is not empty.
2017-07-10 15:06:01 -04:00
Radostin Stoyanov
bb2e5c0899
create: Add support for OS tree creation
...
Allow container bootstrap when connected to local Libvirt LXC driver
and if virtBootstrap module is available.
2017-07-10 14:51:31 -04:00
Radostin Stoyanov
550770626f
create: Don't use 'os' as variable name
2017-07-10 09:36:37 -04:00
Cole Robinson
0633055fb9
guest: Drop old os type=linux back compat
...
We don't support libvirt versions that require this anymore
2017-07-10 09:34:38 -04:00
Cole Robinson
8d8b353b28
virtinst: Fix bare python3 style print()
...
We want a newline, so pass it ""
2017-07-10 09:34:22 -04:00
Cole Robinson
9718dc6c28
gfxdetails: Select manual rendernode by default, if available
...
Rather than the 'auto' mode, since a manual path is required for
qemu:///system to have a chance of working
2017-07-10 09:33:51 -04:00
Cole Robinson
6d625ae45f
guest: Enable spice sound on more arches
...
If spice is enabled, just assume sound devices will work as well
2017-06-28 16:28:25 -04:00
Cole Robinson
a07a874497
guest: If graphics enabled, add usb tablet/keyboard for machvirt
2017-06-28 16:22:23 -04:00
Cole Robinson
2cabc2e386
guest: Don't add default ps2 or xen mouse
...
libvirt drivers have added these by default for a long time, so
its redudnant here
2017-06-28 16:17:50 -04:00
Cole Robinson
f2de47cee2
guest: Add USB3 controller for machvirt by default
...
...if libvirt is new enough to do machvirt PCI by default. We can
just use usb3 since all guest OS that support aarch64 are new enough
to support it
2017-06-28 15:35:07 -04:00
Cole Robinson
ae836304f9
guest: Drop references to ia64
...
Nothing modern supports it, don't even bother
2017-06-28 15:17:20 -04:00
Cole Robinson
23b971bba8
guest: Rename _hv_supported to _hyperv_supported
...
Much more clear name
2017-06-28 15:15:31 -04:00
Cole Robinson
225d53c511
guest: Default to video type=virtio for machvirt
...
That's basically the only working config on KVM
2017-06-28 15:13:44 -04:00
Cole Robinson
0fe76d321b
guest: Enable default virtio-rng for pseries and machvirt
...
arm guys confirmed virtio-rng should be fine. pseries guys didn't
but I think it will be okay
2017-06-28 15:12:00 -04:00
Cole Robinson
47b127b49f
guest: Use virtio more for ppc64 pseries, and s390
...
qemu s390x is virtio only nowadays, and on ppc64 pseries is preferred,
and all relevant OS are going to support it for that case
2017-06-28 15:02:23 -04:00
Cole Robinson
4e7cd661ee
guest: Only add input devices if graphics are specified
2017-06-28 12:05:14 -04:00
Cole Robinson
5a1f2f7b66
tests: add aarch64 graphics test
2017-06-28 11:54:41 -04:00
Cole Robinson
251ba27fe3
cli: Advertise --random /dev/urandom in help
...
Instead of /dev/random, since the latter is the preferred setting
these days.
2017-06-28 11:47:55 -04:00
Cole Robinson
5c93db2974
addhardware: rng: default to /dev/urandom
...
If libvirt supports it. This is the recommended default nowadays
2017-06-27 15:43:06 -04:00
Cole Robinson
a213c8d9e9
details: Allow removing USB controllers on non-x86
...
It's only x86 where we are forced to have a USB controller (more or
less), so make it VM arch dependent
2017-06-27 15:35:54 -04:00
Cole Robinson
30e2f314a7
details: Don't allow changing model for PCI controller
...
It's not functional for any case we really care about. Also don't allow
attempting to 'remove' it either.
2017-06-27 15:32:54 -04:00
Cole Robinson
0672b86450
details: Simplify PCIe controller listing
...
Don't list every <controller>, just filter it all down to one listing.
There isn't anything interesting to tweak anyways, at least not anything
the UI supports.
2017-06-27 15:28:12 -04:00
Cole Robinson
bef22b6279
fsdetails: Simplify ram conversion
...
Libvirt will only ever output unit='KiB', so we don't need to worry
about converting between different values. Delete the helper code
2017-06-27 14:21:18 -04:00
Cole Robinson
b9d0f267fd
connection: Rename is_test_conn -> is_test
...
To match virtinst connection helper names
2017-06-27 14:13:36 -04:00
Cole Robinson
1600ac39f0
fsdetails: Fix displaying filesystem type=ram devices
...
And add a test XML example to demonstrate it
2017-06-27 14:08:44 -04:00
Cole Robinson
3d81ef097a
ui: addhardware: Add virtio tablet/keyboard options
2017-06-27 12:39:17 -04:00
Cole Robinson
7bfe9d9d72
man: virt-install: Give a --cpu cell example (bz 1465368)
...
https://bugzilla.redhat.com/show_bug.cgi?id=1465368
2017-06-27 12:19:02 -04:00
Cole Robinson
8fd8791139
virt-manager: Exit on ctrl-c
...
pygobject3 doesn't provide this automatically. Solution taken from:
https://bugzilla.gnome.org/show_bug.cgi?id=622084
2017-06-27 11:58:50 -04:00
Radostin Stoyanov
fb8db15269
ui: asyncjob: Align Cancel button at bottom-right
2017-06-23 14:05:31 -04:00
Radostin Stoyanov
795a9d2d44
Set default Filesystem type for LXC to "Mount"
2017-06-20 16:14:17 -04:00
Radostin Stoyanov
0dfc371f18
Keep the value of filesystem/source when attribute is changed
...
When the attribute of filesystem/source is changed the old value was
not assigned to the new attribute.
2017-06-20 16:14:17 -04:00
Yuri Arabadji
4be3d030b5
cli: Add --disk logical/physical_block_size
2017-06-16 13:28:25 -04:00
Cole Robinson
4e7a6ad728
tests: pylint: Silence/fix a bunch of new warnings
2017-06-16 12:54:56 -04:00
Cole Robinson
c75b3a99b1
tests: pylint: Slim down the configuration file
...
Only list things that we change defaults for, or may want to in the future
2017-06-15 08:12:06 -04:00
Cole Robinson
ced1d3cadb
setup: pylint: use pylint-2 binary if available
2017-06-15 08:11:34 -04:00
Pavel Hrdina
b690908aa4
virtinst: enable secure feature together with smm for UEFI
...
The secure feature actually enforce the secure boot if Secure Boot
Mode is configured.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1387479
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2017-06-07 20:49:45 +02:00
Cole Robinson
1c22105a54
tests: inject: Update URL list
2017-06-07 12:40:46 -04:00
Cole Robinson
1d0b4a0a9e
connect: Handle \ in username
...
We need to quote URL values in the username, that's what libvirt expects.
Unquote the values before caching them in the URI object, so console
connections continue to work
https://bugzilla.redhat.com/show_bug.cgi?id=1452389
2017-06-01 14:26:46 -04:00
Cole Robinson
860268f735
ui: create: Fix vertical alignment of storage summary
2017-06-01 13:55:41 -04:00
Cole Robinson
f30ca19b87
ui: clone: fix alignment of disk checkbox
2017-06-01 13:48:16 -04:00