Displaying 20 results from an estimated 61605 matches for "handle".
2020 Feb 12
0
[PATCH nbdkit 2/3] server: Rename ‘struct b_conn_handle’ to plain ‘struct handle’.
Also add an inline accessor function (get_handle).
This also removes the unused function connection_get_handle.
---
server/internal.h | 24 ++++++++++++++++-----
server/backend.c | 50 ++++++++++++++++++++++----------------------
server/connections.c | 11 +---------
3 files changed, 45 insertions(+), 40 deletions(-)
diff --git a/server...
2020 Aug 06
5
[PATCH nbdkit NOT WORKING 0/2] vddk: Relax threading model.
I believe this roughly implements Nir's proposal here:
https://www.redhat.com/archives/libguestfs/2020-August/msg00028.html
Unfortunately it doesn't work for me. It actually slows things down
quite a lot, for reasons I don't understand. Note the adjustment of
the pool-max parameter and how it affects the total time. The results
are quite reproducible.
$ ./nbdkit -r -U - vddk
2005 Mar 21
0
Comport access error
...:DSDB_MapBuffer Use: "HardwareAcceleration" =
"Emulation" in th
e [dsound] section of your config file.
fixme:opengl:wglSwapIntervalEXT (0),stub!
fixme:comm:SetupComm insize 1024 outsize 1024
unimplemented stub
trace:comm:SetCommTimeouts (0xc8,0x4069f964)
trace:comm:GetCommState handle 0xc8, ptr 0x4069f978
trace:comm:GetCommState OK
trace:comm:GetCommState bytesize 8 baudrate 38400
fParity 0 Parity 0 st
opbits 1
trace:comm:GetCommState IXON ~IXOFF
trace:comm:GetCommState fOutxCtsFlow 0 fRtsControl 1
trace:comm:GetCommState fOutxDsrFlow 0 fDtrControl1
trace:comm:GetCommState ~CRTS...
2005 Aug 08
1
Wine (latest) - Keyboard not functioning
...2.
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel
(0x7bd1a248)->(00010022,00000813)
3.
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP
from 32 to 16fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen
BPP from 32 to 16err:ddraw:set_render_state Unhandled dwRenderStateType
D3DRENDERSTATE_LINEPATTERN (0000000a) value : 00000000 !
4.
err:ddraw:set_render_state Unhandled dwRenderStateType
D3DRENDERSTATE_MONOENABLE (0000000b) value : 00000000 !
5.
err:ddraw:set_render_state Unhandled dwRenderStateType
D3DRENDERSTATE_ROP2 (0000000c)...
2002 Mar 06
1
Help - Samba 2.2.3a + Solaris 8 7/01 - 64 bit binaries
...4:58:58, 0] nmbd/nmbd.c:(63)
Got SIGTERM: going down...
$ more log.smbd
[2002/03/05 14:36:34, 0] smbd/server.c:(698)
smbd version 2.2.3a started.
Copyright Andrew Tridgell and the Samba Team 1992-2002
$
$ more log.jeeves
[2002/03/05 13:59:17, 1] smbd/ipc.c:(292)
api_fd_reply: INVALID PIPE HANDLE: 49
[2002/03/05 13:59:17, 1] smbd/ipc.c:(292)
api_fd_reply: INVALID PIPE HANDLE: 4a
[2002/03/05 13:59:17, 1] smbd/ipc.c:(292)
api_fd_reply: INVALID PIPE HANDLE: 4b
[2002/03/05 13:59:17, 1] smbd/ipc.c:(292)
api_fd_reply: INVALID PIPE HANDLE: 4c
[2002/03/05 13:59:17, 1] smbd/ipc.c:(292)
api_f...
2020 Aug 06
0
[PATCH nbdkit 2/2] vddk: Relax thread model to PARALLEL and implement a disk handle pool.
...rom file descriptor number C<FD>, inherited from
the parent process when nbdkit starts up. This is also a secure
method to supply a password.
+=item B<pool-max=>N
+
+To improve performance, for read-only connections (see I<-r> option)
+the plugin will open a pool of VixDiskLibHandle disk handles. You can
+use this option to control the maximum size of the pool. The default
+is 8. To disable this feature, set it to 0 or 1.
+
=item B<port=>PORT
The port on the VCenter/ESXi host. Defaults to 443.
diff --git a/plugins/vddk/vddk.c b/plugins/vddk/vddk.c
index 5926e181....
2018 Apr 11
0
[nbdkit PATCH v2 5/5] RFC: python: Track and cache per-connection state in C struct
Now that we have FUA support, the C code can call can_fua as
frequently as on every write. If the python script has a
can_fua, we can avoid doubling the calls into python by
caching the per-connection results, done by wrapping the
python handle in a C struct.
This commit is marked RFC because it might be nicer if the C
code implemented the caching for ALL plugins (TODO already
mentions that).
Signed-off-by: Eric Blake <eblake@redhat.com>
---
plugins/python/python.c | 83 ++++++++++++++++++++++++++++++-------------------
1 file ch...
2020 Feb 12
0
[PATCH nbdkit 3/3] server: filters: Remove struct b_h.
This was previously used as ‘nxdata’ and stored a tuple of ’b->next’
and the real filter handle. However after recent changes we don't
need it. We can use ‘b->next’ as nxdata, and the handle is passed to
us by the calling functions.
Inspired by Eric Blakes observations in this email:
https://www.redhat.com/archives/libguestfs/2020-February/msg00092.html
---
server/filters.c | 217 +...
2020 Feb 11
1
[nbdkit PATCH] filters: Make nxdata persistent
...that nxdata be stable for the entire
life of the connection between .open and .close. Our current approach
of creating a stack-allocated nxdata for every call does not play
nicely with that scheme, so rework things into using a malloc'd
pointer. In fact, if we use struct b_conn as our filter handle, and
merely add an additional field to track the user's handle, then we get
the long-term persistance we desire.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
docs/nbdkit-filter.pod | 7 +-
server/filters.c | 141 ++++++++++++++++++++++++++---------------
2 files changed, 96...
2020 Aug 06
3
Re: [PATCH nbdkit 2/2] vddk: Relax thread model to PARALLEL and implement a disk handle pool.
...,
> inherited from
> the parent process when nbdkit starts up. This is also a secure
> method to supply a password.
>
> +=item B<pool-max=>N
> +
> +To improve performance, for read-only connections (see I<-r> option)
> +the plugin will open a pool of VixDiskLibHandle disk handles. You can
> +use this option to control the maximum size of the pool. The default
> +is 8. To disable this feature, set it to 0 or 1.
> +
> =item B<port=>PORT
>
> The port on the VCenter/ESXi host. Defaults to 443.
> diff --git a/plugins/vddk/vddk.c b/pl...
2006 Jul 15
9
Wine, good, evil, and black and white 2
...e:powermgnt:GetSystemPowerStatus (): stub, harmless.
wine: Call from 0x611c68 to unimplemented function
kernel32.dll.HeapSetInformation, aborting
wine: Unimplemented function kernel32.dll.HeapSetInformation called at
address 0x611c68 (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: unimplemented function
kernel32.dll.HeapSetInformation called in 32-bit code (0x7ff98067).
fixme:dbghelp:elf_load_debug_info_from_map Alpha-support for Dwarf2
information for ntdll<elf>
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
EIP:7ff98067 ESP:7fc8fc4c EBP:...
2020 Feb 12
5
[PATCH nbdkit 1/3] server: Rename global backend pointer to "top".
...struct backend *top;
+#define for_each_backend(b) for (b = top; b != NULL; b = b->next)
/* quit.c */
extern volatile int quit;
diff --git a/server/connections.c b/server/connections.c
index a2049325..7e9584b3 100644
--- a/server/connections.c
+++ b/server/connections.c
@@ -146,23 +146,23 @@ handle_single_connection (int sockin, int sockout)
lock_connection ();
- if (backend->thread_model (backend) < NBDKIT_THREAD_MODEL_PARALLEL ||
+ if (top->thread_model (top) < NBDKIT_THREAD_MODEL_PARALLEL ||
nworkers == 1)
nworkers = 0;
conn = new_connection (sockin, soc...
2009 Apr 28
1
Troublesome Toad for MySQL on Wine
...ads]$ msiexec /i ToadforMySQLFreeware_410220.msi
fixme:advapi:LookupAccountNameW (null) L"user" (nil) 0x32f77c (nil) 0x32f780 0x32f774 - stub
fixme:advapi:LookupAccountNameW (null) L"user" 0x1315b8 0x32f77c 0x153ea0 0x32f780 0x32f774 - stub
err:msi:msi_dialog_create_controls no handler for element type L"Billboard"
fixme:msi:ACTION_HandleStandardAction unhandled standard action L"SetODBCFolders"
fixme:msi:msi_unimplemented_action_stub MsiUnpublishAssemblies -> 83 ignored L"MsiAssembly" table values
fixme:msi:msi_unimplemented_action_stub SelfUnre...
2005 Oct 27
4
Nest sortables?
Hello All,
I''m wondering if it''s possible to nest sortables:
<ul id="first">
<li>One</li>
<li>Two</li>
<li>
<ul id="second">
<li>Three</li>
</ul>
</li>
<li>Four</li>
</ul>
<script>
... create sortables out of
2018 Apr 19
1
Re: [nbdkit PATCH v2 5/5] RFC: python: Track and cache per-connection state in C struct
...12:03:42AM -0500, Eric Blake wrote:
> Now that we have FUA support, the C code can call can_fua as
> frequently as on every write. If the python script has a
> can_fua, we can avoid doubling the calls into python by
> caching the per-connection results, done by wrapping the
> python handle in a C struct.
>
> This commit is marked RFC because it might be nicer if the C
> code implemented the caching for ALL plugins (TODO already
> mentions that).
It's not very clear to me (and this applies to all can_* functions) if
it's OK to call them only once per connection....
2001 Nov 19
2
Wine Errors Revisited
...arn:dosfs:DOSFS_FindUnixName 'kernel32.dll' not found in '/home/tilleyrw'
warn:dosfs:DOSFS_FindUnixName 'kernel32.dll' not found in
'/home/tilleyrw/Cool2000'
warn:dosfs:DOSFS_FindUnixName 'kernel32.dll' not found in '/home/tilleyrw'
warn:int:INT_GetPMHandler int22 not implemented, returning dummy handler
warn:int:INT_GetPMHandler int23 not implemented, returning dummy handler
warn:int:INT_GetPMHandler int24 not implemented, returning dummy handler
warn:dosfs:DOSFS_FindUnixName 'gdi32.dll' not found in
'/home/tilleyrw/Cool2000'
warn:do...
2006 Jul 19
5
Problems with newest Wine versions (.16, .17)
...l_Release Releasing primary stateblock
fixme:ddraw:IDirectDrawImpl_SetCooperativeLevel (0x7d9d6208)->(0x10024,00000011)
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:IWineD3DDeviceImpl_SetRenderState (0x7fd9b220)->(WINED3DRS_MULTISAMPLEMASK,-1) not handled yet
fixme:d3d:IWineD3DDeviceImpl_SetRenderState (0x7fd9b220)->(WINED3DRS_PATCHEDGESTYLE,0) not handled yet
fixme:d3d:IWineD3DDeviceImpl_SetRenderState (0x7fd9b220)->(WINED3DRS_PATCHSEGMENTS,1065353216) not handled yet
fixme:d3d:IWineD3DDeviceImpl_SetRenderState (0x7fd9b220)->(WINED3DRS_DE...
2004 Feb 17
0
VFS module programmieren
...a.org>
Stefan Metzmacher
<metze@metzemix.de>
27 May 2003
Table of Contents
The Samba (Posix) VFS layer
The general interface
Possible VFS operation layers
The Interaction between the Samba VFS subsystem and the modules
Initialization and registration
How the Modules handle per connection data
Upgrading to the New VFS Interface
Upgrading from 2.2.* and 3.0aplha modules
Some Notes
Implement TRANSPARENT functions
Implement OPAQUE functions
The Samba (Posix) VFS layer
The general interface
Each VFS operation has a vfs_op_type, a function pointer and a han...
2020 Mar 19
5
[nbdkit PATCH 0/2] More caching of initial setup
When I added .can_FOO caching in 1.16, I missed the case that the sh
plugin itself was calling .can_flush twice in some situations (in
order to default .can_fua). Then right after, I regressed it to call
.can_zero twice (in order to default .can_fast_zero). I also missed
that .thread_model could use better caching, because at the time, I
did not add testsuite coverage. Fix that now.
Eric Blake
2020 Feb 11
0
[PATCH nbdkit 3/3] server: Remove explicit connection parameter, use TLS instead.
..._function) (const void *buf, size_t len,
int flags)
- __attribute__((__nonnull__ (1, 2)));
-typedef void (*connection_close_function) (struct connection *)
__attribute__((__nonnull__ (1)));
+typedef void (*connection_close_function) (void);
enum {
HANDLE_OPEN = 1, /* Set if .open passed, so .close is needed */
@@ -234,29 +231,22 @@ struct connection {
};
extern void handle_single_connection (int sockin, int sockout);
-extern int connection_get_status (struct connection *conn)
- __attribute__((__nonnull__ (1)));
-extern int connection_set_...