Commit Graph

8752 Commits

Author SHA1 Message Date
Lin Ma
301423b83a virt-install: Fix the active_pcr_banks issue for TPM emulator
The commit 6baa327d added active_pcr_banks support, but put it under the child
element <tpm>, which is wrong, It should be under sub child element <backend>.

Before:
  --tpm model=tpm-tis,backend.type=emulator,backend.version=2.0,\
      active_pcr_banks.sha1=on,\
	  active_pcr_banks.sha256=yes,\
	  active_pcr_banks.sha384=yes,\
	  active_pcr_banks.sha512=yes

  It results in the following domain xml:
    <tpm model='tpm-tis'>
      <backend type='emulator' version='2.0'/>
      <alias name='tpm0'/>
    </tpm>

After:
  --tpm model=tpm-tis,backend.type=emulator,backend.version=2.0,\
      backend.active_pcr_banks.sha1=on,\
	  backend.active_pcr_banks.sha256=yes,\
	  backend.active_pcr_banks.sha384=yes,\
	  backend.active_pcr_banks.sha512=yes

  It results in the following domain xml:
    <tpm model='tpm-tis'>
      <backend type='emulator' version='2.0'>
        <active_pcr_banks>
          <sha1/>
          <sha256/>
          <sha384/>
          <sha512/>
        </active_pcr_banks>
      </backend>
      <alias name='tpm0'/>
    </tpm>

Signed-off-by: Lin Ma <lma@suse.de>
2024-11-13 11:29:09 +01:00
Lin Ma
fd48e0be57 virt-install: Add --tpm backend.source support
E.g.
    virt-install \
    ... \
    --tpm model=tpm-tis,backend.type=emulator,backend.version=2.0,\
          backend.source.type=dir,backend.source.path=/some/dir

  It results in the following domain xml:
  <backend type="emulator" version="2.0">
    <source type="dir" path="/some/dir"/>
  </backend>

Signed-off-by: Lin Ma <lma@suse.de>
2024-11-13 11:29:09 +01:00
Lin Ma
7e4f7ae3d8 virt-install: Add support for 'debug' parameter on TPM emulator
E.g.
    virt-install \
    ... \
    --tpm model=tpm-tis,backend.type=emulator,backend.version=2.0,backend.debug=3

  It results in the following domain xml:
  <tpm model="tpm-tis">
    <backend type="emulator" version="2.0" debug="3"/>
  </tpm>

Signed-off-by: Lin Ma <lma@suse.de>
2024-11-13 11:29:09 +01:00
Lin Ma
1219030319 virt-install: Add support for streams attribute for 'virtio' sound card
E.g.
    virt-install \
    ... \
    --sound model=virtio,streams=4

  It results in the following domain xml:
  <sound model="virtio" streams="4"/>

Signed-off-by: Lin Ma <lma@suse.de>
2024-11-13 11:29:09 +01:00
Lin Ma
e883e7d525 virt-install: Add support for multi-channel mode for 'usb' sound card
E.g.
    virt-install \
    ... \
    --sound model=usb,multichannel=yes

  It results in the following domain xml:
  <sound model="usb" multichannel="yes"/>

Signed-off-by: Lin Ma <lma@suse.de>
2024-11-13 11:29:09 +01:00
Lin Ma
1c0f7f62e8 virt-install: Add support for blockio.discard_granularity
E.g.
    virt-install \
    ... \
    --disk /tmp/disk0.qcow2,size=16,driver.type=qcow2,blockio.discard_granularity=4096

  It results in the following domain xml:
  <disk type='file' device='disk'>
    <driver name='qemu' type='qcow2' discard='unmap'/>
    <source file='/tmp/disk0.qcow2'/>
    <target dev='vda' bus='virtio'/>
    <blockio discard_granularity="4096"/>
  </disk>

