Re: [libvirt RFCv8 00/27] multifd save restore prototype

2022-05-17 Thread Claudio Fontana
On 5/11/22 2:02 PM, Daniel P. Berrangé wrote: > On Wed, May 11, 2022 at 01:52:05PM +0200, Claudio Fontana wrote: >> On 5/11/22 11:51 AM, Daniel P. Berrangé wrote: >>> On Wed, May 11, 2022 at 09:26:10AM +0200, Claudio Fontana wrote: Hi Daniel, thanks for looking at this, On

[libvirt][PATCH v12 5/6] conf: Introduce SGX EPC element into device memory xml

2022-05-17 Thread Lin Yang
... 512 ... Signed-off-by: Lin Yang --- docs/formatdomain.rst | 9 +++- src/conf/domain_conf.c| 6 +++ src/conf/domain_conf.h| 1 + src/conf/domain_validate.c| 16 ++ sr

[libvirt][PATCH v12 4/6] conf: expose SGX feature in domain capabilities

2022-05-17 Thread Lin Yang
From: Haibin Huang Extend hypervisor capabilities to include sgx feature. When available, the hypervisor supports launching an VM with SGX on Intel platfrom. The SGX feature tag privides additional details like section size and sgx1 or sgx2. Signed-off-by: Haibin Huang --- docs/formatdomaincap

[libvirt][PATCH v12 2/6] Convert QMP capabilities to domain capabilities

2022-05-17 Thread Lin Yang
From: Haibin Huang the QMP capabilities: {"return": { "sgx": true, "section-size": 1024, "flc": true } } the domain capabilities: yes 1 Signed-off-by: Haibin Huang --- src/conf/domain_capabilities.c | 10 +++ src/conf/domain_capabilities.h | 5 ++

[libvirt][PATCH v12 6/6] qemu: Add command-line to generate SGX EPC memory backend

2022-05-17 Thread Lin Yang
According to the result parsing from xml, add the argument of SGX EPC memory backend into QEMU command line: #qemu-system-x86_64 \ .. \ -object memory-backend-epc,id=memepc0,size=64M,prealloc=on \ -object memory-backend-epc,id=memepc1,size=28M \ -machine sgx

[libvirt][PATCH v12 0/6] Support query and use SGX

2022-05-17 Thread Lin Yang
This patch series provides support for enabling Intel's Software Guard Extensions (SGX) feature in guest VM. Giving the SGX support in QEMU had been merged. Intel SGX is a set of instructions that increases the security of application code and data, giving them more protection from disclosure or m

[libvirt][PATCH v12 3/6] Adding of the QEMU CAPS flag for unit test

2022-05-17 Thread Lin Yang
From: Haibin Huang Signed-off-by: Haibin Huang --- .../domaincapsdata/qemu_7.1.0-q35.x86_64.xml | 1 + .../domaincapsdata/qemu_7.1.0-tcg.x86_64.xml | 1 + tests/domaincapsdata/qemu_7.1.0.x86_64.xml| 1 + .../caps_6.2.0.x86_64.replies | 22 +++ .../caps_6

[libvirt][PATCH v12 1/6] Get SGX capabilities form QMP

2022-05-17 Thread Lin Yang
From: Haibin Huang Generate the QMP command for query-sgx-capabilities and the command return sgx capabilities from QMP. {"execute":"query-sgx-capabilities"} the right reply: {"return": { "sgx": true, "section-size": 197132288, "flc": true } } the error reply: {

Re: [PATCH v2 2/2] cpu_ppc64: add support for host-model on POWER10

2022-05-17 Thread Daniel Henrique Barboza
On 5/12/22 04:52, Andrea Bolognani wrote: On Thu, May 05, 2022 at 05:26:14PM -0300, Daniel Henrique Barboza wrote: +++ b/tests/qemuxml2argvtest.c @@ -2209,6 +2209,17 @@ mymain(void) QEMU_CAPS_DEVICE_SPAPR_VTY); qemuTestSetHostCPU(&driver, driver.hostarch, NULL); +DO_T

Re: [PATCH v3 0/5] Introduce network backed NVRAM

