search for: 42,11

Displaying 20 results from an estimated 105 matches for "42,11".

Did you mean: 41,11
2007 Sep 20
2
Re: [PATCH] kexec/kdump: statically allocate xen_phys_cpus
...etup_load_arg > > static int __initdata xen_max_nr_phys_cpus; > static struct resource xen_hypervisor_res; > -static struct resource *xen_phys_cpus; > +static struct resource xen_phys_cpus[NR_CPUS]; > > void __init xen_machine_kexec_setup_resources(void) > { > @@ -42,11 +42,6 @@ void xen_machine_kexec_setup_resources(v > > xen_max_nr_phys_cpus = k; > > - /* allocate xen_phys_cpus */ > - > - xen_phys_cpus = alloc_bootmem_low(k * sizeof(struct resource)); > - BUG_ON(xen_phys_cpus == NULL); > - > /* fill in xen_phys_cpus with per...
2019 Jun 08
0
[PATCH libnbd 1/3] lib: socket: Add .send flags parameter.
...struct socket *sock, const void *buf, size_t len, int flags); bool (*pending) (struct socket *sock); int (*get_fd) (struct socket *sock); int (*close) (struct socket *sock); diff --git a/lib/socket.c b/lib/socket.c index 084398b..8555855 100644 --- a/lib/socket.c +++ b/lib/socket.c @@ -42,11 +42,11 @@ socket_recv (struct nbd_handle *h, struct socket *sock, void *buf, size_t len) static ssize_t socket_send (struct nbd_handle *h, - struct socket *sock, const void *buf, size_t len) + struct socket *sock, const void *buf, size_t len, int flags) { ssize_t...
2002 Jun 16
1
multiple definition of `optind'
Any ideas of the best way around this problem? Should I just hack the source code, or is there a magic switch somewhere I'm missing? I'm assuming I can't just dismiss that function as OpenSSH is probably based on the OpenBSD semantics. ============================================================================= gcc -g -O2 -Wall -Wno-uninitialized -I. -I.
2018 Nov 06
0
[PATCH 3/3] v2v: linux: install QEMU-GA
...stor_to_registry ((g, root) as reg) inspect drv_name drv_pciid = let ddb_node = g#hivex_node_get_child root "DriverDatabase" in diff --git a/v2v/windows_virtio.mli b/v2v/windows_virtio.mli index 91b3ced45..4558d041b 100644 --- a/v2v/windows_virtio.mli +++ b/v2v/windows_virtio.mli @@ -42,6 +42,11 @@ val install_drivers (**/**) +val install_linux_tools : Guestfs.guestfs -> Types.inspect -> unit +(** [inspect] + installs QEMU Guest Agent on Linux guest OS from the driver directory or + driver ISO. It is not fatal if we fail to install the agent. *) + (* The followin...
2019 Jun 08
6
[PATCH libnbd 0/3] states: Use MSG_MORE to coalesce messages.
Appears to have a measurable benefit, see 3/3 for test results. Rich.
2011 Jan 11
1
--detect-renamed for mac users : proposition of a modification
...es.diff - detect-renamed.diff But the patch detect-renamed.diff is not compatible with one of the modifications of fileflags.diff The problem is minor : a) fileflags.diff inserts "extern int force_change;" line 33 diff --git a/compat.c b/compat.c --- a/compat.c +++ b/compat.c @@ -42,9 +42,11 @@ extern int checksum_seed; extern int basis_dir_cnt; extern int prune_empty_dirs; extern int protocol_version; +extern int force_change; extern int protect_args; extern int preserve_uid; extern int preserve_gid; b) detect-renamed.diff overlaps the previous hunk of fileflags...
2019 May 28
0
[libnbd PATCH 4/4] api: Add DF flag support for pread
...(see C<nbd_pread>, +C<nbd_aio_pread>). Returns false if the server does not. +Can return an error if we have not connected to and completed +the handshake with the server."; + }; + "can_multi_conn", { default_call with args = []; ret = RBool; @@ -1230,8 +1242,12 @@ can only read all or nothing using this call. The call returns when the data has been read fully into C<buf> or there is an error. -The C<flags> parameter must be C<0> for now (it exists for future NBD -protocol extensions)."; +The C<flags> parameter may be C&...
2020 Jul 10
0
Re: [PATCH nbdkit] New filter: gzip
...for a more detailed explanation: > https://stackoverflow.com/a/9213826 > > This commit deprecates nbdkit-gzip-plugin and suggests removal in > nbdkit 1.26. > --- Nice - this one seems like a fairly straight-forward conversion. > +++ b/filters/tar/nbdkit-tar-filter.pod > @@ -42,11 +42,13 @@ server use: > nbdkit -r curl https://example.com/file.tar \ > --filter=tar tar-entry=disk.img > > -=head2 Open an xz-compressed tar file (read-only) > +=head2 Open an gzip-compressed tar file (read-only) Should this heading s/gzip-// ? > > Th...
2014 Nov 12
3
[PATCH v2] virtio_balloon: Convert "vballon" kthread into a workqueue
...<linux/virtio.h> #include <linux/virtio_balloon.h> #include <linux/swap.h> -#include <linux/kthread.h> -#include <linux/freezer.h> +#include <linux/workqueue.h> #include <linux/delay.h> #include <linux/slab.h> #include <linux/module.h> @@ -42,11 +41,9 @@ struct virtio_balloon struct virtio_device *vdev; struct virtqueue *inflate_vq, *deflate_vq, *stats_vq; - /* Where the ballooning thread waits for config to change. */ - wait_queue_head_t config_change; - - /* The thread servicing the balloon. */ - struct task_struct *thread; + /*...
2014 Nov 12
3
[PATCH v2] virtio_balloon: Convert "vballon" kthread into a workqueue
...<linux/virtio.h> #include <linux/virtio_balloon.h> #include <linux/swap.h> -#include <linux/kthread.h> -#include <linux/freezer.h> +#include <linux/workqueue.h> #include <linux/delay.h> #include <linux/slab.h> #include <linux/module.h> @@ -42,11 +41,9 @@ struct virtio_balloon struct virtio_device *vdev; struct virtqueue *inflate_vq, *deflate_vq, *stats_vq; - /* Where the ballooning thread waits for config to change. */ - wait_queue_head_t config_change; - - /* The thread servicing the balloon. */ - struct task_struct *thread; + /*...
2020 Jul 10
2
[PATCH nbdkit] New filter: gzip
...+ +=head1 AUTHORS + +Richard W.M. Jones + +=head1 COPYRIGHT + +Copyright (C) 2013-2020 Red Hat Inc. diff --git a/filters/tar/nbdkit-tar-filter.pod b/filters/tar/nbdkit-tar-filter.pod index 56d4cab1..0f0734c3 100644 --- a/filters/tar/nbdkit-tar-filter.pod +++ b/filters/tar/nbdkit-tar-filter.pod @@ -42,11 +42,13 @@ server use: nbdkit -r curl https://example.com/file.tar \ --filter=tar tar-entry=disk.img -=head2 Open an xz-compressed tar file (read-only) +=head2 Open an gzip-compressed tar file (read-only) This filter cannot handle compressed tar files itself, but you can -combine...
2018 Sep 11
1
[PATCH v2] x86/paravirt: Cleanup native_patch()
...PATCH_SITE - return ret; + return paravirt_patch_default(type, ibuf, addr, len); } diff --git a/arch/x86/kernel/paravirt_patch_64.c b/arch/x86/kernel/paravirt_patch_64.c index 5ad5bcda9dc6..7ca9cb726f4d 100644 --- a/arch/x86/kernel/paravirt_patch_64.c +++ b/arch/x86/kernel/paravirt_patch_64.c @@ -42,15 +42,11 @@ extern bool pv_is_native_vcpu_is_preempted(void); unsigned native_patch(u8 type, void *ibuf, unsigned long addr, unsigned len) { - const unsigned char *start, *end; - unsigned ret; - #define PATCH_SITE(ops, x) \ - case PARAVIRT_PATCH(ops.x): \ - start = start_##ops##_##x;...
2010 Mar 09
2
[PATCH/cygwin]: Fix Makefiles
...cygwin/Makefile =================================================================== RCS file: /cvs/openssh/contrib/cygwin/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- contrib/cygwin/Makefile 26 Dec 2009 23:40:47 -0000 1.5 +++ contrib/cygwin/Makefile 9 Mar 2010 13:33:06 -0000 @@ -42,11 +42,13 @@ install-sshdoc: $(INSTALL) -m 644 $(srcdir)/OVERVIEW $(DESTDIR)$(sshdocdir)/OVERVIEW $(INSTALL) -m 644 $(srcdir)/PROTOCOL $(DESTDIR)$(sshdocdir)/PROTOCOL $(INSTALL) -m 644 $(srcdir)/PROTOCOL.agent $(DESTDIR)$(sshdocdir)/PROTOCOL.agent + $(INSTALL) -m 644 $(srcdir)/PROTOCOL.certke...
2019 Aug 12
0
[PATCH libnbd 4/7] lib: Allow closure user_data to be associated with a free callback.
...>cb.fn_user_data); + nbd_internal_free_callback (h, cmd->cb.user_data); + /* Free the persistent buffer if there is one and if there's an * associated free callback. */ diff --git a/lib/debug.c b/lib/debug.c index ad4d9cb..34d4184 100644 --- a/lib/debug.c +++ b/lib/debug.c @@ -42,9 +42,11 @@ int nbd_unlocked_set_debug_callback (struct nbd_handle *h, nbd_debug_callback debug_callback, void *data) { - if (h->debug_callback) + if (h->debug_callback) { /* ignore return value */ h->debug_callback (LIBNBD_CALLBACK_FREE, h-&...
2018 Sep 10
2
[PATCH] x86/paravirt: Cleanup native_patch()
On Mon, Sep 10, 2018 at 08:54:12AM +0200, Juergen Gross wrote: > > + case PARAVIRT_PATCH(lock.queued_spin_unlock): > > + if (pv_is_native_spin_unlock()) > > + return paravirt_patch_insns(ibuf, len, > > + start_lock_queued_spin_unlock, > > + end_lock_queued_spin_unlock); > > + else > > + return paravirt_patch_default(type, ibuf,
2018 Sep 10
2
[PATCH] x86/paravirt: Cleanup native_patch()
On Mon, Sep 10, 2018 at 08:54:12AM +0200, Juergen Gross wrote: > > + case PARAVIRT_PATCH(lock.queued_spin_unlock): > > + if (pv_is_native_spin_unlock()) > > + return paravirt_patch_insns(ibuf, len, > > + start_lock_queued_spin_unlock, > > + end_lock_queued_spin_unlock); > > + else > > + return paravirt_patch_default(type, ibuf,
2023 Mar 07
0
+ ufs-dont-flush-page-immediately-for-dirsync-directories.patch added to mm-unstable branch
...qi at linux.alibaba.com> Signed-off-by: Andrew Morton <akpm at linux-foundation.org> --- fs/ufs/dir.c | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) --- a/fs/ufs/dir.c~ufs-dont-flush-page-immediately-for-dirsync-directories +++ a/fs/ufs/dir.c @@ -42,11 +42,10 @@ static inline int ufs_match(struct super return !memcmp(name, de->d_name, len); } -static int ufs_commit_chunk(struct page *page, loff_t pos, unsigned len) +static void ufs_commit_chunk(struct page *page, loff_t pos, unsigned len) { struct address_space *mapping = page->m...
2018 Dec 01
0
[PATCH nbdkit] common: Move shared bitmap code to a common library.
.../Makefile common/include/Makefile common/regions/Makefile common/sparse/Makefile diff --git a/filters/cache/Makefile.am b/filters/cache/Makefile.am index 827ff17..89f4396 100644 --- a/filters/cache/Makefile.am +++ b/filters/cache/Makefile.am @@ -42,11 +42,14 @@ nbdkit_cache_filter_la_SOURCES = \ nbdkit_cache_filter_la_CPPFLAGS = \ -I$(top_srcdir)/include \ + -I$(top_srcdir)/common/bitmap \ -I$(top_srcdir)/common/include nbdkit_cache_filter_la_CFLAGS = \ $(WARNINGS_CFLAGS) nbdkit_cache_filter_la_LDFLAGS = \ -module -avoid-version...
2018 Dec 02
0
[PATCH nbdkit v2] common: Move shared bitmap code to a common library.
.../Makefile common/include/Makefile common/regions/Makefile common/sparse/Makefile diff --git a/filters/cache/Makefile.am b/filters/cache/Makefile.am index 827ff17..89f4396 100644 --- a/filters/cache/Makefile.am +++ b/filters/cache/Makefile.am @@ -42,11 +42,14 @@ nbdkit_cache_filter_la_SOURCES = \ nbdkit_cache_filter_la_CPPFLAGS = \ -I$(top_srcdir)/include \ + -I$(top_srcdir)/common/bitmap \ -I$(top_srcdir)/common/include nbdkit_cache_filter_la_CFLAGS = \ $(WARNINGS_CFLAGS) nbdkit_cache_filter_la_LDFLAGS = \ -module -avoid-version...
2018 Dec 03
0
[PATCH nbdkit v3] common: Move shared bitmap code to a common library.
...tmap_la_CPPFLAGS = \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/common/include +libbitmap_la_CFLAGS = \ + $(WARNINGS_CFLAGS) diff --git a/filters/cache/Makefile.am b/filters/cache/Makefile.am index 827ff17..89f4396 100644 --- a/filters/cache/Makefile.am +++ b/filters/cache/Makefile.am @@ -42,11 +42,14 @@ nbdkit_cache_filter_la_SOURCES = \ nbdkit_cache_filter_la_CPPFLAGS = \ -I$(top_srcdir)/include \ + -I$(top_srcdir)/common/bitmap \ -I$(top_srcdir)/common/include nbdkit_cache_filter_la_CFLAGS = \ $(WARNINGS_CFLAGS) nbdkit_cache_filter_la_LDFLAGS = \ -module -avoid-version...