Signed-off-by: Lin Ma <lma@suse.de>
2024-11-13 11:29:09 +01:00
Lin Ma
0054b71dd7 virt-install: Fix a typo
Signed-off-by: Lin Ma <lma@suse.de>
2024-11-13 11:29:09 +01:00
Pino Toscano
50b6a90a88 po: Refresh translation template
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
2024-11-13 08:12:10 +01:00
Ettore Atalan
819b746ddd Translated using Weblate (German)
Currently translated at 88.4% (1292 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/de/
2024-11-13 08:09:13 +01:00
Léane GRASSER
991355efcc Translated using Weblate (French)
Currently translated at 92.1% (1346 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/fr/
2024-11-13 08:09:13 +01:00
Jiri Grönroos
d1fce2ff2d Translated using Weblate (Finnish)
Currently translated at 99.7% (1456 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/fi/
2024-11-13 08:09:13 +01:00
ButterflyOfFire
ea7306b0ca Translated using Weblate (Kabyle)
Currently translated at 4.5% (66 of 1460 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 4.5% (66 of 1460 strings)

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

Translated using Weblate (Kabyle)

Currently translated at 4.4% (65 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/kab/
2024-11-13 08:09:13 +01:00
Rachida SA
a05298f920 Translated using Weblate (Kabyle)
Currently translated at 2.2% (33 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/kab/
2024-11-13 08:09:13 +01:00
Adolfo Jayme Barrientos
123978ce6f Translated using Weblate (Spanish)
Currently translated at 93.7% (1369 of 1460 strings)

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

Translated using Weblate (Spanish)

Currently translated at 93.7% (1369 of 1460 strings)

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

Translated using Weblate (Spanish)

Currently translated at 92.1% (1346 of 1460 strings)

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

Translated using Weblate (Spanish)

Currently translated at 92.1% (1345 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/es/
2024-11-13 08:09:13 +01:00
Remus-Gabriel Chelu
8b787b9486 Translated using Weblate (Romanian)
Currently translated at 100.0% (1460 of 1460 strings)

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

Translated using Weblate (Romanian)

Currently translated at 84.7% (1237 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ro/
2024-11-13 08:09:13 +01:00
Lucas Fernandes
3f9398e362 Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.3% (1451 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/pt_BR/
2024-11-13 08:09:13 +01:00
Moises Tamaalit
69a91e86d5 Translated using Weblate (Spanish)
Currently translated at 93.7% (1369 of 1460 strings)

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

Translated using Weblate (Spanish)

Currently translated at 89.7% (1311 of 1460 strings)

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

Translated using Weblate (Spanish)

Currently translated at 89.7% (1311 of 1460 strings)

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

Translated using Weblate (Spanish)

Currently translated at 89.7% (1310 of 1460 strings)

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

Translated using Weblate (Spanish)

Currently translated at 89.0% (1300 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/es/
2024-11-13 08:09:13 +01:00
Omar TS
dfbc705b39 Translated using Weblate (Arabic)
Currently translated at 4.0% (59 of 1460 strings)

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

Translated using Weblate (Arabic)

Currently translated at 2.4% (36 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ar/
2024-11-13 08:09:13 +01:00
Pino Toscano
42074a0f19 Translated using Weblate (Italian)
Currently translated at 100.0% (1460 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/it/
2024-11-13 08:09:13 +01:00
Pavel Borecki
2c12dd385f Translated using Weblate (Czech)
Currently translated at 100.0% (1460 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/cs/
2024-11-13 08:09:13 +01:00
Andika Triwidada
1b9df22a87 Translated using Weblate (Indonesian)
Currently translated at 72.6% (1060 of 1460 strings)

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

Translated using Weblate (Indonesian)

Currently translated at 71.2% (1040 of 1460 strings)

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

Translated using Weblate (Indonesian)

Currently translated at 69.1% (1010 of 1460 strings)

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

Translated using Weblate (Indonesian)

Currently translated at 65.7% (960 of 1460 strings)

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

Translated using Weblate (Indonesian)

Currently translated at 62.3% (910 of 1460 strings)

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

Translated using Weblate (Indonesian)

Currently translated at 58.9% (860 of 1460 strings)

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

Translated using Weblate (Indonesian)

Currently translated at 53.1% (776 of 1460 strings)

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

Translated using Weblate (Indonesian)

Currently translated at 50.0% (730 of 1460 strings)

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

Translated using Weblate (Indonesian)

Currently translated at 41.2% (602 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/id/
2024-11-13 08:09:13 +01:00
Göran Uddeborg
a774a5354e Translated using Weblate (Swedish)
Currently translated at 100.0% (1460 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/sv/
2024-11-13 08:09:13 +01:00
Piotr Drąg
712fc0d481 Translated using Weblate (Polish)
Currently translated at 100.0% (1460 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/pl/
2024-11-13 08:09:13 +01:00
jianqing yan
11f91c63ae Translated using Weblate (Chinese (Simplified) (zh_CN))
Currently translated at 99.4% (1452 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/zh_CN/
2024-11-13 08:09:13 +01:00
Hoppár Zoltán
8a7b0de5b8 Translated using Weblate (Hungarian)
Currently translated at 55.9% (817 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/hu/
2024-11-13 08:09:13 +01:00
96e37d2b77 Translated using Weblate (Russian)
Currently translated at 100.0% (1460 of 1460 strings)

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

Translated using Weblate (Italian)

Currently translated at 99.5% (1453 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/it/
2024-11-13 08:09:13 +01:00
Temuri Doghonadze
8c61113f96 Translated using Weblate (Georgian)
Currently translated at 93.1% (1360 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ka/
2024-11-13 08:09:13 +01:00
Yuri Chornoivan
e3a4c1506e Translated using Weblate (Ukrainian)
Currently translated at 100.0% (1460 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/uk/
2024-11-13 08:09:13 +01:00
Oğuz Ersen
bdeb440421 Translated using Weblate (Turkish)
Currently translated at 100.0% (1460 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/tr/
2024-11-13 08:09:13 +01:00
Luna Jernberg
d728725281 Translated using Weblate (Swedish)
Currently translated at 100.0% (1460 of 1460 strings)

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

Translated using Weblate (Swedish)

Currently translated at 99.9% (1459 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/sv/
2024-11-13 08:09:13 +01:00
김인수
db5ccb0585 Translated using Weblate (Korean)
Currently translated at 100.0% (1460 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/ko/
2024-11-13 08:09:13 +01:00
Andi Chandler
47518b136a Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (1460 of 1460 strings)

Translation: virt-manager/virt-manager
Translate-URL: https://translate.fedoraproject.org/projects/virt-manager/virt-manager/en_GB/
2024-11-13 08:09:13 +01:00
Weblate
145a476df2 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-11-13 08:09:13 +01:00
Pavel Hrdina
1f8c61cddc ci: update .packit.yaml to use meson
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
c385cd4eb7 ci: update github workflows to use meson
Running `meson dist` requires working git but that doesn't seem to be the
default in github actions when running jobs inside container. Any git
invocation fails with the following error:

fatal: detected dubious ownership in repository at '/__w/virt-manager/virt-manager'
To add an exception for this directory, call:

	git config --global --add safe.directory /__w/virt-manager/virt-manager

So that's what this patch does to make `meson dist` work correctly.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
cbd2a7ef92 update setup.py usage and docs to meson
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
31cb321909 remove remaining setuptools files
We will no longer have `rpm` target with meson. That should not be an
issue as users can run `meson dist -C build` and
`rpmbuild -tb build/meson-dist/virt-manager-{version}.tar.xz`.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
5f34dea0ed meson: add tests
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
f41deedd52 meson: add build config and its options
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
54aadf0169 meson: add icons and schemas options
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
0f9d89e069 meson: build and install bin wrappers
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
01acaa3836 meson: add po files
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
3247dab74c meson: add virtManager files
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
03e35a7c29 meson: add virtinst files
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
ff1fa4cc38 meson: add ui files
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
2abd3e7565 meson: add icons
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
dd909f20bc meson: add data files
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
6a462a3f60 meson: add man pages
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
1f80a62239 meson: rename and modify spec file
We will create the final spec file by meson to have virt-manager version
in single place.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00
Pavel Hrdina
d803491c47 introduce meson.build file
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2024-11-12 23:18:32 +01:00