similar to: [PATCH] Clarify the error message when unavailable functions are called (RHBZ#679737).

Displaying 20 results from an estimated 1000 matches similar to: "[PATCH] Clarify the error message when unavailable functions are called (RHBZ#679737)."

2015 Jan 15
1
[PATCH] mknod: filter modes in mkfifo, mknod_b, mknod_c (RHBZ#1182463).
Since mkfifo, mknod_b, and mknod_c add the correct file type to the modes of the resulting file, make sure the specified mode contains only permissions bits. --- daemon/mknod.c | 15 +++++++++++++++ generator/actions.ml | 21 ++++++++++++++++++--- 2 files changed, 33 insertions(+), 3 deletions(-) diff --git a/daemon/mknod.c b/daemon/mknod.c index 7f71210..9af8701 100644 ---
2009 Aug 12
23
[PATCH 0/23] factor and const-correctness
This started as a simple warning-elimination change. I'll get back to that series shortly ;-) It turned into a factorization and constification exercise during which I got a taste of ocaml. Thanks to Rich Jones for help with a few snippets in generator.ml. The overall result is that many previously-manually-maintained bits from daemon/*.c functions are now hoisted into the automatically-
2006 Apr 27
3
XML output
Hi, Sorry abt the half finished post that I sent out earlier. The idea is to generate an output xml response as such: <?xml version="1.0" encoding="ISO-8859-1" ?> <response status=''NOT_AVAILABLE''> <message>Some text</message> <from>Me</from> </response> I make a request like such
2012 Jan 12
1
Libguestfs gobject bindings
I'm currently working on gobject bindings for libguestfs. I haven't got as far as compiling anything yet, but I've attached the C header for initial review. Matt -- Matthew Booth, RHCA, RHCSS Red Hat Engineering, Virtualisation Team GPG ID: D33C3490 GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490 -------------- next part -------------- An embedded and
2014 Jan 14
0
[PATCH] builder, edit, fish: use copy-attributes
Make use of the new copy-attributes command to properly copy all file attributes from a file to the new version of it. --- builder/perl_edit.ml | 29 +--------------------------- edit/edit.c | 49 ++--------------------------------------------- fish/edit.c | 54 ++-------------------------------------------------- 3 files changed, 5 insertions(+), 127 deletions(-) diff --git
2017 Apr 21
0
[PATCH 1/2] generator: Simplify the handling of string parameters.
Previously we had lots of types like String, Device, StringList, DeviceList, etc. where Device was just a String with magical properties (but only inside the daemon), and DeviceList was just a list of Device strings. Replace these with some simple top-level types: String StringList and move the magic into a subtype. The change is mechanical, for example: old
2016 Feb 27
3
Re: [PATCH] added ntfscat_i api
On 27/02/16 11:23, Richard W.M. Jones wrote: > [...] >>>> md_create: feature 'mdadm' is not available in this >>>> build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man page for >>>> how to check for the availability of features. at /home/noxdafox/development/libguestfs/test-data/phony-guests/make-fedora-img.pl >>>> line
2015 Dec 14
0
Re: unknown/unavailable method for expanding the ntfs filesystem
[Please keep replies on the list!] On Mon, Dec 14, 2015 at 10:46:00AM +0800, Jeffrey wrote: > > > libguestfs-winsupport-7.1-4.el7.x86_64 doesn't work for me either. :( > > > >./run guestfish -a /dev/null run : supported > acl yes > augeas yes > blkdiscard yes > blkdiscardzeroes yes > btrfs yes >
2017 Apr 21
4
[PATCH 0/2] generator: Simplify the handling of string parameters.
Very large but mechanical change to the generator. Rich.
2017 Feb 21
1
[PATCH] generator: Put all the daemon procedure numbers (proc_nr)
This is a follow-up to the other generator changes in: https://www.redhat.com/archives/libguestfs/2017-February/msg00217.html Rich.
2015 Oct 20
0
[PATCH 2/2] actions: turn some params into RelativePathnameList (RHBZ#1174551).
Use RelativePathnameList as type for lists of relative paths, as used in some listing-alike APIs. This way we can ensure absolute paths in those lists are rejects outright. As a consequence, test-big-dirs.pl does not need to prepend the directory name anymore before calling listing-alike APIs: previously they didn't fail, but the returned lists contained only invalid elements (and only their
2014 Jan 10
0
Re: RFC: copy-attributes command
On Fri, Jan 10, 2014 at 02:17:48PM +0100, Pino Toscano wrote: > > This code looks as if it will copy the xattrs, but it won't > > remove any which don't exist in the source. eg: > > > > source xattrs before: > > user.foo = 1 > > dest xattrs before: > > user.bar = 2 > > dest xattrs after: > > user.foo = 1 > >
2015 Dec 13
3
unknown/unavailable method for expanding the ntfs filesystem
Hello,everyone I ran virt-resize(v1.30.4) on my CentOS 7.1 to resize win2008r2 and got the warning message (virt-resize: warning: unknown/unavailable method for expanding the ntfs filesystem on /dev/sda2): >/usr/local/libguestfs-1.30.4/run virt-resize --expand /dev/sda2 /images/win2008_src.raw /dev/vg0/win2008_resize_dst [ 0.0] Examining
2013 Jan 03
0
redhat 6.2 "libguestfs" for help
On Mon, Dec 31, 2012 at 09:56:51AM +0800, Aiping Liu wrote: > Dear Mr rjones, > My name is aiping.liu ,nice to meet you. I am from china. > Yesterday,i am build a libguestfs package with the OS > RHEL6.2(32bit),like this : rpmbuild -ba libguestfs.spec .I use a common > user.But then i get some errors follow: > ........................... > +
2016 Feb 27
2
Re: [PATCH] added ntfscat_i api
On 27/02/16 01:05, Richard W.M. Jones wrote: > On Sat, Feb 27, 2016 at 12:53:51AM +0200, noxdafox wrote: >> On 26/02/16 10:12, Richard W.M. Jones wrote: >>> On Fri, Feb 26, 2016 at 12:16:22AM +0200, noxdafox wrote: >>>> According to autogen.sh output Perl bindings and virt tools seem to >>>> be missing, could it be related to this? Are the tests relying to
2020 Mar 09
4
[PATCH v3 0/3] Switch augeas APIs to OCaml
This reimplements the augeas APIs using ocaml-augeas (dropping all the C code). The behaviour seems unchanged, although I may have not tested all the various corner cases. Changes from v2: - dropped patch #1, as it was applied already (was a real bugfix) - rebased on master Pino Toscano (3): Revert "Revert "daemon: implement OptString for OCaml APIs"" daemon: move augeas
2020 Jan 09
5
[PATCH v2 0/4] Switch augeas APIs to OCaml
This reimplements the augeas APIs using ocaml-augeas (dropping all the C code). The behaviour seems unchanged, although I may have not tested all the various corner cases. Pino Toscano (4): daemon: fix/enhance error reporting of Augeas exceptions Revert "Revert "daemon: implement OptString for OCaml APIs"" daemon: move augeas APIs to OCaml daemon: drop usage of C
2017 Feb 18
8
[PATCH 0/6] generator: Split up generator/actions.ml
Split up the huge generator/actions.ml into several smaller files. Rich.
2014 Jan 13
0
[PATCH] New API: copy-attributes.
This allows one to copy attributes (like permissions, xattrs, ownership) from a file to another. --- daemon/daemon.h | 3 + daemon/file.c | 72 ++++++++++++++++++++++ daemon/xattr.c | 69 +++++++++++++++++++++ fish/Makefile.am | 1 + fish/test-file-attrs.sh | 157 ++++++++++++++++++++++++++++++++++++++++++++++++ generator/actions.ml | 38 ++++++++++++
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
guestfsd calls many different tools. Keeping track of all of them is error prone. This patch introduces a new helper macro to put the command string into its own ELF section: GUESTFSD_EXT_CMD(C_variable, command_name); This syntax makes it still possible to grep for used command names. The actual usage of the collected list could be like this: objcopy -j .guestfsd_ext_cmds -O binary