Commit Graph

8441 Commits

Author SHA1 Message Date
Cole Robinson
75e4d1dd29 baseclass: Avoid glib Source ID XX not found at app shutdown
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-03-03 14:18:04 -05:00
Gustavo Costa
6c9774267f man: document --show-systray option 2024-03-03 14:17:54 -05:00
Gustavo Costa
69290e0526 cli: add --show-systray option 2024-03-03 14:17:54 -05:00
Cole Robinson
014d1ef99b console: Cleanup and improve console menu handling
- Rework the ConsolePages abstraction to carry the Gtk.Menu. makes
  it all less messy

- Make the console menu the single source of truth for console
  embeddability, and error message reporting

- Small misc cleanups here and there

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-03-03 12:52:37 -05:00
Feng Jiang
409e4bf2d1 console: Select the first embeddable graphics device as graphical console
Currently, when there are multiple graphics devices, the first graphics
device is always selected as the graphical console. For the following
configuration:

    <graphics type="egl-headless">
      <gl rendernode="/dev/dri/renderD128"/>
    </graphics>
    <graphics type="spice" autoport="yes">
      <listen type="address"/>
      <image compression="off"/>
      <gl enable="no"/>
    </graphics>

virt-manager will report an error:

    Cannot display graphical console type 'egl-headless'

The patch will iterate through all graphics devices to try to select the
first embeddable graphics device as graphical console.

Signed-off-by: Feng Jiang <jiangfeng@kylinos.cn>
Signed-off-by: Liming Sun <sunliming@kylinos.cn>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
2024-03-03 12:52:20 -05:00
Feng Jiang
d83074a001 domain: Add idx parameter to open_graphics_fd()
Now open_graphics_fd() always opens the 1st graphic device, when
there are multiple graphic devices (e.g. spice + egl-headless),
we need to specify the index number for libvirt.

Signed-off-by: Feng Jiang <jiangfeng@kylinos.cn>
Signed-off-by: Ming Xie <xieming@kylinos.cn>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
2024-03-03 12:52:20 -05:00
Feng Jiang
9c242ef79c console: Move embeddable_graphics() to console.py
Signed-off-by: Feng Jiang <jiangfeng@kylinos.cn>
Signed-off-by: Weishi Li <liweishi@kylinos.cn>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
2024-03-03 12:52:20 -05:00
Cole Robinson
0d3b7f673f Fix pylint 3.1.0 issues
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-03-03 10:43:30 -05:00
Cole Robinson
a52ab24ec4 createvm: Replace deprecated pkgutil.find_loader
importlib.util.find_spec is around since python 3.4

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-03-03 10:43:30 -05:00
Cole Robinson
0c899a7ccd uitests: Handle slow app launch on fedora 39
Not quite sure what's going on here, I think it has something to
do with slowness when the accessibility bus is being polled.

Add some infrastructure to increase the timeout while we wait for
the app to pop up

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-03-03 10:43:30 -05:00
Cole Robinson
a05ab5cdb4 uitests: Fix walkUI flakyness
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-03-03 10:43:30 -05:00
nose-gnome
bb86721352 ui: details: Increased scrolledview6's height request
Increased the height of scrolledview6 to make viewing applications  easier in os info
2024-03-02 14:19:28 -05:00
nose-gnome
04cc489529 ui: details: fix Applications width.
In OS info the applications tree view was too narrow to read the contents, so I enabled expanding horizontally for scrolledwindow6
2024-03-02 14:19:28 -05:00
Cole Robinson
7ae3e10bc4 netlist: Fix UI error when virtual network doesn't exist
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-03-02 13:22:45 -05:00
Cole Robinson
cf172c8e57 testdriver: Add portgroups example to test-many-devices
This helps hit some uitests code coverage

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-03-02 13:22:40 -05:00
Cole Robinson
82f1c4495e domain: rename: handle firmware ending with .qcow2
Newer libvirt + edk2 will default to nvram in qcow2 format, but
our domain rename code had some .fd assumptions baked in.

Adjust uitests to handle it too

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-03-02 13:22:37 -05:00
Iain Buclaw
78f7797c13 Support creating sparse volumes on ZFS pools
Closes #487

Signed-off-by: Iain Buclaw <ibuclaw@gdcproject.org>
2024-03-02 11:37:45 -05:00
Cole Robinson
6710ca6969 setup: Allow pylint -j0
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-02-14 12:34:27 -05:00
Cole Robinson
135cf17072 tests: Add unittest coverage for qemu hvf VMs
I have no idea if the generated config is optimal, but this
at least provides a base for us to confirm when defaults change.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-02-05 14:42:49 -05:00
Mohamed Akram
b9f9f768fc Add support for hvf domain type 2024-02-05 14:42:40 -05:00
Cole Robinson
4e2bec5b14 tests: ui: make creatnet test start less flakey
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-01-23 13:28:07 -05:00
Cole Robinson
acf3cedbbf tests: ui: make newvm test start less flakey
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-01-23 09:07:29 -05:00
Cole Robinson
c399353e00 Fix some pylint
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-01-22 17:15:11 -05:00
Cole Robinson
83fcc5b2e8 tests: cli: Adjust hotplug test for latest libvirt
The libvirt test driver now has implementations for hotplug routines,
which broke string matching for one case.

