search for: mzatko

Displaying 20 results from an estimated 78 matches for "mzatko".

Did you mean: zatko
2014 May 15
2
[PATCH] Add global mutex around each C call
From: Maros Zatko <mzatko@redhat.com> Patch adds recursive mutex around C calls, which tries to fix potential race condition in guestfs_umount_local (see [1]). [1] - https://bugzilla.redhat.com/show_bug.cgi?id=917706 Maros Zatko (1): generator: c.ml - wrap non deamon function with recursive mutex generator/c.ml |...
2014 May 16
2
Re: [PATCH] generator: c.ml - wrap non deamon function with recursive mutex
On Thu, May 15, 2014 at 05:39:08PM +0200, mzatko@redhat.com wrote: > + > + pr "gl_recursive_lock_define_initialized(static, global_lock)\n"; static? I suspect this only allows one libguestfs handle per process into the critical section at once. I think the lock needs to be per-handle unless I'm misunderstanding what this i...
2014 Oct 31
6
[PATCH 0/3] WIP readline escaping functions
From: Maros Zatko <hacxman@gmail.com> Auxiliary functions for readline to support space character escaping in filenames in future. Escaping function is taken from fish.c (used to be parse_quoted_string) plus its un-escaping counterpart. There are a few tests for both. Maros Zatko (3): fish: rl.{c,h} - escaping functions for readline fish: basic tests for readline escaping autotools:
2014 Nov 07
3
[PATCH 0/3] v2 readline escaping functions
From: Maros Zatko <mzatko@redhat.com> Helper functions for future support of backslash escaped spaces in filenames. There are a few tests too. Changed according to review remarks. Maros Zatko (3): fish: rl.{c, h} - escaping functions for readline fish: basic tests for readline escaping autotools: add fish/test...
2014 Oct 31
0
[PATCH 2/3] fish: basic tests for readline escaping
From: Maros Zatko <mzatko@redhat.com> --- fish/test/Makefile.am | 39 ++++++++++++++++ fish/test/testquoting.c | 120 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 159 insertions(+) create mode 100644 fish/test/Makefile.am create mode 100644 fish/test/testquoting.c diff --git a/fish/test/Makef...
2014 Oct 31
0
[PATCH 1/3] fish: rl.{c, h} - escaping functions for readline
From: Maros Zatko <mzatko@redhat.com> --- fish/rl.c | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ fish/rl.h | 32 +++++++++++++ 2 files changed, 190 insertions(+) create mode 100644 fish/rl.c create mode 100644 fish/rl.h diff --git a/fish/rl.c b/fish/rl.c new file mode 100644 index 0000000.....
2014 Feb 12
61
P2V: Headless support
This introduces support to run P2V without X server. Runtime parameters are specified via kernel command line making it hopefully suitable for automated migration with a little help of PXE boot. Patchset is not squashed and represents dev. history.
2015 May 20
0
[PATCH v3 1/3] virt-ls: support drive letters on Windows
Directory name can include Windows drive letter if guest is Windows and inspection is enabled (i.e. option -m is not given). Fixes: RHBZ#845234 --- cat/ls.c | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/cat/ls.c b/cat/ls.c index 9161fb6..1a164b3 100644 --- a/cat/ls.c +++ b/cat/ls.c @@ -37,6 +37,7 @@ #include "options.h"
2016 Feb 16
0
[PATCH] fish: reset the console on ^Z RHBZ#1213844
Patch registers SIGTSTP hook where it sends reset terminal color control sequence. --- fish/fish.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/fish/fish.c b/fish/fish.c index d26f8b3..b579898 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -73,6 +73,11 @@ static void cleanup_readline (void); static char *decode_ps1 (const char
2016 May 24
2
[PATCH] utils: make guestfs_int_count_strings return 0 on NULL input
This miniature patch makes function guestfs_int_count_strings accept NULL input and return 0 signalling that it is empty list. It makes it more usefull with NULL initialized variables and a tiny bit more robust. Maros Zatko (1): utils: make guestfs_int_count_strings return 0 on NULL input src/utils.c | 3 +++ 1 file changed, 3 insertions(+) -- 2.5.5
2016 May 24
0
[PATCH] utils: make guestfs_int_count_strings return 0 on NULL input
Make guestfs_int_count_strings a bit more robust and usefull with NULL initialized variables. --- src/utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils.c b/src/utils.c index f099a22..3639e92 100644 --- a/src/utils.c +++ b/src/utils.c @@ -55,6 +55,9 @@ guestfs_int_count_strings (char *const *argv) { size_t r; + if (argv == NULL) + return 0; + for (r = 0;
2014 Jan 29
0
p2v.spec.PL copyright
Hi all, I was adding/correcting some of the copyright and license notices in virt-v2v, and I come across gem-virt-p2v.spec.PL [1] which doesn't have any license; there's only copyright notice. Since I did some modifications there it needs to be corrected. Let's resolve it somehow. yours, - maros [1] - https://git.fedorahosted.org/cgit/virt-v2v.git/tree/rubygem-virt-p2v.spec.PL
2014 Sep 04
2
Autotools help needed
Hi folks! I'm trying to convince autotools to allow me to include fish.c in a C file containing a bunch of unit tests. In order to do that I need to convince it add include path (-I../) to gcc for that particular file (test-quoting.c originally, but dash seems to make troubles as well). I came up with this (snippet from Makefile.am): bin_TESTS = testquoting testquoting_CFLAGS = -I../
2014 Sep 05
2
Re: Autotools help needed
On 09/04/2014 06:49 PM, Pino Toscano wrote: > On Thursday 04 September 2014 18:06:05 Maros Zatko wrote: >> I'm trying to convince autotools to allow me to include fish.c in a C >> file containing a bunch of unit tests. In order to do that I need to >> convince it add include path (-I../) to gcc for that particular file >> (test-quoting.c originally, but dash seems to
2015 Jan 23
0
[PATCH] virt-copy, virt-tar: show help for -h
--- fish/virt-copy-in | 13 ++++++++++++- fish/virt-copy-out | 13 ++++++++++++- fish/virt-tar-in | 13 ++++++++++++- fish/virt-tar-out | 13 ++++++++++++- 4 files changed, 48 insertions(+), 4 deletions(-) diff --git a/fish/virt-copy-in b/fish/virt-copy-in index 76ff57f..97a47da 100755 --- a/fish/virt-copy-in +++ b/fish/virt-copy-in @@ -16,4 +16,15 @@ # along with this program; if not,
2015 Feb 13
2
[PATCH] inspector: add ReactOS systemroot
After adding /reactos as windows systemroot, virt-inspector identified OS as windows with product name ReactOS. Fixes RHBZ#709326. Related bug RHBZ#709327 seems to be already fixed in ReactOS 0.4. Maros Zatko (1): inspector: add /reactos as systemroot src/inspect-fs-windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.3
2015 Feb 13
0
[PATCH] inspector: add /reactos as systemroot
Fixes RHBZ#709326 Related bug RHBZ#709327 seems to be already fixed in ReactOS 0.4. --- src/inspect-fs-windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspect-fs-windows.c b/src/inspect-fs-windows.c index 421a5b1..7f0f13d 100644 --- a/src/inspect-fs-windows.c +++ b/src/inspect-fs-windows.c @@ -107,7 +107,7 @@ guestfs___get_windows_systemroot (guestfs_h *g) {
2015 Mar 05
1
[PATCH] add --truncate to virt-customize
Fixes RHBZ#119673. Maros Zatko (1): customize: add --truncate option (RHBZ#119673) builder/cmdline.ml | 2 +- customize/customize_run.ml | 4 ++++ generator/customize.ml | 9 +++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) -- 1.9.3
2015 Mar 05
0
[PATCH] customize: add --truncate-recursive option
Allows user to recursively truncate files in PATH. e.g.: virt-builder --truncate-recursive /var/log Relates to RHBZ#119673 --- builder/cmdline.ml | 3 ++- customize/customize_run.ml | 6 ++++++ generator/customize.ml | 8 ++++++++ 3 files changed, 16 insertions(+), 1 deletion(-) diff --git a/builder/cmdline.ml b/builder/cmdline.ml index b7e7e07..debc789 100644 ---
2015 Feb 06
0
[PATCH v3] virt-copy, virt-tar: show help for -h
--- fish/virt-copy-in | 9 +++++++++ fish/virt-copy-out | 9 +++++++++ fish/virt-tar-in | 9 +++++++++ fish/virt-tar-out | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/fish/virt-copy-in b/fish/virt-copy-in index 76ff57f..850f382 100755 --- a/fish/virt-copy-in +++ b/fish/virt-copy-in @@ -16,4 +16,13 @@ # along with this program; if not, write to the Free Software #