Displaying 20 results from an estimated 10000 matches similar to: "script/plugin update [plugin_name] broken?"
2018 Jan 17
2
Re: [PATCH 4/9] backend: Add a .plugin_name method.
On 01/17/2018 02:53 PM, Richard W.M. Jones wrote:
> This returns the plugin name, which for plugins is the same as the
> ordinary .name method (but for filters will be different).
> ---
Just as .name and .plugin_name can differ for filters, should we also
have a way to report independent version numbers (via .version) for the
filter, compared to the version of the underlying plugin (via
2018 Aug 01
0
[PATCH v2 nbdkit 2/6] filters: Fix filter.plugin_name method so it returns the name of the plugin.
This function was completely bogus, the effect being that the
threadlocal name was always set to the name of the second filter.
Also fixes an adjacent comment.
---
src/filters.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/filters.c b/src/filters.c
index 67f06d6..b68afab 100644
--- a/src/filters.c
+++ b/src/filters.c
@@ -103,15 +103,15 @@ filter_thread_model
2018 Jan 17
0
[PATCH 4/9] backend: Add a .plugin_name method.
This returns the plugin name, which for plugins is the same as the
ordinary .name method (but for filters will be different).
---
src/connections.c | 4 ++--
src/internal.h | 1 +
src/plugins.c | 1 +
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/connections.c b/src/connections.c
index 921a5b2..e1ac543 100644
--- a/src/connections.c
+++ b/src/connections.c
@@ -221,7
2006 Jun 20
2
habtm, multi select, and validation
Greetings -
I''m trying to find the most efficient, "Rails" way to solve the
following problem. It''s in two parts, but I think the solution is
somewhat related:
I have Recipe and Category model related by HABTM. I would like to
1.) Validate the *number* of categories associated with a recipe, say a
minimum of 1 and a max of 3. (So validates_associated will not
2018 Jan 18
0
Re: [PATCH 4/9] backend: Add a .plugin_name method.
On Wed, Jan 17, 2018 at 04:14:56PM -0600, Eric Blake wrote:
> On 01/17/2018 02:53 PM, Richard W.M. Jones wrote:
> > This returns the plugin name, which for plugins is the same as the
> > ordinary .name method (but for filters will be different).
> > ---
>
> Just as .name and .plugin_name can differ for filters, should we also
> have a way to report independent
2019 Sep 20
4
Re: [PATCH v4 07/12] v2v: nbdkit: Add the readahead filter unconditionally if it is available.
On Fri, Sep 20, 2019 at 10:28:18AM +0100, Richard W.M. Jones wrote:
>The readahead filter is a self-configuring filter that makes
>sequential reads faster when the plugin is slow (and all of the
>plugins we use here are always slow).
>
>I observed the behaviour of the readahead filter with our qcow2
>overlay when converting a guest from a vCenter source. Even when
>doing
2020 Jan 20
2
[PATCH] nbdkit: fix condition in probe_filter
The tests assume probe_filter returns true if the filter is available
(and not the other way around).
Signed-off-by: Tomáš Golembiovský <tgolembi@redhat.com>
---
v2v/nbdkit.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v2v/nbdkit.ml b/v2v/nbdkit.ml
index 77d2a506..00122bec 100644
--- a/v2v/nbdkit.ml
+++ b/v2v/nbdkit.ml
@@ -142,7 +142,7 @@ let common_create
2006 Jun 24
6
apache2 on red hat linux need help anyone
I''ve poured over many docs online and thought it would be wonderful to
get RoR running in 15 minutes. Well after 15 hours, I''m completely
stuck and ready to give up on RoR. I''m hoping somebody can give me
some guidance. I''ve pulled out my hair and am bald like others who
have tried to get RoR running without any luck.
When I run
2017 Nov 17
7
[nbdkit PATCH 0/4] thread-safety issues prior to parallel handling
These patches should be ready to go in now; I will also post my
work-in-progress for enabling full parallel handling that depends
on these, but with that series, I was still getting crashes or
hangs with test-socket-activation (I think I've nailed all the
crashes I've seen, but the hang is rather insidious; see my other
email
2018 Jan 16
1
Re: [PATCH nbdkit 1/3] plugins: Move locking to a new file.
On 01/16/2018 08:11 AM, Richard W.M. Jones wrote:
> Mostly code motion.
> ---
> src/Makefile.am | 1 +
> src/connections.c | 14 +++----
> src/internal.h | 14 ++++---
> src/locks.c | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> src/plugins.c | 77 +++++-------------------------------
> 5 files changed, 142 insertions(+), 79
2019 Nov 14
1
[PATCH v2v v2] nbdkit: Use cacheextents if possible for vddk input
It does not need configuring and speeds up the process of requesting extents if
the client asks for them one by one (like qemu-img).
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
---
Essentially a v2 of the following patch since now there is a probing function:
https://www.redhat.com/archives/libguestfs/2019-September/msg00249.html
v2v/nbdkit.ml | 7 +++++++
1 file changed, 7
2019 Sep 20
0
[PATCH v4 07/12] v2v: nbdkit: Add the readahead filter unconditionally if it is available.
The readahead filter is a self-configuring filter that makes
sequential reads faster when the plugin is slow (and all of the
plugins we use here are always slow).
I observed the behaviour of the readahead filter with our qcow2
overlay when converting a guest from a vCenter source. Even when
doing random reads, qemu issues 64K reads which happen to also be the
minimum request size of the
2017 Nov 17
1
Re: [nbdkit PATCH 2/4] threadlocal: Copy thread name
On 11/16/2017 09:13 PM, Eric Blake wrote:
> We can't guarantee what storage duration the caller's request
> for a thread name has; and in fact, if the caller uses
> plugin_name() for their thread name, then the moment .unload
> is called, our threadlocal storage is pointing to la-la-land
> and we get a nice SEGV while trying to print any debug message.
> So copy the
2006 Apr 20
8
SCM for a Rails project - Darcs or Subversion?
Hi everyone.
I''m choosing an SCM for my current Rails project.
Up until now, for my other (non-Rails) codings, I used Darcs and liked
it very much. I''d prefer to use Darcs for my Rails development as
well. Looking into the matter, I''m somewhat deterred by the appearant
dominance of Subversion as the SCM tool of choice for Rails hackers.
Is there a technical reason for
2020 Feb 20
0
buffer overflow detected in collectd using libguestfs
We have extended collectd virt plugin to extract info about disk usage from
a libvirt domain using libguestfs.
We have had several issues with it which were raised here in 2018 by Peter
Dimitrov.
Currently the collectd plugin works fine and retrieves the required
statistics. Current collectd configuration says that interval of reading
statistics (interval of calling all plugins read functions) is
2007 Jun 15
5
Looking for plugin docs
Hello all,
I had gone through the wiki, but could not find any page about writing
new plugins. Any pointers towards plugin api/docs will be very
helpful.
with warm regards,
raj
2010 Aug 01
2
error 89 when loading plugin
Hi,
I'm very confused - that's not too difficult for me.
I have written a small plugin change_passwd_plugin.c
I would like this custom IMAP command to be available to all users.
The code contains the following.
void change_passwd_plugin_init(void)
{
command_register("XCHANGEPASSWORD", cmd_xchangepasswd, 0);
str_append(capability_string, " XCHANGEPASSWORD");
2019 Sep 20
15
[PATCH v4 00/12] v2v: Change virt-v2v to use nbdkit for input in several modes.
v3 posted here:
https://www.redhat.com/archives/libguestfs/2019-July/msg00200.html
v4:
- The first patch in the v3 series was just a trivial doc whitespace
fix so I pushed it.
- There's a new patch using the nbdkit-retry-filter. This is not
actually upstream in nbdkit but we know enough about how it will
work.
- Rebased against master and reran the tests.
Rich.
2019 Apr 08
12
[PATCH 00/11] v2v: Change virt-v2v to use nbdkit for input in several modes.
This series (except the last one) changes virt-v2v to use nbdkit for
several input modes:
-i vmx -it vddk: No change in functionality, as this already uses
nbdkit-vddk-plugin, but the code is refactored for the other modes to
use.
-i libvirtxml: Use nbdkit-curl-plugin instead of qemu curl.
vCenter: Use nbdkit-curl-plugin instead of qemu curl.
xen: Use nbdkit-ssh-plugin instead of qemu
2019 Aug 30
0
[nbdkit PATCH 2/9] server: Consolidate common backend tasks into new backend.c
Both plugin.c and filter.c add the same three fields on top of struct
backend, and use very similar code in initializing them. Let's stop
the duplication, by moving those three fields into struct backend, and
creating a new backend.c for manipulating them. In turn, we can drop
the backend->name() accessor in favor of just directly accessing the
name field. This is a net reduction in