]> xenbits.xensource.com Git - libvirt.git/log
libvirt.git
2 years agopo/gu.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:25 +0000 (11:37 +0200)]
po/gu.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/fr.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:25 +0000 (11:37 +0200)]
po/fr.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/fi.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:24 +0000 (11:37 +0200)]
po/fi.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/es.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:24 +0000 (11:37 +0200)]
po/es.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/en_GB.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:24 +0000 (11:37 +0200)]
po/en_GB.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/el.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:23 +0000 (11:37 +0200)]
po/el.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/de.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:23 +0000 (11:37 +0200)]
po/de.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/da.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:23 +0000 (11:37 +0200)]
po/da.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/cs.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:23 +0000 (11:37 +0200)]
po/cs.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/ca.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:22 +0000 (11:37 +0200)]
po/ca.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/bs.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:22 +0000 (11:37 +0200)]
po/bs.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/bn_IN.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:22 +0000 (11:37 +0200)]
po/bn_IN.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/bg.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:22 +0000 (11:37 +0200)]
po/bg.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agopo/as.po: Update format strings
Jiri Denemark [Sat, 1 Apr 2023 09:37:21 +0000 (11:37 +0200)]
po/as.po: Update format strings

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agobuild: Add checks for permutable format strings
Jiri Denemark [Wed, 8 Mar 2023 09:58:23 +0000 (10:58 +0100)]
build: Add checks for permutable format strings

Since all messages marked for translation contain permutable format
strings, we can add checks for enforcing them.