2022-05-17 Thread Peter Krempa
On Mon, May 16, 2022 at 16:03:21 +0530, Rohit Kumar wrote: > Ping. > > Hi Peter, > can you please take a look on this v3 patchset ? Yes, don't worry and please be patient. There are some intricacies that are not properly handled by your series and rather than me using you as a email operated remo

Re: [PATCH 00/10] virclosecallbacks: Cleanups (part 1)

2022-05-17 Thread Ján Tomko
On a Tuesday in 2022, Peter Krempa wrote: This series simplifies some aspects of close callbacks in preparation of further refactors. Peter Krempa (10): virclosecallbacks.h: Reformat header to contemporary style virObjectLockGuard: Require that returned value is used qemuMigrationSrcBegin: Au

Re: [PATCH 0/9] qemu: fd: Address differences between FD passing types

2022-05-17 Thread Ján Tomko
On a Tuesday in 2022, Peter Krempa wrote: Originally the intention was to have one set of helpers but it turned out to be too much hassle and too obscure semantics. This series adds a new helper qemuFDPassDirect and simplifies the internals greatly by using a distinct set of APIs. Peter Krempa

Re: [PATCH 0/3] qemu: Promote internals descriptions to kbase articles

2022-05-17 Thread Ján Tomko
On a Monday in 2022, Peter Krempa wrote: Inside of the qemu driver source tree we had 3 text files describing internals. We can promote them to kbase articles to make them more accessible. You can browse the converted files at: https://pipo.sk.gitlab.io/-/libvirt/-/jobs/2462903538/artifacts/web

Re: [PATCH 2/3] ui: Switch "-display sdl" to use the QAPI parser

2022-05-17 Thread Thomas Huth
On 17/05/2022 13.19, Markus Armbruster wrote: Paolo Bonzini writes: On 5/17/22 10:34, Thomas Huth wrote: This remains, and that's fine.  One step at time. Not sure how we want to proceed with that in the long run, though ... IIRC clearly, Paolo once said that it doesn't really belong into "-

[PATCH 10/10] virclosecallbacks: Don't pass opqaue pointer to callback invocation

2022-05-17 Thread Peter Krempa
Remove the argument from the function prototypes and the callback handler. Signed-off-by: Peter Krempa --- src/bhyve/bhyve_driver.c | 2 +- src/bhyve/bhyve_process.c | 3 +-- src/hypervisor/virclosecallbacks.c | 5 ++--- src/hypervisor/virclosecallbacks.h | 6 ++ src/lxc/l

[PATCH 05/10] lxc: Store 'driver' in VM private data

2022-05-17 Thread Peter Krempa
Similarly to the qemu driver if we store the immutable driver pointer in the VM private data struct we don't have to questionably pass it through opaque pointers to callbacks. Signed-off-by: Peter Krempa --- src/lxc/lxc_domain.c | 4 +++- src/lxc/lxc_domain.h | 1 + 2 files changed, 4 insertions

[PATCH 07/10] qemuProcessAutoDestroy: Use 'driver' from VM private data

2022-05-17 Thread Peter Krempa
Access the 'driver' struct from the private data rather than the passed opaque pointer in preparation to remove the opaque pointer. Signed-off-by: Peter Krempa --- src/qemu/qemu_process.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_process.c b/src/qemu/q

[PATCH 06/10] qemuMigrationSrcCleanup: Use 'driver' from VM private data

2022-05-17 Thread Peter Krempa
Access the 'driver' struct from the private data rather than the passed opaque pointer in preparation to remove the opaque pointer. Signed-off-by: Peter Krempa --- src/qemu/qemu_migration.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qemu/qemu_migration.c b/src/qe

[PATCH 08/10] lxcProcessAutoDestroy: Use 'driver' from VM private data

2022-05-17 Thread Peter Krempa
Access the 'driver' struct from the private data rather than the passed opaque pointer in preparation to remove the opaque pointer. Signed-off-by: Peter Krempa --- src/lxc/lxc_process.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lxc/lxc_process.c b/src/lxc/lxc

[PATCH 04/10] bhyve: Store 'driver' in VM private data

