Displaying 20 results from an estimated 83 matches for "40,12".
Did you mean:
20,12
2016 Mar 20
2
Re: [PATCH supermin 5/5] init: Drop SCSI modules.
...y the deprecated guestfs_add_cdrom
> interface.
> ---
> src/ext2_initrd.ml | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/src/ext2_initrd.ml b/src/ext2_initrd.ml
> index 730f806..5e841ea 100644
> --- a/src/ext2_initrd.ml
> +++ b/src/ext2_initrd.ml
> @@ -40,12 +40,7 @@ let kmods = [
> - "sd_mod.ko*";
sd_mod.ko is required on Debian jessie (with kernel from backports 4.3.0-0.bpo.1-amd64), otherwise it won't find /sys/block/sdb/dev.
Best regards,
--
Edwin Török | Co-founder and Lead Developer
Skylable open-source object storage: re...
2013 Dec 09
1
[PATCH] sysprep: mention globbing in help for --delete
Followup of ed4bcb119cb908e98ecc1107dcd8b740ee2f484f.
---
sysprep/sysprep_operation_delete.ml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sysprep/sysprep_operation_delete.ml b/sysprep/sysprep_operation_delete.ml
index 59d5485..3db3f57 100644
--- a/sysprep/sysprep_operation_delete.ml
+++ b/sysprep/sysprep_operati...
2015 Aug 19
0
[PATCH 1/4] virtio_net: use DECLARE_EWMA
...his is the virtual network driver for virtio. It can be used with
lguest or QEMU based VMMs (like KVM or Xen). Say Y or M.
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 546b669fbfdd..9b950f2db836 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -40,12 +40,12 @@ module_param(gso, bool, 0444);
#define GOOD_PACKET_LEN (ETH_HLEN + VLAN_HLEN + ETH_DATA_LEN)
#define GOOD_COPY_LEN 128
-/* Weight used for the RX packet size EWMA. The average packet size is used to
- * determine the packet buffer size when refilling RX rings. As the entire RX
- *...
2015 Aug 19
0
[PATCH 1/4] virtio_net: use DECLARE_EWMA
...his is the virtual network driver for virtio. It can be used with
lguest or QEMU based VMMs (like KVM or Xen). Say Y or M.
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 546b669fbfdd..9b950f2db836 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -40,12 +40,12 @@ module_param(gso, bool, 0444);
#define GOOD_PACKET_LEN (ETH_HLEN + VLAN_HLEN + ETH_DATA_LEN)
#define GOOD_COPY_LEN 128
-/* Weight used for the RX packet size EWMA. The average packet size is used to
- * determine the packet buffer size when refilling RX rings. As the entire RX
- *...
2019 Jan 23
2
Re: [PATCH v2 nbdkit] tests: Add generic ‘requires’ function for test prerequisites.
...e"
> - exit 77
> -fi
> +
> +rm -f ip.pid ipv4.out ipv6.out
> +cleanup_fn rm -f ip.pid ipv4.out ipv6.out
...but the rewrite does not. Could be solved with:
requires qemu-img info --image-opts driver=file,filename=functions.sh
> +++ b/tests/test-partitioning2.sh
> @@ -40,16 +40,12 @@ source ./functions.sh
> set -e
> set -x
>
> +requires mke2fs -V
> +
> files="partitioning2.pid partitioning2.sock partitioning2.fs partitioning2.p1 partitioning2.p3"
> rm -f $files
> cleanup_fn rm -f $files
>
> -# Test that mke2fs works...
2006 May 03
1
[LLVMdev] Patch for transform dependencies
...-----------------------------------------------===//
#include "llvm/Transforms/Scalar.h"
+#include "llvm/Transforms/Utils/UnifyFunctionExitNodes.h"
#include "llvm/Module.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instructions.h"
@@ -39,6 +40,12 @@ namespace {
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<TargetData>();
AU.setPreservesCFG();
+
+ // This is a cluster of orthogonal Transforms:
+ AU.addPreserved<UnifyFunctionExitNodes>();
+ AU.addPreservedID(Promot...
2016 Mar 17
9
[PATCH supermin 0/5] Make supermin mini-initrd quieter and faster.
Various patches to make supermin quieter. By outputting fewer
messages on the fast path, we use the slow emulated UART less, and
this improves boot times.
Also remove some kernel modules that we cannot or should not be using,
which also improves boot times.
Rich.
2018 Sep 26
0
[PATCH 4/4] drm/virtio: Use IDAs more efficiently
...da, ctx_id - 1);
}
static void virtio_gpu_init_vq(struct virtio_gpu_queue *vgvq,
diff --git a/drivers/gpu/drm/virtio/virtgpu_vq.c b/drivers/gpu/drm/virtio/virtgpu_vq.c
index 387951c971d4..81297fe0147d 100644
--- a/drivers/gpu/drm/virtio/virtgpu_vq.c
+++ b/drivers/gpu/drm/virtio/virtgpu_vq.c
@@ -40,12 +40,15 @@
int virtio_gpu_resource_id_get(struct virtio_gpu_device *vgdev)
{
- return ida_alloc_min(&vgdev->resource_ida, 1, GFP_KERNEL);
+ int handle = ida_alloc(&vgdev->resource_ida, GFP_KERNEL);
+ if (handle < 0)
+ return handle;
+ return handle + 1;
}
void virtio_gpu...
2016 Mar 17
0
[PATCH supermin 5/5] init: Drop SCSI modules.
Also drop the sr_mod module used by the deprecated guestfs_add_cdrom
interface.
---
src/ext2_initrd.ml | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/ext2_initrd.ml b/src/ext2_initrd.ml
index 730f806..5e841ea 100644
--- a/src/ext2_initrd.ml
+++ b/src/ext2_initrd.ml
@@ -40,12 +40,7 @@ let kmods = [
"virtio*.ko*";
"libata*.ko*";
"piix*.ko*";
- "scsi_transport_spi.ko*";
- "scsi_mod.ko*";
- "sd_mod.ko*";
- "sym53c8xx.ko*";
"ata_piix.ko*";
- "sr_mod.ko*";
"c...
2016 Mar 20
0
Re: [PATCH supermin 5/5] init: Drop SCSI modules.
...face.
> > ---
> > src/ext2_initrd.ml | 5 -----
> > 1 file changed, 5 deletions(-)
> >
> > diff --git a/src/ext2_initrd.ml b/src/ext2_initrd.ml
> > index 730f806..5e841ea 100644
> > --- a/src/ext2_initrd.ml
> > +++ b/src/ext2_initrd.ml
> > @@ -40,12 +40,7 @@ let kmods = [
> > - "sd_mod.ko*";
>
> sd_mod.ko is required on Debian jessie (with kernel from backports
> 4.3.0-0.bpo.1-amd64), otherwise it won't find /sys/block/sdb/dev.
Agreed. On Fedora it's compiled in, and also I notice that the
virtio-scsi mod...
2019 Jan 23
0
Re: [PATCH v2 nbdkit] tests: Add generic ‘requires’ function for test prerequisites.
...be solved with:
>
> requires qemu-img info --image-opts driver=file,filename=functions.sh
Yes - as you can see I didn't convert the old test, it's still there.
However I will try your variation to see if that works instead.
> > +++ b/tests/test-partitioning2.sh
> > @@ -40,16 +40,12 @@ source ./functions.sh
> > set -e
> > set -x
> >
> > +requires mke2fs -V
> > +
> > files="partitioning2.pid partitioning2.sock partitioning2.fs partitioning2.p1 partitioning2.p3"
> > rm -f $files
> > cleanup_fn rm -f $file...
2005 Feb 16
1
memmem broken?
We have a bad bug in udev if compiled with klibc. I seems that the needle
string can't have a strlen of 1. This test case illustrates it:
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[], char *envp[])
{
char *hay = "a/b";
char *needle = "/";
if (memmem(hay, strlen(hay), needle, strlen(needle)) == NULL)
printf("This uses the
2019 Jul 24
2
Re: [PATCH libnbd 2/3] lib: Implement closure lifetimes.
...rather than making you have to spin a v3, since our mails have crossed.
> +
> free (cmd);
>
> /* If the command was successful, return true. */
> diff --git a/lib/debug.c b/lib/debug.c
> index 12c10f7..56a9455 100644
> --- a/lib/debug.c
> +++ b/lib/debug.c
> @@ -40,9 +40,12 @@ nbd_unlocked_get_debug (struct nbd_handle *h)
>
> int
> nbd_unlocked_set_debug_callback (struct nbd_handle *h,
> - int (*debug_fn) (void *, const char *, const char *),
> + int (*debug_fn) (int, void *, c...
2018 Jul 27
5
[PATCH v2 0/2] virtio-balloon: some improvements
This series is split from the "Virtio-balloon: support free page
reporting" series to make some improvements.
v1->v2 ChangeLog:
- register the shrinker when VIRTIO_BALLOON_F_DEFLATE_ON_OOM is negotiated.
Wei Wang (2):
virtio-balloon: remove BUG() in init_vqs
virtio_balloon: replace oom notifier with shrinker
drivers/virtio/virtio_balloon.c | 125
2018 Jul 27
5
[PATCH v2 0/2] virtio-balloon: some improvements
This series is split from the "Virtio-balloon: support free page
reporting" series to make some improvements.
v1->v2 ChangeLog:
- register the shrinker when VIRTIO_BALLOON_F_DEFLATE_ON_OOM is negotiated.
Wei Wang (2):
virtio-balloon: remove BUG() in init_vqs
virtio_balloon: replace oom notifier with shrinker
drivers/virtio/virtio_balloon.c | 125
2019 Apr 23
0
[nbdkit PATCH 3/4] filters: Utilize ACQUIRE_LOCK_FOR_CURRENT_SCOPE
...+ ACQUIRE_LOCK_FOR_CURRENT_SCOPE (&lock);
window = READAHEAD_MIN;
length = 0;
- pthread_mutex_unlock (&lock);
}
static int
diff --git a/filters/log/Makefile.am b/filters/log/Makefile.am
index 271d54e..08cdd00 100644
--- a/filters/log/Makefile.am
+++ b/filters/log/Makefile.am
@@ -40,12 +40,15 @@ nbdkit_log_filter_la_SOURCES = \
$(top_srcdir)/include/nbdkit-filter.h
nbdkit_log_filter_la_CPPFLAGS = \
- -I$(top_srcdir)/include
+ -I$(top_srcdir)/include \
+ -I$(top_srcdir)/common/utils
nbdkit_log_filter_la_CFLAGS = \
$(WARNINGS_CFLAGS)
nbdkit_log_filter_la_LDFLAGS = \
-m...
2019 Jul 24
0
Re: [PATCH libnbd 2/3] lib: Implement closure lifetimes.
...read already.
But thinking about this a bit more, maybe we should call VALID|FREE
here and set cmd->cb.fn.read = NULL afterwards.
[...]
> > diff --git a/lib/debug.c b/lib/debug.c
> > index 12c10f7..56a9455 100644
> > --- a/lib/debug.c
> > +++ b/lib/debug.c
> > @@ -40,9 +40,12 @@ nbd_unlocked_get_debug (struct nbd_handle *h)
> >
> > int
> > nbd_unlocked_set_debug_callback (struct nbd_handle *h,
> > - int (*debug_fn) (void *, const char *, const char *),
> > + int (*...
2000 Jul 31
0
NetBSD patches
...file.in
===================================================================
RCS file: /usr/local/cvsroot/vorbis/vorbis-tools/Makefile.in,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile.in
- --- vorbis-tools/Makefile.in 2000/07/22 02:02:09 1.8
+++ vorbis-tools/Makefile.in 2000/07/30 03:12:04
@@ -40,11 +40,12 @@ profile:
target: libao vorbize ogg123
- -ogg123: ogg123.o libao/libao.a
- - $(CC) $(CFLAGS) ogg123.o -o ogg123 $(LIBS) libao/libao.a
+ogg123: ogg123.o libao/libao.a getopt.o getopt1.o
+ $(CC) $(CFLAGS) ogg123.o -o ogg123 getopt.o getopt1.o \
+ $(LIBS) libao/libao.a
- -vorbize:...
2013 Dec 09
3
[PATCH] sysprep: mention globbing in help for --delete
Followup of ed4bcb119cb908e98ecc1107dcd8b740ee2f484f.
---
sysprep/sysprep_operation_delete.ml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sysprep/sysprep_operation_delete.ml b/sysprep/sysprep_operation_delete.ml
index 59d5485..a08d4d0 100644
--- a/sysprep/sysprep_operation_delete.ml
+++ b/sysprep/sysprep_operation...
2018 Jan 05
0
[PATCH v4 3/3] qemu: add linkspeed and duplex settings to virtio-net
...+++++
include/hw/virtio/virtio-net.h | 3 +++
include/standard-headers/linux/virtio_net.h | 13 ++++++++++++
3 files changed, 48 insertions(+)
diff --git a/hw/net/virtio-net.c b/hw/net/virtio-net.c
index 54823af..cd63659 100644
--- a/hw/net/virtio-net.c
+++ b/hw/net/virtio-net.c
@@ -40,6 +40,12 @@
#define VIRTIO_NET_RX_QUEUE_MIN_SIZE VIRTIO_NET_RX_QUEUE_DEFAULT_SIZE
#define VIRTIO_NET_TX_QUEUE_MIN_SIZE VIRTIO_NET_TX_QUEUE_DEFAULT_SIZE
+/* duplex and speed */
+#define DUPLEX_UNKNOWN 0xff
+#define DUPLEX_HALF 0x00
+#define DUPLEX_FULL 0x01
+#def...