The syntax check does not catch all cases as it only checks format
strings between _(" and the first ". In other words messages where \"
appears before the first format string or multi-line messages where the
first format strings is not in the first line will not be checked. On
the other hand, it's run automatically by "meson test".

check-pot.py python script will detect all incorrect format strings, but
it's not as easy to use as it requires libvirt.pot to be regenerated and
this does not happen during a standard build. The following steps are
needed to check messages with check-pot.py:

    meson compile libvirt-pot-dep
    meson compile libvirt-pot
    meson compile libvirt-pot-check

Don't forget to revert changes to libvirt.pot if you run these commands
locally as we don't want each patch series to update libvirt.pot.

Shell scripts (tools/libvirt-guests.sh.in is the only one currently)
need to be exempt from this check as shell's printf function does not
understand the permutable format strings.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agotools: Update format strings in translated messages (part 2)
Jiri Denemark [Thu, 9 Mar 2023 14:54:58 +0000 (15:54 +0100)]
tools: Update format strings in translated messages (part 2)

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agotools: Update format strings in translated messages (part 1)
Jiri Denemark [Thu, 9 Mar 2023 14:54:42 +0000 (15:54 +0100)]
tools: Update format strings in translated messages (part 1)

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agosrc: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 14:26:48 +0000 (15:26 +0100)]
src: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agovz: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 14:26:39 +0000 (15:26 +0100)]
vz: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agovmx: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 14:23:08 +0000 (15:23 +0100)]
vmx: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agovmware: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 14:22:56 +0000 (15:22 +0100)]
vmware: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agovbox: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 14:19:03 +0000 (15:19 +0100)]
vbox: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoutil: Update format strings in translated messages (part 3)
Jiri Denemark [Thu, 9 Mar 2023 14:13:48 +0000 (15:13 +0100)]
util: Update format strings in translated messages (part 3)

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoutil: Update format strings in translated messages (part 2)
Jiri Denemark [Thu, 9 Mar 2023 14:13:35 +0000 (15:13 +0100)]
util: Update format strings in translated messages (part 2)

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoutil: Update format strings in translated messages (part 1)
Jiri Denemark [Thu, 9 Mar 2023 14:11:50 +0000 (15:11 +0100)]
util: Update format strings in translated messages (part 1)

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agotest: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:49:58 +0000 (13:49 +0100)]
test: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agostorage_file: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:48:11 +0000 (13:48 +0100)]
storage_file: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agostorage: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:46:00 +0000 (13:46 +0100)]
storage: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agosecret: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:39:15 +0000 (13:39 +0100)]
secret: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agosecurity: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:38:58 +0000 (13:38 +0100)]
security: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agorpc: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:34:22 +0000 (13:34 +0100)]
rpc: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoremote: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:20:48 +0000 (13:20 +0100)]
remote: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoqemu: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:15:22 +0000 (13:15 +0100)]
qemu: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoqemu/qemu_validate: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:11:54 +0000 (13:11 +0100)]
qemu/qemu_validate: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoqemu/qemu_process: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:14:03 +0000 (13:14 +0100)]
qemu/qemu_process: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoqemu/qemu_monitor_json: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:15:03 +0000 (13:15 +0100)]
qemu/qemu_monitor_json: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoqemu/qemu_migration: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:14:34 +0000 (13:14 +0100)]
qemu/qemu_migration: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoqemu/qemu_hotplug: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:12:41 +0000 (13:12 +0100)]
qemu/qemu_hotplug: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoqemu/qemu_driver: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:12:11 +0000 (13:12 +0100)]
qemu/qemu_driver: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoqemu/qemu_domain: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:12:25 +0000 (13:12 +0100)]
qemu/qemu_domain: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoqemu/qemu_command: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 12:15:15 +0000 (13:15 +0100)]
qemu/qemu_command: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoopenvz: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 11:31:30 +0000 (12:31 +0100)]
openvz: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agonwfilter: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 11:30:21 +0000 (12:30 +0100)]
nwfilter: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agonode_device: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 11:27:53 +0000 (12:27 +0100)]
node_device: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agonetwork: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 11:27:35 +0000 (12:27 +0100)]
network: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agolxc: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 11:22:28 +0000 (12:22 +0100)]
lxc: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agologging: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 11:18:13 +0000 (12:18 +0100)]
logging: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agolocking: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 11:15:50 +0000 (12:15 +0100)]
locking: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agolibxl: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 11:11:59 +0000 (12:11 +0100)]
libxl: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agointerface: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:53:48 +0000 (11:53 +0100)]
interface: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agohypervisor: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:50:56 +0000 (11:50 +0100)]
hypervisor: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agohyperv: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:48:48 +0000 (11:48 +0100)]
hyperv: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoesx: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:37:06 +0000 (11:37 +0100)]
esx: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agocpu: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:28:13 +0000 (11:28 +0100)]
cpu: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoconf: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:20:54 +0000 (11:20 +0100)]
conf: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoconf/node_device_conf: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:20:01 +0000 (11:20 +0100)]
conf/node_device_conf: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoconf/network_conf: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:19:21 +0000 (11:19 +0100)]
conf/network_conf: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoconf/domain_validate: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:20:27 +0000 (11:20 +0100)]
conf/domain_validate: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoconf/domain_conf: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:18:31 +0000 (11:18 +0100)]
conf/domain_conf: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoch: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:17:57 +0000 (11:17 +0100)]
ch: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agobhyve: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:16:58 +0000 (11:16 +0100)]
bhyve: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoadmin: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:16:39 +0000 (11:16 +0100)]
admin: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoaccess: Update format strings in translated messages
Jiri Denemark [Thu, 9 Mar 2023 10:16:12 +0000 (11:16 +0100)]
access: Update format strings in translated messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agodocs: Document requirements on format strings in translated messages
Jiri Denemark [Wed, 8 Mar 2023 09:58:11 +0000 (10:58 +0100)]
docs: Document requirements on format strings in translated messages

Preserving the order of format strings (%s, ...) when translating
messages may be very hard or even impossible depending on the target
language. On the other hand, reordering them requires understanding the
C-format strings which is not something we should expect from
translators. And even if someone reorders format strings in the right
way (by addressing arguments directly using N$), someone else may use a
translation tool that requires format strings in msgid and msgstr to
match exactly and forces these correct formats to be reverted.