2022-05-17 Thread Peter Krempa
Similarly to the qemu driver if we store the immutable driver pointer in the VM private data struct we don't have to questionably pass it through opaque pointers to callbacks. Signed-off-by: Peter Krempa --- src/bhyve/bhyve_domain.c | 8 ++-- src/bhyve/bhyve_domain.h | 2 ++ 2 files changed,

[PATCH 09/10] bhyveProcessAutoDestroy: Use 'driver' from VM private data

2022-05-17 Thread Peter Krempa
Access the 'driver' struct from the private data rather than the passed opaque pointer in preparation to remove the opaque pointer. Signed-off-by: Peter Krempa --- src/bhyve/bhyve_process.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bhyve/bhyve_process.c b/src/b

[PATCH 03/10] qemuMigrationSrcBegin: Automatically free 'xml' variable on error

2022-05-17 Thread Peter Krempa
Signed-off-by: Peter Krempa --- src/qemu/qemu_migration.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/qemu/qemu_migration.c b/src/qemu/qemu_migration.c index 25af291dc6..6b3815ac58 100644 --- a/src/qemu/qemu_migration.c +++ b/src/qemu/qemu_migration.c @@ -2487,

[PATCH 02/10] virObjectLockGuard: Require that returned value is used

2022-05-17 Thread Peter Krempa
The returned value is used to unlock the object, so all callers must necessarily make use of the returned value. Signed-off-by: Peter Krempa --- src/util/virobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/virobject.h b/src/util/virobject.h index a1e16aee77..

[PATCH 01/10] virclosecallbacks.h: Reformat header to contemporary style

2022-05-17 Thread Peter Krempa
Signed-off-by: Peter Krempa --- src/hypervisor/virclosecallbacks.h | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/hypervisor/virclosecallbacks.h b/src/hypervisor/virclosecallbacks.h index 97be25b781..138e0eb689 100644 --- a/src/hypervisor/virclos

[PATCH 00/10] virclosecallbacks: Cleanups (part 1)

2022-05-17 Thread Peter Krempa
This series simplifies some aspects of close callbacks in preparation of further refactors. Peter Krempa (10): virclosecallbacks.h: Reformat header to contemporary style virObjectLockGuard: Require that returned value is used qemuMigrationSrcBegin: Automatically free 'xml' variable on error

Re: [PATCH 1/9] qemu: fd: Add a distinct set of APIs for 'direct' fd passing mode

2022-05-17 Thread Peter Krempa
On Tue, May 17, 2022 at 11:07:18 +0200, Peter Krempa wrote: > Originally I envisioned a common set of APIs for both FD passing > approaches but it turns out they are not really compatible enough for it > to make sense to use one set of APIs. > > As of such introduce a distinct set of APIs for the

Re: [libvirt PATCH 1/7] po: Drop unwanted comments from potfile

2022-05-17 Thread Andrea Bolognani
On Tue, May 17, 2022 at 12:19:07PM +0200, Jiri Denemark wrote: > On Tue, May 17, 2022 at 10:46:21 +0100, Daniel P. Berrangé wrote: > > On Tue, May 17, 2022 at 02:34:00AM -0700, Andrea Bolognani wrote: > > > On Tue, May 17, 2022 at 11:11:00AM +0200, Peter Krempa wrote: > > > > Hmm, so is this someth

Re: [libvirt PATCH 2/7] syntax-check: Introduce sc_pot_comments

2022-05-17 Thread Andrea Bolognani
On Tue, May 17, 2022 at 10:49:47AM +0100, Daniel P. Berrangé wrote: > On Tue, May 17, 2022 at 02:23:45AM -0700, Andrea Bolognani wrote: > > On Tue, May 17, 2022 at 11:12:47AM +0200, Peter Krempa wrote: > > > On Tue, May 17, 2022 at 10:32:12 +0200, Andrea Bolognani wrote: > > > > +# Before 0.60, mes

Re: [PATCH 2/3] ui: Switch "-display sdl" to use the QAPI parser

2022-05-17 Thread Markus Armbruster
Paolo Bonzini writes: > On 5/17/22 10:34, Thomas Huth wrote: >>> This remains, and that's fine.  One step at time. >> Not sure how we want to proceed with that in the long run, though >> ... IIRC clearly, Paolo once said that it doesn't really belong into >> "-display" anyway and should be handl

