search for: not_impl

Displaying 20 results from an estimated 24 matches for "not_impl".

2011 Mar 03
1
[PATCH] Fix inspection code when PCRE or hivex is missing.
...nspect.c | 24 ++++++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/src/inspect.c b/src/inspect.c index ac2050c..4986cac 100644 --- a/src/inspect.c +++ b/src/inspect.c @@ -2858,6 +2858,30 @@ guestfs__inspect_list_applications (guestfs_h *g, const char *root) NOT_IMPL(NULL); } +char * +guestfs__inspect_get_format (guestfs_h *g, const char *root) +{ + NOT_IMPL(NULL); +} + +int +guestfs__inspect_is_live (guestfs_h *g, const char *root) +{ + NOT_IMPL(-1); +} + +int +guestfs__inspect_is_netinst (guestfs_h *g, const char *root) +{ + NOT_IMPL(-1); +} + +int +gue...
2012 Aug 29
5
[PATCH 0/4] Add hivex APIs into the libguestfs API (RHBZ#852394)
This adds most of the hivex APIs directly to the libguestfs API, so that you can read and write Windows Registry hive files from libguestfs without needing to download and upload hive files from the guest. This is analogous to how Augeas APIs are exposed already (guestfs_aug_*) Also, inspection is now done using the new APIs, which fixes the following bug:
2012 Oct 13
0
[PATCH] New APIs: Model libvirt authentication events through the API.
...t + * that the cred field will be \0 terminated. To avoid surprises, + * add a \0 at the end. + */ + g->requested_credentials[i].result[cred_size] = 0; + g->requested_credentials[i].resultlen = cred_size; + return 0; +} + +#else /* no libvirt or libxml2 at compile time */ + +#define NOT_IMPL(r) \ + error (g, _("libvirt authentication APIs not available since this version of libguestfs was compiled without libvirt or libxml2")); \ + return r + +int +guestfs__set_libvirt_supported_credentials (guestfs_h *g, char *const *cred...
2017 Feb 27
1
[PATCH] lib: Require libmagic.
...EANUP_MAGIC_T_FREE __attribute__((cleanup(cleanup_magic_t_free))) @@ -364,19 +360,3 @@ guestfs_impl_file_architecture (guestfs_h *g, const char *path) return ret; /* caller frees */ } - -#else /* no libmagic at compile time */ - -/* XXX Should be an optgroup. */ - -#define NOT_IMPL(r) \ - error (g, _("file-architecture API not available since this version of libguestfs was compiled without the libmagic library")); \ - return r - -char * -guestfs_impl_file_architecture (guestfs_h *g, const char *path) -{ - NOT_IM...
2018 Apr 19
3
Samba AD - Join MAC
Hello Community, im joining several macintosh workstations to my samba AD. First of all, it works pretty well and im able to authenticate/login my AD user on a mac. Server: Ubuntu 16.04 SAMBA: 4.7.7 First: Everytime when a mac starts up, some log entries are shown in log.samba. Looks like (Its not a flood, about 4 messages for each client): [2018/04/19 14:35:04.645001, 0]
2007 Jun 27
0
Branch 'as' - 16 commits - configure.ac libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_frame.c libswfdec/swfdec_as_frame.h libswfdec/swfdec_as_function.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_script_function.c
...in Street, Fifth Floor, - * Boston, MA 02110-1301 USA - */ - -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - -#include "swfdec_js.h" -#include "swfdec_debug.h" -#include "swfdec_movie.h" -#include "swfdec_player_internal.h" - -static JSBool -not_implemented (JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval) -{ - SWFDEC_WARNING ("FIXME: implement this sound function"); - return JS_TRUE; -} - -static JSFunctionSpec sound_methods[] = { - { "attachSound", not_implemented, 1, 0, 0 }, - { "getPan&quot...
2012 Jan 04
0
[LLVMdev] exposing container-specific features in the Object library
...mmand) to do its work. When working on RuntimeDyldELF, I encountered some cases of Elf information I need which wasn't exposed through the ObjectFile interface. Adding additional getters to that interface requires to implement them in COFF and MachO object files as well (perhaps returning "not_implemented" error codes). So, I'm wondering whether the right approach here is to keep everything behind the ObjectFile interface, or just expose some ELF specific structures via a header file and use those? After all, this is in code that is specifically meant to handle ELF files, so it make...
2018 Apr 19
0
Samba AD - Join MAC
...: >         case DNS_QTYPE_SRV: >         case DNS_QTYPE_TXT: >                 break; >         default: >                 DEBUG(0, ("Can't handle updates of type %u yet\n", >                           update->rr_type)); >                 return DNS_ERR(NOT_IMPLEMENTED); >         } > > Google searching DNS type 255 (RFC 1035) states it's "A > request for all > records". You could run a trace and see what application is > requesting > this record type. > > As far as the cpu usage. I do not know. > > --...
2005 Jan 09
0
isolinux 3.xx bug very maybe?
...ing, 1 is failing. Both use the Isolinux bootloader, also used on many Linux distribution cdroms / DVDs. However the working one has version 2.xx, failing one has version 3.05 Boot from cdrom, then select option 1, and you should see the following: VMware Workstation unrecoverable error: (vcpu-0) NOT_IMPLEMENTED C:/ob/bora-11888/bora/devices/misc/flashram.c:502 A log file is available in "C:\Documents and Settings\me\Mijn documenten\My Virtual Machines\MS-DOS 12\vmware.log". A core file is available in "C:\Documents and Settings\Bernd\Application Data\VMware\vmware-vmx-9704.dmp"....
2012 Mar 19
0
[PATCH] inspection: Set last errno to ENOTSUP when inspection APIs are not available.
...anged, 1 insertions(+), 1 deletions(-) diff --git a/src/inspect.c b/src/inspect.c index 60c7dd4..117f57a 100644 --- a/src/inspect.c +++ b/src/inspect.c @@ -542,7 +542,7 @@ guestfs__inspect_get_hostname (guestfs_h *g, const char *root) /* XXX These functions should be in an optgroup. */ #define NOT_IMPL(r) \ - error (g, _("inspection API not available since this version of libguestfs was compiled without the hivex library")); \ + guestfs_error_errno (g, ENOTSUP, _("inspection API not available since this version of libguestfs was...
2016 Feb 19
2
FSMO DC giving curious log output
Hello! I’m seeing the following log entries in /var/log/syslog on my FSMO (Ubuntu 14.04.3 LTS / Samba 4.3.4): Feb 19 09:56:48 dc00 samba[4552]: [2016/02/19 09:56:48.527183, 0] ../source4/dns_server/dns_update.c:426(handle_one_update) Feb 19 09:56:48 dc00 samba[4552]: Can't handle updates of type 255 yet Feb 19 09:56:48 dc00 samba[4552]: [2016/02/19 09:56:48.860255, 0]
2018 Apr 19
1
Samba AD - Join MAC
..._SRV: >> case DNS_QTYPE_TXT: >> break; >> default: >> DEBUG(0, ("Can't handle updates of type %u yet\n", >> update->rr_type)); >> return DNS_ERR(NOT_IMPLEMENTED); >> } >> >> Google searching DNS type 255 (RFC 1035) states it's "A >> request for all >> records". You could run a trace and see what application is >> requesting >> this record type. >> >> As far as the cpu usag...
2016 Sep 22
1
[PATCH v2] libvirt: read disk paths from pools (RHBZ#1366049)
...get the filename of the libvirt volume '%s': %s"), + volume_name, err->message); + goto cleanup; + } + + cleanup: + if (vol) virStorageVolFree (vol); + if (pool) virStoragePoolFree (pool); + + return filename; +} + #else /* no libvirt at compile time */ #define NOT_IMPL(r) \ diff --git a/tests/disks/test-qemu-drive-libvirt.sh b/tests/disks/test-qemu-drive-libvirt.sh index 215a99e..b2656ba 100755 --- a/tests/disks/test-qemu-drive-libvirt.sh +++ b/tests/disks/test-qemu-drive-libvirt.sh @@ -47,6 +47,12 @@ export LIB...
2012 Jul 21
8
[PATCH libguestfs 0/4] Add a libvirt backend to libguestfs.
This preliminary patch series adds a libvirt backend to libguestfs. It's for review only because although it launches the guest OK, there are some missing features that need to be implemented. The meat of the patch is in part 4/4. To save you the trouble of interpreting libxml2 fragments, an example of the generated XML and the corresponding qemu command line are attached below. Note the
2012 Oct 08
3
[PATCH v3 0/3] Add support for disk labels and hotplugging.
This is, I guess, version 3 of this patch series which adds disk labels and hotplugging (only hot-add implemented so far). The good news is .. it works! Rich.
2013 Feb 28
7
[PATCH 0/7] Fix SELinux security contexts so we can access shared disks (RHBZ#912499).
https://bugzilla.redhat.com/show_bug.cgi?id=912499 (especially comments 7 & 10) This patch set is the final fix so that we can access disks in use by other guests when SELinux and sVirt are enabled. Previously such disks were inaccessible because sVirt labels the disks with a random SELinux label to prevent other instances of qemu from being able to read them. So naturally the libguestfs
2016 Sep 20
1
[PATCH] libvirt: read disk paths from pools (RHBZ#1366049)
...get the filename of the libvirt volume '%s': %s"), + volume_name, err->message); + goto cleanup; + } + + cleanup: + if (vol) virStorageVolFree (vol); + if (pool) virStoragePoolFree (pool); + + return filename; +} + #else /* no libvirt at compile time */ #define NOT_IMPL(r) \ -- 2.7.4
2012 Oct 08
5
[PATCH v4 0/5] Finish hotplugging support.
This rounds off hotplugging support by allowing you to add and remove drives at any stage (before and after launch). Rich.
2016 Nov 16
3
[PATCH 1/2] libvirt: un-duplicate XPath code
...l->nodeTab[0]); + assert (obj->nodesetval->nodeTab[0]->type == XML_ATTRIBUTE_NODE); + attr = (xmlAttrPtr) obj->nodesetval->nodeTab[0]; + value = (char *) xmlNodeListGetString (doc, attr->children, 1); + + return value; +} + #else /* no libvirt at compile time */ #define NOT_IMPL(r) \ -- 2.7.4
2020 Feb 11
2
[PATCH v2] lib: add support for disks with 4096 bytes sector size
...ttr = (xmlAttrPtr) obj->nodesetval->nodeTab[0]; + str = (char *) xmlNodeListGetString (doc, attr->children, 1); + + if (sscanf (str, "%d", &value) != 1) + value = 0; /* ignore any parsing error */ + + return value; +} + #else /* no libvirt at compile time */ #define NOT_IMPL(r) \ diff --git a/tests/disks/Makefile.am b/tests/disks/Makefile.am index 779871aff..bdbcccf5e 100644 --- a/tests/disks/Makefile.am +++ b/tests/disks/Makefile.am @@ -25,13 +25,15 @@ TESTS = \ if HAVE_LIBVIRT TESTS += \ - test-qemu-drive-libvir...