As a result of this, we had several reported crashes in some locales
because integers were formatted as strings. So to make such crashes less
likely to happen and to make translating our messages easier, we now
require all messages that are marked for translation to use format
strings that always refer to the same argument no matter where they
appear in a message (e.g., %1$s, %5$llu).

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2 years agoUpdate translation files
Weblate [Sat, 1 Apr 2023 08:35:15 +0000 (10:35 +0200)]
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/

Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Fedora Weblate Translation <i18n@lists.fedoraproject.org>
2 years agopo: Refresh potfile
Jiri Denemark [Sat, 1 Apr 2023 08:33:57 +0000 (10:33 +0200)]
po: Refresh potfile

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2 years agoTranslated using Weblate (Korean)
김인수 [Sat, 1 Apr 2023 08:03:09 +0000 (10:03 +0200)]
Translated using Weblate (Korean)

Currently translated at 100.0% (10399 of 10399 strings)

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

Co-authored-by: 김인수 <simmon@nplob.com>
Signed-off-by: 김인수 <simmon@nplob.com>
2 years agoTranslated using Weblate (Czech)
Pavel Borecki [Sat, 1 Apr 2023 08:03:08 +0000 (10:03 +0200)]
Translated using Weblate (Czech)

Currently translated at 84.1% (8752 of 10399 strings)

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/cs/

Co-authored-by: Pavel Borecki <pavel.borecki@gmail.com>
Signed-off-by: Pavel Borecki <pavel.borecki@gmail.com>
2 years agoDo not use VIR_PCI_DEVICE_ADDRESS_FMT in translations
Jiri Denemark [Wed, 29 Mar 2023 10:07:53 +0000 (12:07 +0200)]
Do not use VIR_PCI_DEVICE_ADDRESS_FMT in translations

xgettext cannot handle strings concatenated with cpp macros.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2 years agoDrop excess whitespace from error messages
Jiri Denemark [Wed, 29 Mar 2023 10:01:13 +0000 (12:01 +0200)]
Drop excess whitespace from error messages

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2 years agoPost-release version bump to 9.3.0
Jiri Denemark [Sat, 1 Apr 2023 07:52:31 +0000 (09:52 +0200)]
Post-release version bump to 9.3.0

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2 years agoRelease of libvirt-9.2.0
Jiri Denemark [Sat, 1 Apr 2023 07:33:43 +0000 (09:33 +0200)]
Release of libvirt-9.2.0

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2 years agoTranslated using Weblate (Korean)
김인수 [Fri, 31 Mar 2023 08:20:40 +0000 (10:20 +0200)]
Translated using Weblate (Korean)

Currently translated at 99.7% (10377 of 10399 strings)

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

Co-authored-by: 김인수 <simmon@nplob.com>
Signed-off-by: 김인수 <simmon@nplob.com>
2 years agoTranslated using Weblate (Czech)
Pavel Borecki [Fri, 31 Mar 2023 08:20:40 +0000 (10:20 +0200)]
Translated using Weblate (Czech)

Currently translated at 84.1% (8748 of 10399 strings)

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/cs/

Co-authored-by: Pavel Borecki <pavel.borecki@gmail.com>
Signed-off-by: Pavel Borecki <pavel.borecki@gmail.com>
2 years agoconf: Clear pointer to freed bitmap holding hostdev's 'origstates'
Peter Krempa [Thu, 30 Mar 2023 09:42:31 +0000 (11:42 +0200)]
conf: Clear pointer to freed bitmap holding hostdev's 'origstates'

'virDomainHostdevDefClear' must clear the pointers too as it can be
invoked multiple times on the same object e.g. inside
qemuDomainRemoveHostDevice once via virDomainHostdevDefFree which skips
freeing the object if it's used via <interface> and thus has a 'net'
definition corresponding to it, and then subsequently via
virDomainNetDefFree.

Fix it by clearing the pointer along with freeing it.

Fixes: d9e4075d4e9
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2182961
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2 years agostorage_file_probe: change maximum len value in vmdk4GetBackingStore
Anastasia Belova [Wed, 29 Mar 2023 10:09:02 +0000 (13:09 +0300)]
storage_file_probe: change maximum len value in vmdk4GetBackingStore

desc length should be always less than VIR_STORAGE_MAX_HEADER.
If len = VIR_STORAGE_MAX_HEADER, desc may be out of bounds.