Re: [libvirt PATCH 1/7] po: Drop unwanted comments from potfile

2022-05-17 Thread Jiri Denemark
On Tue, May 17, 2022 at 10:46:21 +0100, Daniel P. Berrangé wrote: > On Tue, May 17, 2022 at 02:34:00AM -0700, Andrea Bolognani wrote: > > On Tue, May 17, 2022 at 11:11:00AM +0200, Peter Krempa wrote: > > > On Tue, May 17, 2022 at 10:32:11 +0200, Andrea Bolognani wrote: > > > > These managed to snea

Re: [libvirt PATCH 2/7] syntax-check: Introduce sc_pot_comments

2022-05-17 Thread Daniel P . Berrangé
On Tue, May 17, 2022 at 02:23:45AM -0700, Andrea Bolognani wrote: > On Tue, May 17, 2022 at 11:12:47AM +0200, Peter Krempa wrote: > > On Tue, May 17, 2022 at 10:32:12 +0200, Andrea Bolognani wrote: > > > +# Before 0.60, meson would sometimes pass options to xgettext in the > > > +# wrong order, res

Re: [PATCH 2/3] ui: Switch "-display sdl" to use the QAPI parser

2022-05-17 Thread Paolo Bonzini
On 5/17/22 10:34, Thomas Huth wrote: This remains, and that's fine.  One step at time. Not sure how we want to proceed with that in the long run, though ... IIRC clearly, Paolo once said that it doesn't really belong into "-display" anyway and should be handled with the separate "-vnc" option

Re: [libvirt PATCH 1/7] po: Drop unwanted comments from potfile

2022-05-17 Thread Daniel P . Berrangé
On Tue, May 17, 2022 at 02:34:00AM -0700, Andrea Bolognani wrote: > On Tue, May 17, 2022 at 11:11:00AM +0200, Peter Krempa wrote: > > On Tue, May 17, 2022 at 10:32:11 +0200, Andrea Bolognani wrote: > > > These managed to sneak in as part of ec02f5719a87, when the > > > potfile was last refreshed, b

Re: [libvirt PATCH 1/7] po: Drop unwanted comments from potfile

2022-05-17 Thread Andrea Bolognani
On Tue, May 17, 2022 at 11:11:00AM +0200, Peter Krempa wrote: > On Tue, May 17, 2022 at 10:32:11 +0200, Andrea Bolognani wrote: > > These managed to sneak in as part of ec02f5719a87, when the > > potfile was last refreshed, but are not supposed to be there. > > > > Signed-off-by: Andrea Bolognani

Re: [libvirt PATCH 2/7] syntax-check: Introduce sc_pot_comments

2022-05-17 Thread Andrea Bolognani
On Tue, May 17, 2022 at 11:12:47AM +0200, Peter Krempa wrote: > On Tue, May 17, 2022 at 10:32:12 +0200, Andrea Bolognani wrote: > > +# Before 0.60, meson would sometimes pass options to xgettext in the > > +# wrong order, resulting in unwanted comments showing up in the > > +# potfile after it was

Re: [libvirt PATCH 2/7] syntax-check: Introduce sc_pot_comments

2022-05-17 Thread Peter Krempa
On Tue, May 17, 2022 at 10:32:12 +0200, Andrea Bolognani wrote: > We don't want comments to be present in the potfile, unless > they're specifically aimed at translators. > > To achieve this, we pass the --add-comments=TRANSLATORS: option > to xgettext. However, we also use the 'glib' preset, whic

Re: [libvirt PATCH 1/7] po: Drop unwanted comments from potfile

2022-05-17 Thread Peter Krempa
On Tue, May 17, 2022 at 10:32:11 +0200, Andrea Bolognani wrote: > These managed to sneak in as part of ec02f5719a87, when the > potfile was last refreshed, but are not supposed to be there. > > Signed-off-by: Andrea Bolognani > --- > po/libvirt.pot | 216 -

Re: [libvirt PATCH 01/80] qemu: Add debug messages to job recovery code