Loosen it up to work for old and new libvirt versions.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-01-22 17:10:41 -05:00
Cole Robinson
2e3db754d1 uri: Mock domcaps returning NO_SUPPORT
With libvirt 9.8.0, the test driver now has a stub getDomainCapabilities
implementation. But we still have some code that needs to handle
a driver with missing domcaps.

Make our magicuri mock return NO_SUPPORT for domcaps, when the URI
doesn't have any domcaps XML passed in. This is enough for our test
purposes.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
2024-01-22 17:07:31 -05:00
Pino Toscano
dfc484b2d5 docs: update flow of translations from Weblate
Fixes #614

Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2024-01-02 10:58:39 +01:00
joo es
e6c0687485 Translated using Weblate (Arabic)
Currently translated at 0.2% (3 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ar/

Added translation using Weblate (Arabic)
2024-01-02 10:55:05 +01:00
Oğuz Ersen
fe528e6054 Translated using Weblate (Turkish)
Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/tr/
2024-01-02 10:55:05 +01:00
Göran Uddeborg
9bafde610b Translated using Weblate (Swedish)
Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/sv/
2024-01-02 10:55:05 +01:00
Fabio Tomat
9855a71137 Translated using Weblate (Friulian)
Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/fur/
2024-01-02 10:55:05 +01:00
Luna Jernberg
e09fa6e380 Translated using Weblate (Swedish)
Currently translated at 99.8% (1451 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/sv/
2024-01-02 10:55:05 +01:00
Sergey A
8b1d8a3304 Translated using Weblate (Russian)
Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ru/
2024-01-02 10:55:05 +01:00
Jan Kuparinen
58806e189b Translated using Weblate (Finnish)
Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/fi/
2024-01-02 10:55:05 +01:00
Temuri Doghonadze
387125d104 Translated using Weblate (Georgian)
Currently translated at 87.6% (1274 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ka/
2024-01-02 10:55:05 +01:00
김인수
bd65c28672 Translated using Weblate (Korean)
Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ko/

Translated using Weblate (Korean)

Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ko/
2024-01-02 10:55:05 +01:00
Pavel Borecki
2a5464afbe Translated using Weblate (Czech)
Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/cs/
2024-01-02 10:55:05 +01:00
Yuri Chornoivan
eee9a7a88e Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/uk/
2024-01-02 10:55:05 +01:00
Piotr Drąg
190046e934 Translated using Weblate (Polish)
Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/pl/

Translated using Weblate (Polish)

Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/pl/
2024-01-02 10:55:05 +01:00
Pino Toscano
af46c23529 Translated using Weblate (Italian)
Currently translated at 100.0% (1453 of 1453 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/it/
2024-01-02 10:55:05 +01:00
Weblate
dce7348688 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/
2024-01-02 10:55:05 +01:00
Jonathon Jongsma
40b73fec1b Fix filesystem socket.source
When specifying the socket.source option for filesystem devices, like
this:
  --filesystem type=mount,driver.type=virtiofs,source.socket=/xyz.sock,target.dir=tag1

virt-install is writing the xml as:

    <filesystem type="mount">
      <source>
        <socket>/xyz.sock</socket>
      </source>
      <target dir="tag1"/>
      <driver type="virtiofs"/>
    </filesystem>

This produces an error such as:

  ERROR missing source information for device mount_tag1

But the socket should be an attribute of source rather than a child
element. After this patch, the same command results in the following XML
and no error is produced:

    <filesystem type="mount">
      <source socket="/xyz.sock"/>
      <target dir="tag1"/>
      <driver type="virtiofs"/>
    </filesystem>

Resolves: RHEL-1126

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
2023-10-24 10:30:37 +02:00
Pino Toscano
0fb7377abb po: Refresh translation template
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2023-09-25 07:47:27 +02:00
Cheng-Chia Tseng
2b657c7538 Translated using Weblate (Chinese (Traditional) (zh_TW))
Currently translated at 100.0% (1454 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/zh_TW/

Translated using Weblate (Chinese (Traditional) (zh_TW))

Currently translated at 100.0% (1454 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/zh_TW/
2023-09-25 07:46:37 +02:00
Jan Kuparinen
5dd54a6220 Translated using Weblate (Finnish)
Currently translated at 100.0% (1454 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/fi/
2023-09-25 07:46:37 +02:00
Temuri Doghonadze
4c4fa968cd Translated using Weblate (Georgian)
Currently translated at 87.6% (1274 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ka/

Translated using Weblate (Georgian)

Currently translated at 87.4% (1271 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ka/
2023-09-25 07:46:37 +02:00
Oğuz Ersen
da66e0ebdb Translated using Weblate (Turkish)
Currently translated at 100.0% (1454 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/tr/
2023-09-25 07:46:37 +02:00
Sergey A
232730b850 Translated using Weblate (Russian)
Currently translated at 100.0% (1454 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ru/

Translated using Weblate (Russian)

Currently translated at 100.0% (1454 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ru/
2023-09-25 07:46:37 +02:00
김인수
15430240d6 Translated using Weblate (Korean)
Currently translated at 100.0% (1454 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ko/
2023-09-25 07:46:37 +02:00
Yuri Chornoivan
b4df3b074d Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1454 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/uk/
2023-09-25 07:46:37 +02:00
Piotr Drąg
300b4fb851 Translated using Weblate (Polish)
Currently translated at 100.0% (1454 of 1454 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/pl/
2023-09-25 07:46:37 +02:00