Fixes: 296032bfb2 ("util: extract storage file probe code into virtstoragefileprobe.c")
Signed-off-by: Anastasia Belova <abelova@astralinux.ru>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2 years agoTranslated using Weblate (Ukrainian)
Yuri Chornoivan [Tue, 28 Mar 2023 14:20:43 +0000 (16:20 +0200)]
Translated using Weblate (Ukrainian)

Currently translated at 100.0% (10399 of 10399 strings)

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/uk/

Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
Signed-off-by: Yuri Chornoivan <yurchor@ukr.net>
2 years agoTranslated using Weblate (Czech)
Ján Tomko [Tue, 28 Mar 2023 14:20:42 +0000 (16:20 +0200)]
Translated using Weblate (Czech)

Currently translated at 83.4% (8679 of 10399 strings)

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/cs/

Co-authored-by: Jan Tomko <jtomko@redhat.com>
Signed-off-by: Jan Tomko <jtomko@redhat.com>
2 years agoNEWS: document my user-visible bugfixes
Ján Tomko [Mon, 27 Mar 2023 11:01:40 +0000 (13:01 +0200)]
NEWS: document my user-visible bugfixes

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
2 years agoqemu: Default to raw firmware for existing domains
Andrea Bolognani [Mon, 27 Mar 2023 17:30:48 +0000 (19:30 +0200)]
qemu: Default to raw firmware for existing domains

The changes to the output files are the exact opposite of
those from commit 22207713cf8e: this is proof that the fix is
working as intended, and that existing domains will keep using
raw firmware images regardless of whether or not qcow2 images
are available on the system and have higher priority.

New domains will keep picking whatever firmware is considered
the preferred one according to the order of descriptors, as
evidenced by the fact that the recently introduced
firmware-auto-efi-abi-update-aarch64 test case is unaffected.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2 years agotests: Add firmware-auto-efi-abi-update-aarch64 test case
Andrea Bolognani [Mon, 27 Mar 2023 17:56:46 +0000 (19:56 +0200)]
tests: Add firmware-auto-efi-abi-update-aarch64 test case

The input is identical to that of the existing
firmware-auto-efi-aarch64 test, but in this case we want to
cover the scenario in which that input is used to define a new
domain rather than loading the definition of an existing domain
from disk.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2 years agotests: Introduce DO_TEST_CAPS_ARCH_LATEST_ABI_UPDATE()
Andrea Bolognani [Mon, 27 Mar 2023 17:47:27 +0000 (19:47 +0200)]
tests: Introduce DO_TEST_CAPS_ARCH_LATEST_ABI_UPDATE()

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2 years agotests: Compile virgdbusmock.c with GIO_COMPILATION enabled
Michal Privoznik [Mon, 27 Mar 2023 11:50:40 +0000 (13:50 +0200)]
tests: Compile virgdbusmock.c with GIO_COMPILATION enabled

There are couple of g_dbus_*() functions we provide an
alternative implementation for in our virgdbusmock.c. However,
these functions are declared in gio/gdbusconnection.h as:

  GIO_AVAILABLE_IN_ALL
  GDBusConnection  *g_bus_get_sync (GBusType            bus_type,
                                    GCancellable       *cancellable,
                                    GError            **error);

where GIO_AVAILABLE_IN_ALL is declared as (in
/gio/gio-visibility.h):

  #if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(GIO_STATIC_COMPILATION)
  #  define _GIO_EXPORT __declspec(dllexport)
  #  define _GIO_IMPORT __declspec(dllimport)
  #elif __GNUC__ >= 4
  #  define _GIO_EXPORT __attribute__((visibility("default")))
  #  define _GIO_IMPORT
  #else
  #  define _GIO_EXPORT
  #  define _GIO_IMPORT
  #endif
  #ifdef GIO_COMPILATION
  #  define _GIO_API _GIO_EXPORT
  #else
  #  define _GIO_API _GIO_IMPORT
  #endif

  #define _GIO_EXTERN _GIO_API extern

  #define GIO_AVAILABLE_IN_ALL _GIO_EXTERN