2022-05-17 Thread Peter Krempa
On Tue, May 17, 2022 at 11:59:42 +0800, Fangge Jin wrote: > Hi > > I'm testing this patch series, but it has conflict with latest code. > Could you please rebase to latest code and provide a V2? > Thanks. You can fetch the original version including the proper base from Jirka's gitlab. In the cov

Re: [PATCH 2/3] ui: Switch "-display sdl" to use the QAPI parser

2022-05-17 Thread Markus Armbruster
Thomas Huth writes: > On 12/05/2022 14.16, Markus Armbruster wrote: [...] >>> This introduces the new "DisplaySDL" QAPI struct that is used to hold >>> the parameters that are unique to the SDL display. The only specific >>> parameter is currently "grab-mod" which is modeled as a string, so tha

[PATCH 1/9] qemu: fd: Add a distinct set of APIs for 'direct' fd passing mode

2022-05-17 Thread Peter Krempa
Originally I envisioned a common set of APIs for both FD passing approaches but it turns out they are not really compatible enough for it to make sense to use one set of APIs. As of such introduce a distinct set of APIs for the 'direct' mode, which will later be used to convert all places that cur

[PATCH 4/9] qemu: Convert passing of 'slirpfd' to 'qemuFDPassDirect'

2022-05-17 Thread Peter Krempa
Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 7 --- src/qemu/qemu_domain.c | 2 +- src/qemu/qemu_domain.h | 2 +- src/qemu/qemu_hotplug.c | 2 +- src/qemu/qemu_slirp.c | 4 +--- 5 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/

[PATCH 9/9] qemu: fd: Fix documentation for FD set related functions

2022-05-17 Thread Peter Krempa
When dealing with fdsets only we don't need to pass the FD first as we now generate fdset name directly. Also there are no more caveats in passing multiple FDs. Signed-off-by: Peter Krempa --- src/qemu/qemu_fd.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/qemu/

[PATCH 2/9] qemu: Convert passing of 'vhostfd' to 'qemuFDPassDirect'

2022-05-17 Thread Peter Krempa
Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 8 +++- src/qemu/qemu_domain.c| 2 +- src/qemu/qemu_domain.h| 2 +- src/qemu/qemu_hotplug.c | 4 ++-- src/qemu/qemu_interface.c | 8 ++-- tests/qemuxml2argvmock.c | 10 +++--- 6 files changed, 12 insertions(+)

[PATCH 7/9] qemu: fd: Remove support for 'direct' fd passing from 'qemuFDPass'

2022-05-17 Thread Peter Krempa
This finishes the separation of the fdset and direct helpers. Remove 'qemuFDPassNewDirect' and all internals which were applicable only in direct mode. Signed-off-by: Peter Krempa --- src/qemu/qemu_fd.c | 116 - 1 file changed, 19 insertions(+), 97 del

[PATCH 6/9] qemuFDPassValidate: Don't validate file descriptors

2022-05-17 Thread Peter Krempa
The callers adding the FDs are validating them regardless so this check was redundant. Signed-off-by: Peter Krempa --- src/qemu/qemu_fd.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/src/qemu/qemu_fd.c b/src/qemu/qemu_fd.c index 442f92df2f..fc9fecbb0e 100644 --- a/src/qemu/qemu

[PATCH 8/9] qemuFDPassTransferCommand: Remove return value

2022-05-17 Thread Peter Krempa
Now that the 'direct' mode was separated and thus we don't have any possible error case we can stop returning any values and simplify callers. Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 18 +- src/qemu/qemu_fd.c | 6 ++ src/qemu/qemu_fd.h | 2 +- 3

[PATCH 0/9] qemu: fd: Address differences between FD passing types

2022-05-17 Thread Peter Krempa
Originally the intention was to have one set of helpers but it turned out to be too much hassle and too obscure semantics. This series adds a new helper qemuFDPassDirect and simplifies the internals greatly by using a distinct set of APIs. Peter Krempa (9): qemu: fd: Add a distinct set of APIs

[PATCH 5/9] qemu: Use 'qemuFDPassDirect' for 'unix' chardevs

2022-05-17 Thread Peter Krempa
Unix socket chardevs with FD passing need to use the direct mode so we need to convert it to use qemuFDPassDirect. Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 15 +-- src/qemu/qemu_domain.c | 1 + src/qemu/qemu_domain.h | 1 + src/qemu/qemu_hotplug.c

