search for: 46,9

Displaying 20 results from an estimated 157 matches for "46,9".

Did you mean: 45,9
2014 Feb 07
1
[PATCH] arm: Remove a superfluous 's' suffix from the cmp instruction
...nd superfluous since the cmp instruction always sets conditional flags. This fixes building for iOS with inline assembly enabled. --- libspeex/filters_arm4.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libspeex/filters_arm4.h b/libspeex/filters_arm4.h index 7a74042..2c64625 100644 --- a/libspeex/filters_arm4.h +++ b/libspeex/filters_arm4.h @@ -46,9 +46,9 @@ int normalize16(const spx_sig_t *x, spx_word16_t *y, spx_sig_t max_scale, int le ".normalize16loop1%=: \n" "\tldr %4, [%0], #4 \n" - "\tcmps %4, %1 \n"...
2015 Jul 13
2
Bug#784880: [PATCH for-4.6] tools: libxl: Handle failure to create qemu dm logfile
...; Cc: 784880 at bugs.debian.org --- Should be backported. --- tools/libxl/libxl_dm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index ad434f0..8ed2d2e 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -46,9 +46,11 @@ static const char *qemu_xen_path(libxl__gc *gc) static int libxl__create_qemu_logfile(libxl__gc *gc, char *name) { char *logfile; - int logfile_w; + int rc, logfile_w; + + rc = libxl_create_logfile(CTX, name, &logfile); + if (rc) return rc; - libxl_create_log...
2020 Sep 17
1
Re: [PATCH v2 7/7] lib/canonical-name.c: Hide errors.
...: not a logical volume > --- > lib/canonical-name.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/canonical-name.c b/lib/canonical-name.c > index 052bbf12c..11cf6fed6 100644 > --- a/lib/canonical-name.c > +++ b/lib/canonical-name.c > @@ -46,8 +46,9 @@ guestfs_impl_canonical_device_name (guestfs_h *g, const char *device) > } > else if (STRPREFIX (device, "/dev/mapper/") || > STRPREFIX (device, "/dev/dm-")) { > - /* XXX hide errors */ > + guestfs_push_error_handler (g, NULL, NUL...
2019 Mar 28
0
[PATCH nbdkit v5 FINAL 09/19] log: Log extents requests.
...r debugging like this. --- filters/log/nbdkit-log-filter.pod | 6 ++--- filters/log/log.c | 45 +++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 3 deletions(-) diff --git a/filters/log/nbdkit-log-filter.pod b/filters/log/nbdkit-log-filter.pod index cff209e..e391046 100644 --- a/filters/log/nbdkit-log-filter.pod +++ b/filters/log/nbdkit-log-filter.pod @@ -46,9 +46,9 @@ the impact of the caching. This filter writes to the file specified by the C<logfile=FILE> parameter. All lines include a timestamp, a connection counter, then details about the comman...
2000 Sep 05
3
[2.2.0p1] patch: generic detection of correct getpgrp() invocation
...0 18:20:05 2000 +++ configure.in Tue Sep 5 10:48:20 2000 @@ -284,6 +284,8 @@ ) fi +AC_FUNC_GETPGRP + PAM_MSG="no" AC_ARG_WITH(pam, [ --without-pam Disable PAM support ], --- config.h.in.orig-2.2.0p1 Fri Sep 1 19:08:44 2000 +++ config.h.in Tue Sep 5 11:01:57 2000 @@ -46,6 +46,9 @@ /* Define if your snprintf is busted */ #undef BROKEN_SNPRINTF +/* Define if getpgrp takes no argument */ +#undef GETPGRP_VOID + /* Define if you are on NeXT */ #undef HAVE_NEXT --- defines.h.orig-2.2.0p1 Mon Aug 28 20:33:51 2000 +++ defines.h Tue Sep 5 11:31:36 2000 @@ -322,6 +...
2020 Jan 22
0
[PATCH] mltools, options: support --allow-discards when decrypting LUKS devices
...alue guestfs_int_mllib_inspect_decrypt (value gv, value gpv, value keysv, value allowdiscards); extern value guestfs_int_mllib_set_echo_keys (value unitv); extern value guestfs_int_mllib_set_keys_from_stdin (value unitv); extern value guestfs_int_mllib_rfc3339_date_time_string (value unitv); @@ -46,9 +46,9 @@ int echo_keys = 0; int keys_from_stdin = 0; value -guestfs_int_mllib_inspect_decrypt (value gv, value gpv, value keysv) +guestfs_int_mllib_inspect_decrypt (value gv, value gpv, value keysv, value allowdiscards) { - CAMLparam3 (gv, gpv, keysv); + CAMLparam4 (gv, gpv, keysv, allowdi...
2010 Feb 08
2
Proposals for making configure_from_network function works in f13
...) log "Interface brought up with $IPADDR" And the cobbler/dracut problem in f12 persits in f13 (https://bugzilla.redhat.com/show_bug.cgi?id=548283) --- cobbler-import.ori 2010-01-12 11:54:13.000000000 +0100 +++ cobbler-import 2010-02-08 10:31:44.000000000 +0100 @@ -46,15 +46,9 @@ cobbler distro add --name="oVirt-Node-$node_arch" --arch=$node_arch \ --initrd=$node_dir/tftpboot/initrd0.img -- kernel=$node_dir/tftpboot/vmlinuz0 \ - --kopts="rootflags=loop root=/ovirt-node-image.iso rootfstype=iso9660 ro console=tty0 console=ttyS0,115200n8&...
2015 Nov 19
3
[PATCH] Refactor checksize.pl
...br[^0-9a-z]/) { - $maxsize = $padsize = 439; + $maxsize = 439; } else { die "$0: no default size for filename: $file\n"; } } -$padsize = $maxsize unless(defined($padsize)); - open(FILE, '+<', $file) or die; @st = stat(FILE); if (!defined($size = $st[7])) { @@ -46,9 +55,9 @@ if (!defined($size = $st[7])) { if ($size > $maxsize) { print STDERR "$file: too big ($size > $maxsize)\n"; exit 1; -} elsif ($size < $padsize) { +} elsif ($size < $maxsize) { seek(FILE, $size, 0); - print FILE "\0" x ($padsize-$size); +...
2012 May 03
2
[PATCH 1/2] virtio-blk: Fix hot-unplug race in remove method
...edhat.com> --- drivers/block/virtio_blk.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 72fe55d..72b818b 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -46,6 +46,9 @@ struct virtio_blk /* Ida index - used to track minor number allocations. */ int index; + /* Number of pending requests dispatched to driver. */ + int req_in_flight; + /* Scatterlist: can be too big for stack. */ struct scatterlist sg[/*sg_elems*/]; }; @@ -95,6 +98,7 @@ static...
2012 May 03
2
[PATCH 1/2] virtio-blk: Fix hot-unplug race in remove method
...edhat.com> --- drivers/block/virtio_blk.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c index 72fe55d..72b818b 100644 --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -46,6 +46,9 @@ struct virtio_blk /* Ida index - used to track minor number allocations. */ int index; + /* Number of pending requests dispatched to driver. */ + int req_in_flight; + /* Scatterlist: can be too big for stack. */ struct scatterlist sg[/*sg_elems*/]; }; @@ -95,6 +98,7 @@ static...
2015 Nov 19
1
[PATCH] Refactor checksize.pl
...= 439; > } else { > die "$0: no default size for filename: $file\n"; > } > } > > -$padsize = $maxsize unless(defined($padsize)); > - > open(FILE, '+<', $file) or die; > @st = stat(FILE); > if (!defined($size = $st[7])) { > @@ -46,9 +55,9 @@ if (!defined($size = $st[7])) { > if ($size > $maxsize) { > print STDERR "$file: too big ($size > $maxsize)\n"; > exit 1; > -} elsif ($size < $padsize) { > +} elsif ($size < $maxsize) { > seek(FILE, $size, 0); > - print FILE &...
2020 Oct 09
3
Re: [PATCH v3 8/8] lib/canonical-name.c: Hide EINVAL error from underlying API call.
...ed in debug >output). >--- > lib/canonical-name.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > >diff --git a/lib/canonical-name.c b/lib/canonical-name.c >index 052bbf12c..e0c7918b4 100644 >--- a/lib/canonical-name.c >+++ b/lib/canonical-name.c >@@ -46,9 +46,14 @@ guestfs_impl_canonical_device_name (guestfs_h *g, const char *device) > } > else if (STRPREFIX (device, "/dev/mapper/") || > STRPREFIX (device, "/dev/dm-")) { >- /* XXX hide errors */ >+ guestfs_push_error_handler (g, NULL, NULL);...
2017 Sep 06
4
[PATCH v2 0/2] guard virt_spin_lock() with a static key
With virt_spin_lock() being guarded by a static key the bare metal case can be optimized by patching the call away completely. In case a kernel running as a guest it can decide whether to use paravitualized spinlocks, the current fallback to the unfair test-and-set scheme, or to mimic the bare metal behavior. V2: - use static key instead of making virt_spin_lock() a pvops function Juergen Gross
2017 Sep 06
4
[PATCH v2 0/2] guard virt_spin_lock() with a static key
With virt_spin_lock() being guarded by a static key the bare metal case can be optimized by patching the call away completely. In case a kernel running as a guest it can decide whether to use paravitualized spinlocks, the current fallback to the unfair test-and-set scheme, or to mimic the bare metal behavior. V2: - use static key instead of making virt_spin_lock() a pvops function Juergen Gross
2009 Jun 08
2
[PATCH] few minor bugfixes
...e, - randomize local tunnel port - bump rpm spec version updated to include danpb's feedback regarding getaddrinfo --- main.c | 36 ++++++++++++++++++------------------ ovirt-viewer.spec | 9 ++++++++- tunnel.c | 29 ++++++++++++++++++++--------- 3 files changed, 46 insertions(+), 28 deletions(-) diff --git a/main.c b/main.c index 2962f3f..23af6fa 100644 --- a/main.c +++ b/main.c @@ -36,6 +36,8 @@ #include <netinet/in.h> #endif +#include <arpa/inet.h> + #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif @@ -903,37 +905,35 @@ view...
2016 Dec 12
2
[PATCH] v2v: tests: avoid '..' in member names for tar
...est-v2v-i-ova-formats.ovf disk1.vmdk disk1.mf ;; *) echo "Unhandled format '$format'" diff --git a/v2v/test-v2v-i-ova-gz.sh b/v2v/test-v2v-i-ova-gz.sh index a38e1b4..fe2da03 100755 --- a/v2v/test-v2v-i-ova-gz.sh +++ b/v2v/test-v2v-i-ova-gz.sh @@ -46,8 +46,9 @@ truncate -s 10k disk1.vmdk gzip disk1.vmdk sha=`do_sha1 disk1.vmdk.gz` echo -e "SHA1(disk1.vmdk.gz)= $sha\r" > disk1.mf +cp ../test-v2v-i-ova-gz.ovf . -tar -cf test.ova ../test-v2v-i-ova-gz.ovf disk1.vmdk.gz disk1.mf +tar -cf test.ova test-v2v-i-ova-gz.ovf disk1.vmdk.gz...
2014 Mar 19
7
[PATCH 1/3] builder: make the C index parser reentrant
...ne = yylineno; -extern void yyerror (const char *); +extern void yyerror (YYLTYPE * yylloc, yyscan_t scanner, struct parse_context *context, const char *msg); %} %option nounput %option noyywrap %option yylineno +%option reentrant +%option bison-bridge +%option bison-locations %% @@ -46,38 +50,38 @@ extern void yyerror (const char *); */ /* Ignore comments - '#' MUST appear at the start of a line. */ -^"#".*\n { seen_comments++; } +^"#".*\n { yyextra->seen_comments++; } /* An empty line is significant. */ ^...
2015 Jul 13
0
Bug#784880: [PATCH for-4.6] tools: libxl: Handle failure to create qemu dm logfile
...backported. > --- > tools/libxl/libxl_dm.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c > index ad434f0..8ed2d2e 100644 > --- a/tools/libxl/libxl_dm.c > +++ b/tools/libxl/libxl_dm.c > @@ -46,9 +46,11 @@ static const char *qemu_xen_path(libxl__gc *gc) > static int libxl__create_qemu_logfile(libxl__gc *gc, char *name) > { > char *logfile; > - int logfile_w; > + int rc, logfile_w; > + > + rc = libxl_create_logfile(CTX, name, &logfile); > + if...
2019 Jan 23
0
[PATCH] present: rotated crtc's work fine
...ush, this seems to make DRI3 function reasonably with rotated CRTCs src/nouveau_present.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/nouveau_present.c b/src/nouveau_present.c index ebd5fcf..936475e 100644 --- a/src/nouveau_present.c +++ b/src/nouveau_present.c @@ -46,9 +46,6 @@ nouveau_present_crtc(WindowPtr window) if (!crtc) return NULL; - if (crtc->rotatedData) - return NULL; - return crtc->randr_crtc; } @@ -152,7 +149,7 @@ nouveau_present_flip_check(RRCrtcPtr rrcrtc, WindowPtr window, ScrnInfoPtr scrn = xf86ScreenToScrn(window->drawa...
2020 Aug 29
0
[klibc:master] signal: Add config flag for additional sigaction fixup
...sa; int rv; - if (act && (act->sa_flags & needed_flags) != needed_flags) { + if (act && + ((act->sa_flags & needed_flags) != needed_flags || + _KLIBC_NEEDS_SIGACTION_FIXUP)) { sa = *act; sa.sa_flags |= needed_flags; #if _KLIBC_NEEDS_SA_RESTORER @@ -46,9 +54,9 @@ int sigaction(int sig, const struct sigaction *act, struct sigaction *oact) + sizeof(sigset_t) == sizeof(struct sigaction) ? 1 : -1]); - rv = __rt_sigaction(sig, act, oact, sizeof(sigset_t)); + rv = __rt_sigaction(sig, (act_type)act, oact, sizeof(sigset_t)); #else - rv = _...