Now, on mingw the functions we mock are declared with dllimport
attribute which makes the compiler unhappy:

  ../tests/virgdbusmock.c:25:24: error: 'g_bus_get_sync'
  redeclared without dllimport attribute: previous dllimport
  ignored [-Werror=attributes]

The solution is to do what glib does when it compiles the gio
module: set GIO_COMPILATION macro which in turn annotates the
function with dllexport attribute.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2 years agoUpdate translation files
Weblate [Mon, 27 Mar 2023 09:31:00 +0000 (11:31 +0200)]
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/

Co-authored-by: Weblate <noreply@weblate.org>
Signed-off-by: Fedora Weblate Translation <i18n@lists.fedoraproject.org>
2 years agopo: Refresh potfile for v9.2.0
Jiri Denemark [Mon, 27 Mar 2023 09:15:48 +0000 (11:15 +0200)]
po: Refresh potfile for v9.2.0

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2 years agoRevert "ci: Disable optimization on macos-12"
Martin Kletzander [Fri, 24 Mar 2023 15:41:05 +0000 (16:41 +0100)]
Revert "ci: Disable optimization on macos-12"

This reverts commit 1f76b5365ec78b1e9a36038db8e13ec0025bbe7a.

There were two issues with this commit.  First is the missing propagation
of CFLAGS into the build environment and second is the fact that this is
not enough to disable the check for -fsemantic-interposition.  The
proper fix would require setting MESON_OPTS or similar and also add the
propagation of such variable into the cirrus builds etc., but at this
point I burned so much time on this trivial piece of rubbish that I
think it's easier to just wait for macos to gain a newer clang =D

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2 years agoesx: Change the default username when connecting to VCenter
Michal Privoznik [Fri, 24 Mar 2023 11:03:28 +0000 (12:03 +0100)]
esx: Change the default username when connecting to VCenter

While it's true that the default username is:

  administrator@${SSO-Domain}

in majority of cases the ${SSO-Domain} is "vsphere.local". But
our code (and what virsh displays then) says it's just
"administrator".

This is wrong also from a different POV: the username must
contain the suffix no matter what and our default suggests
otherwise.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2181234
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2 years agovirt-host-validate: Detect SMMU support on ARMs
Michal Privoznik [Wed, 22 Mar 2023 15:33:32 +0000 (16:33 +0100)]
virt-host-validate: Detect SMMU support on ARMs

In vir-host-validate we do two checks related to IOMMU:

  1) hardware support, and
  2) kernel support.

While users are usually interested in the latter, the former also
makes sense. And for the former (hardware support) we have this
huge if-else block for nearly every architecture, except ARM.

Now, IOMMU is called SMMU in ARM world, and while there's
certainly a definitive way of detecting SMMU support (e.g. via
dumping some registers in asm), we can work around this - just
like we do for Intel and AMD - and check for an ACPI table
presence.

In ARM world, there's I/O Remapping Table (IORT) which describes
SMMU capabilities on given host and is exposed in sysfs
(regardless of arm_smmu module).

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2178885
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2 years agoci: Disable optimization on macos-12
Martin Kletzander [Fri, 24 Mar 2023 12:15:30 +0000 (13:15 +0100)]
ci: Disable optimization on macos-12

This enables our CI to run tests on on macos-12 after commit
7944700b4037.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
2 years agoci: Refresh CI files with current lcitool
Martin Kletzander [Fri, 24 Mar 2023 08:37:48 +0000 (09:37 +0100)]
ci: Refresh CI files with current lcitool

This updates to FreeBSD 12.4 which has clang that supports
-fsemantic-interposition, plus of course updates the system.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2 years agomeson: Don't build tests when CLang lacks -fsemantic-interposition
Michal Privoznik [Tue, 21 Mar 2023 16:01:34 +0000 (17:01 +0100)]
meson: Don't build tests when CLang lacks -fsemantic-interposition

There are some CLang versions that do not support
-fsemantic-interposition. If that's the case, the code is
optimized so much that our mocking no longer works.