[PATCH 3/9] qemu: Convert passing of 'tapfds' to 'qemuFDPassDirect'

2022-05-17 Thread Peter Krempa
Signed-off-by: Peter Krempa --- src/qemu/qemu_command.c | 15 +-- src/qemu/qemu_domain.c | 2 +- src/qemu/qemu_domain.h | 2 +- src/qemu/qemu_hotplug.c | 4 ++-- 4 files changed, 9 insertions(+), 14 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c inde

Re: [PATCH 2/3] ui: Switch "-display sdl" to use the QAPI parser

2022-05-17 Thread Thomas Huth
On 12/05/2022 14.16, Markus Armbruster wrote: [...]> if (strstart(p, "sdl", &opts)) { +/* + * sdl DisplayType needs hand-crafted parser instead of + * parse_display_qapi() due to some options not in + * DisplayOptions, specifically:

[libvirt PATCH 6/7] po: Sort LINGUAS

2022-05-17 Thread Andrea Bolognani
Signed-off-by: Andrea Bolognani --- po/LINGUAS | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/po/LINGUAS b/po/LINGUAS index 889ef80aba..35acd33a87 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -28,17 +28,17 @@ nl or pa pl -pt_BR pt +pt_BR ru -sr@latin +si sr +sr@l

[libvirt PATCH 7/7] syntax-check: Introduce sc_linguas_sorting

2022-05-17 Thread Andrea Bolognani
Make sure LINGUAS remains sorted correctly. Signed-off-by: Andrea Bolognani --- build-aux/syntax-check.mk | 8 1 file changed, 8 insertions(+) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index e7aa2444bf..e8aea29d64 100644 --- a/build-aux/syntax-check.mk +++ b/bu

[libvirt PATCH 4/7] po: Don't generate POTFILES

2022-05-17 Thread Andrea Bolognani
Now that we have dropped prefixes from the file, it no longer needs to go through configure_file() and we can use it directly. Signed-off-by: Andrea Bolognani --- build-aux/syntax-check.mk| 6 +++--- po/{POTFILES.in => POTFILES} | 0 po/meson.build | 13 + 3 files

[libvirt PATCH 1/7] po: Drop unwanted comments from potfile

2022-05-17 Thread Andrea Bolognani
These managed to sneak in as part of ec02f5719a87, when the potfile was last refreshed, but are not supposed to be there. Signed-off-by: Andrea Bolognani --- po/libvirt.pot | 216 - 1 file changed, 216 deletions(-) diff --git a/po/libvirt.pot b/po

[libvirt PATCH 3/7] po: Drop prefixes from POTFILES.in

2022-05-17 Thread Andrea Bolognani
Commit 8beb7fdd0e23 changed the handling of POTFILES so that it could cope with files being located in either the source or build directory: it did so by adding @SRCDIR@ and @BUILDDIR@ respectively at the beginning of each line, and then converting them back to the actual values when generating POT

[libvirt PATCH 5/7] syntax-check: Don't exclude src/false.c from sc_po_check

2022-05-17 Thread Andrea Bolognani
This is something that certainly made sense in the context of gnulib, but we don't have a use for it. Signed-off-by: Andrea Bolognani --- build-aux/syntax-check.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 05

[libvirt PATCH 2/7] syntax-check: Introduce sc_pot_comments

2022-05-17 Thread Andrea Bolognani
We don't want comments to be present in the potfile, unless they're specifically aimed at translators. To achieve this, we pass the --add-comments=TRANSLATORS: option to xgettext. However, we also use the 'glib' preset, which contains the --add-comments option. This should work fine, as later opt

[libvirt PATCH 0/7] po: Various fixes and cleanups

2022-05-17 Thread Andrea Bolognani
msgid "" "*** BLURB HERE ***" msgstr "" Andrea Bolognani (7): po: Drop unwanted comments from potfile syntax-check: Introduce sc_pot_comments po: Drop prefixes from POTFILES.in po: Don't generate POTFILES syntax-check: Don't exclude src/false.c from sc_po_check po: Sort LINGUAS synta