search for: ersek

Displaying 20 results from an estimated 240 matches for "ersek".

2023 Feb 24
1
[libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert()
On 2/21/23 07:33, Laszlo Ersek wrote: > On 2/20/23 19:21, Laszlo Ersek wrote: >> On 2/15/23 21:57, Eric Blake wrote: >>> On Wed, Feb 15, 2023 at 03:11:36PM +0100, Laszlo Ersek wrote: > >>>> + >>>> + xwrite (STDERR_FILENO, file, strlen (file)); >>>> + xwrite (STDERR_FILE...
2023 May 02
4
[libnbd PATCH v2 0/2] continue wrapping generated C code harder
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2172516 v1: https://listman.redhat.com/archives/libguestfs/2023-April/031375.html In v2, move the declaration of the "p" helper variable next to the top of the function. Thanks! Laszlo Laszlo Ersek (2): generator/C: print_wrapper: use helper variable for permitted state check generator/C: lib/api.c: indent arg list 2 spaces relative to function name generator/C.ml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) base-commit: 2fa6198f61d4e84a228155c973cdf1a2b581b70...
2023 Feb 15
3
[libnbd PATCH v3 04/29] ocaml: rename "sa_u" to "saddr_u"
<signal.h> in POSIX reserves the "sa_" prefix: https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_02_02 Let's use "saddr_" instead. Signed-off-by: Laszlo Ersek <lersek at redhat.com> --- ocaml/helpers.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ocaml/helpers.c b/ocaml/helpers.c index 6568755bc664..42bcf997a237 100644 --- a/ocaml/helpers.c +++ b/ocaml/helpers.c @@ -140,19 +140,19 @@ nbd_internal_unix_sockaddr_to_sa...
2013 Jun 08
7
[virtio-spec PATCH 0/5] Receiving Used Buffers example code: cleanups and an extra mb()
...ted-by: Stefan Hajnoczi <stefanha at redhat.com> to the last patch, because my translation may easily have corrupted his idea, but if the patch is deemed worthwhile, please do add his Suggested-by. I'm not subscribed to the virtualization list, please keep me CC'd. Thanks! Laszlo Ersek (5): Receiving Used Buffers: fix typo in "ring empty" condition in example code Receiving Used Buffers: re-disable interrupts when staying in the loop Receiving Used Buffers: variable for Queue Size is called "qsz" elsewhere Receiving Used Buffers: switch . a...
2013 Jun 08
7
[virtio-spec PATCH 0/5] Receiving Used Buffers example code: cleanups and an extra mb()
...ted-by: Stefan Hajnoczi <stefanha at redhat.com> to the last patch, because my translation may easily have corrupted his idea, but if the patch is deemed worthwhile, please do add his Suggested-by. I'm not subscribed to the virtualization list, please keep me CC'd. Thanks! Laszlo Ersek (5): Receiving Used Buffers: fix typo in "ring empty" condition in example code Receiving Used Buffers: re-disable interrupts when staying in the loop Receiving Used Buffers: variable for Queue Size is called "qsz" elsewhere Receiving Used Buffers: switch . a...
2023 Feb 15
2
[libnbd PATCH v3 11/29] socket activation: fix error message upon asprintf() failure
Correctly report "asprintf" in the error message when asprintf() fails. Signed-off-by: Laszlo Ersek <lersek at redhat.com> --- generator/states-connect-socket-activation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/states-connect-socket-activation.c b/generator/states-connect-socket-activation.c index 3b621b8be44f..c46a0bf5c0a3 100644 --- a/generator/stat...
2023 Feb 21
1
[libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert()
On 2/20/23 19:21, Laszlo Ersek wrote: > On 2/15/23 21:57, Eric Blake wrote: >> On Wed, Feb 15, 2023 at 03:11:36PM +0100, Laszlo Ersek wrote: >>> + >>> + xwrite (STDERR_FILENO, file, strlen (file)); >>> + xwrite (STDERR_FILENO, ":", 1); >> >> Presumably, if our first be...
2023 Feb 20
2
[libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert()
On 2/15/23 21:57, Eric Blake wrote: > On Wed, Feb 15, 2023 at 03:11:36PM +0100, Laszlo Ersek wrote: >> Add an assert() variant that we may call between fork() and exec*(). >> >> Signed-off-by: Laszlo Ersek <lersek at redhat.com> >> --- >> > >> +++ b/lib/internal.h > >> + >> +#ifdef NDEBUG >> +#define NBD_INTERNAL_FORK_SAFE...
2023 Mar 28
3
[nbdkit PATCH 0/2] various
I originally meant to post only the "vector.h" patch, but then (independently) nbdkit wouldn't build. Hence the other (rust plugin) patch. Laszlo Laszlo Ersek (2): common/utils: document empty_vector compound literal assignment plugins/rust: restrict predicates-{tree,core} to {1.0.7,1.0.5} common/utils/vector.h | 8 +++++++- plugins/rust/Cargo.toml | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) base-commit: 45b72f5bd8fc1b475fa130d06c86...
2023 Feb 20
2
[PATCH 1/2] python: Avoid crash if callback parameters cannot be built
On Mon, Feb 20, 2023 at 10:45 AM Laszlo Ersek <lersek at redhat.com> wrote: > > On 2/17/23 17:52, Eric Blake wrote: > > On Thu, Feb 16, 2023 at 03:09:02PM +0100, Laszlo Ersek wrote: > > >> - Py_BuildValue with the "O" format specifier transfers the new list's > >> *sole* reference (= ownersh...
2011 May 25
2
[PATCH linux-2.6.18-xen] blkback: don''t call vbd_size() if bd_disk is NULL
...because vbd_size() dereferences bd_disk if bd_part is NULL. Signed-off-by: Laszlo Ersek<lersek@redhat.com> --- drivers/xen/blkback/vbd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -r 415a9b435fef drivers/xen/blkback/vbd.c --- a/drivers/xen/blkback/vbd.c Mon May 23 18:36:33 2011 +0100 +++ b/drivers/xen/blkback/vbd.c Wed May 25 12:15:26 2011 +0200 @@ -73,7...
2023 Mar 28
1
libnbd | Failed pipeline for master | 2db30279
...( https://gitlab.com/nbdkit/libnbd ) Branch: master ( https://gitlab.com/nbdkit/libnbd/-/commits/master ) Commit: 2db30279 ( https://gitlab.com/nbdkit/libnbd/-/commit/2db30279bad4f9923baa541008f5da11624d2d1f ) Commit Message: socket activation: set LISTEN_FDNAMES Add LIST... Commit Author: Laszlo Ersek ( https://gitlab.com/lersek ) Pipeline #819889104 ( https://gitlab.com/nbdkit/libnbd/-/pipelines/819889104 ) triggered by Laszlo Ersek ( https://gitlab.com/lersek ) had 1 failed job. Job #4013077739 ( https://gitlab.com/nbdkit/libnbd/-/jobs/4013077739/raw ) Stage: builds Name: x86_64-almalinux-8...
2023 Mar 28
1
libnbd | Failed pipeline for master | 2db30279
...> master <https://gitlab.com/nbdkit/libnbd/-/commits/master> > > Commit > 2db30279 > <https://gitlab.com/nbdkit/libnbd/-/commit/2db30279bad4f9923baa541008f5da11624d2d1f> > > socket activation: set LISTEN_FDNAMES Add LIST... > Commit Author > Laszlo Ersek <https://gitlab.com/lersek> > > ? > Pipeline #819889104 > <https://gitlab.com/nbdkit/libnbd/-/pipelines/819889104> triggered by > Laszlo Ersek <https://gitlab.com/lersek> > > had 1 failed job > Failed job > ? builds > > x86_64-almalinux-8-cl...
2023 Feb 15
2
[libnbd PATCH v3 02/29] generator/C.ml: use space consistently in func. and func.-like macro calls
Apply the ideas in the previous patch to the C-language bindings generator. Signed-off-by: Laszlo Ersek <lersek at redhat.com> --- generator/C.ml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/generator/C.ml b/generator/C.ml index f9171996dde0..07c924c48ccf 100644 --- a/generator/C.ml +++ b/generator/C.ml @@ -250,15 +250,15 @@ let *) (match re...
2023 Feb 20
2
[PATCH 1/2] python: Avoid crash if callback parameters cannot be built
On 2/17/23 17:52, Eric Blake wrote: > On Thu, Feb 16, 2023 at 03:09:02PM +0100, Laszlo Ersek wrote: >> - Py_BuildValue with the "O" format specifier transfers the new list's >> *sole* reference (= ownership) to the just-built higher-level object "args" > > Reference transfer is done with "N", not "O". That would be an > al...
2023 Feb 15
1
[libnbd PATCH v3 02/29] generator/C.ml: use space consistently in func. and func.-like macro calls
On Wed, Feb 15, 2023 at 03:11:31PM +0100, Laszlo Ersek wrote: > Apply the ideas in the previous patch to the C-language bindings > generator. > > Signed-off-by: Laszlo Ersek <lersek at redhat.com> > --- > generator/C.ml | 20 ++++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) > > pr "#i...
2023 Mar 28
1
[libnbd PATCH v5 3/4] generator: Add APIs to get/set the socket activation socket name
On 3/28/23 04:06, Eric Blake wrote: > On Sat, Mar 25, 2023 at 12:39:28PM +0100, Laszlo Ersek wrote: >> From: "Richard W.M. Jones" <rjones at redhat.com> >> >> To allow us to name the socket passed down to the NBD server when >> calling nbd_connect_systemd_socket_activation(3), we need to add the >> field to the handle and add access functions....
2023 Feb 20
2
[PATCH v2v v2 3/3] -o qemu: Always use -cpu host unless overridden by source hypervisor
...ng direct > qemu commands. > > Note that after this change, gcaps_arch_min_version is basically an > informational field. No output uses it, but it will appear in debug > output and there's the possibility we might use it for a future output > mode. > > Thanks: Laszlo Ersek > --- > lib/types.mli | 6 +++++- > output/output_qemu.ml | 6 +----- > 2 files changed, 6 insertions(+), 6 deletions(-) > > diff --git a/lib/types.mli b/lib/types.mli > index 743daa8a14..4a183dd3ae 100644 > --- a/lib/types.mli > +++ b/lib/types.mli > @@ -268...
2023 Mar 22
1
[libnbd PATCH v4 0/2] lib/utils: introduce async-signal-safe execvpe()
On Wed, Mar 22, 2023 at 12:13:49PM +0100, Laszlo Ersek wrote: > On 3/22/23 11:42, Laszlo Ersek wrote: > > > Now the "podman build -f ci/containers/alpine-edge.Dockerfile -t > > libnbd-alpine-edge" command is failing with a different error message -- > > the download completes, but the internal relinking etc fails due...
2023 May 19
1
[libguestfs PATCH 3/3] LUKS-on-LVM inspection test: test /dev/mapper/VG-LV translation
On Fri, May 19, 2023 at 04:08:49PM +0200, Laszlo Ersek wrote: > In the LUKS-on-LVM inspection test, call the "check_filesystems" function > yet another time, now with such "--key" options that exercise the recent > "/dev/mapper/VG-LV" -> "/dev/VG/LV" translation (unescaping) from > libguestfs-commo...