Therefore, disable tests and produce a warning.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2 years agoci: Drop EOL OpenSUSE 15.3
Peter Krempa [Thu, 23 Mar 2023 08:54:03 +0000 (09:54 +0100)]
ci: Drop EOL OpenSUSE 15.3

The '15.3' version is EOL now:

  https://get.opensuse.org/leap/15.3/

Also switch the 'codestyle' job to the appropriate container image.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2 years agoci: Add OpenSUSE leap 15.4 job
Peter Krempa [Thu, 23 Mar 2023 14:21:37 +0000 (15:21 +0100)]
ci: Add OpenSUSE leap 15.4 job

As a precursor to dropping the EOL OpenSUSE 15.3 job add first the
definitions for the replacement version.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2 years agoTranslated using Weblate (Japanese)
Jiri Denemark [Wed, 22 Mar 2023 15:20:49 +0000 (16:20 +0100)]
Translated using Weblate (Japanese)

Currently translated at 99.5% (10368 of 10416 strings)

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/ja/

Co-authored-by: Jiri Denemark <jdenemar@redhat.com>
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2 years agoTranslated using Weblate (French)
grimst [Wed, 22 Mar 2023 15:20:48 +0000 (16:20 +0100)]
Translated using Weblate (French)

Currently translated at 99.9% (10410 of 10416 strings)

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/fr/

Co-authored-by: grimst <grimaitres@gmail.com>
Signed-off-by: grimst <grimaitres@gmail.com>
2 years agoTranslated using Weblate (Finnish)
Jan Kuparinen [Wed, 22 Mar 2023 15:20:48 +0000 (16:20 +0100)]
Translated using Weblate (Finnish)

Currently translated at 22.5% (2349 of 10416 strings)

Translation: libvirt/libvirt
Translate-URL: https://translate.fedoraproject.org/projects/libvirt/libvirt/fi/

Co-authored-by: Jan Kuparinen <copper_fin@hotmail.com>
Signed-off-by: Jan Kuparinen <copper_fin@hotmail.com>
2 years agoqemu_shim: Require absolute path for root directory
Michal Privoznik [Wed, 22 Mar 2023 11:39:21 +0000 (12:39 +0100)]
qemu_shim: Require absolute path for root directory

The virConnectOpen(), well virConnectOpenInternal() reports an
error if embed root is not an absolute path. This is a fair
requirement, but our qemu_shim doesn't check this requirement and
passes the path to mkdir(), only to fail later on, leaving the
empty directory behind:

  $ ls -d asd
  ls: cannot access 'asd': No such file or directory

  $ virt-qemu-run -r asd whatever.xml
  virt-qemu-run: cannot open qemu:///embed?root=asd: unsupported configuration: root path must be absolute

  $ ls -d asd
  asd

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
2 years agoqemu_domain: Drop ATTRIBUTE_NONNULL() for non-existent arguments
Michal Privoznik [Wed, 22 Mar 2023 10:07:50 +0000 (11:07 +0100)]
qemu_domain: Drop ATTRIBUTE_NONNULL() for non-existent arguments

After cleanup done in v8.2.0-rc1~47 the
qemuDomainObjExitMonitor() and after v8.7.0-rc1~176 the
qemuDomainObjEnterMonitor() lost the @driver argument. But
corresponding ATTRIBUTE_NONNULL() annotation was not removed and
both functions are still annotated as ATTRIBUTE_NONNULL(2) even
though they accept just one argument (@obj).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Kristina Hanicova <khanicov@redhat.com>
2 years agoqemu_shim: set system identity
Ján Tomko [Wed, 15 Mar 2023 15:21:49 +0000 (16:21 +0100)]
qemu_shim: set system identity

Otherwise looking up a secret fails when we try to elevate the identity
in qemuDomainSecretInfoSetupFromSecret.

https://bugzilla.redhat.com/show_bug.cgi?id=2000410

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2 years agoqemu: Move validation check out of postparse
Andrea Bolognani [Fri, 17 Mar 2023 10:19:04 +0000 (11:19 +0100)]
qemu: Move validation check out of postparse

Suggested-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>