Displaying 20 results from an estimated 780 matches for "42,6".
2018 Jul 30
3
[PATCH v2] file: Add missing include for FALLOC_FL_*
...nly on Linux
v1 was here:
https://www.redhat.com/archives/libguestfs/2018-July/msg00083.html
plugins/file/file.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/plugins/file/file.c b/plugins/file/file.c
index a8a6253..0345115 100644
--- a/plugins/file/file.c
+++ b/plugins/file/file.c
@@ -42,6 +42,10 @@
#include <sys/stat.h>
#include <errno.h>
+#if defined(__linux__)
+#include <linux/falloc.h> /* For FALLOC_FL_* on RHEL, glibc < 2.18 */
+#endif
+
#include <nbdkit-plugin.h>
#ifndef O_CLOEXEC
--
2.17.1
2019 May 14
2
[PATCH v9 2/7] virtio-pmem: Add virtio pmem driver
On 5/14/19 7:54 AM, Pankaj Gupta wrote:
> diff --git a/drivers/virtio/Kconfig b/drivers/virtio/Kconfig
> index 35897649c24f..94bad084ebab 100644
> --- a/drivers/virtio/Kconfig
> +++ b/drivers/virtio/Kconfig
> @@ -42,6 +42,17 @@ config VIRTIO_PCI_LEGACY
>
> If unsure, say Y.
>
> +config VIRTIO_PMEM
> + tristate "Support for virtio pmem driver"
> + depends on VIRTIO
> + depends on LIBNVDIMM
> + help
> + This driver provides access to virtio-pmem devices, storage devic...
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...
2014 Nov 04
1
[PATCH] bash: fix build/clean when srcdir==builddir
...ir!=builddir situations.
Followup of commit 40ac54829d4e71b1bac76343872a2674a40c7ac0.
---
bash/Makefile.am | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/bash/Makefile.am b/bash/Makefile.am
index 780da64..ee9c10c 100644
--- a/bash/Makefile.am
+++ b/bash/Makefile.am
@@ -42,6 +42,9 @@ EXTRA_DIST = \
README \
$(scripts)
+CLEANFILES = \
+ $(symlinks)
+
# Some of the scripts are simply symbolic links.
virt-cat virt-df virt-edit virt-filesystems virt-format virt-inspector \
virt-log virt-ls virt-sysprep:
@@ -60,13 +63,13 @@ bashcompletiondir = $(BASH_COMPLETIONS_...
2016 Oct 27
1
[PATCH v2 6/7] copy: add maxwell/pascal copy engine classes
...---
> src/nouveau_copy.c | 2 ++
> src/nvc0_accel.c | 10 +++++++++-
> 2 files changed, 11 insertions(+), 1 deletion(-)
>
> diff --git a/src/nouveau_copy.c b/src/nouveau_copy.c
> index c139de6..7118a7a 100644
> --- a/src/nouveau_copy.c
> +++ b/src/nouveau_copy.c
> @@ -42,6 +42,8 @@ nouveau_copy_init(ScreenPtr pScreen)
> int engine;
> Bool (*init)(NVPtr);
> } methods[] = {
> + { 0xc0b5, 0, nouveau_copya0b5_init },
> + { 0xb0b5, 0, nouveau_copya0b5_init },
> { 0xa0b5, 0, nouveau_copya0b5_init },
> { 0x90b8, 5, nouveau_copy90b5_ini...
2019 Apr 26
3
[PATCH] Revert "drm/qxl: drop prime import/export callbacks"
..._gem_prime_vmap,
.gem_prime_vunmap = qxl_gem_prime_vunmap,
.gem_prime_mmap = qxl_gem_prime_mmap,
diff --git a/drivers/gpu/drm/qxl/qxl_prime.c b/drivers/gpu/drm/qxl/qxl_prime.c
index 8b448eca1cd9..114653b471c6 100644
--- a/drivers/gpu/drm/qxl/qxl_prime.c
+++ b/drivers/gpu/drm/qxl/qxl_prime.c
@@ -42,6 +42,18 @@ void qxl_gem_prime_unpin(struct drm_gem_object *obj)
qxl_bo_unpin(bo);
}
+struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj)
+{
+ return ERR_PTR(-ENOSYS);
+}
+
+struct drm_gem_object *qxl_gem_prime_import_sg_table(
+ struct drm_device *dev, struct dma_buf_attac...
2019 Apr 26
3
[PATCH] Revert "drm/qxl: drop prime import/export callbacks"
..._gem_prime_vmap,
.gem_prime_vunmap = qxl_gem_prime_vunmap,
.gem_prime_mmap = qxl_gem_prime_mmap,
diff --git a/drivers/gpu/drm/qxl/qxl_prime.c b/drivers/gpu/drm/qxl/qxl_prime.c
index 8b448eca1cd9..114653b471c6 100644
--- a/drivers/gpu/drm/qxl/qxl_prime.c
+++ b/drivers/gpu/drm/qxl/qxl_prime.c
@@ -42,6 +42,18 @@ void qxl_gem_prime_unpin(struct drm_gem_object *obj)
qxl_bo_unpin(bo);
}
+struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj)
+{
+ return ERR_PTR(-ENOSYS);
+}
+
+struct drm_gem_object *qxl_gem_prime_import_sg_table(
+ struct drm_device *dev, struct dma_buf_attac...
2020 Mar 10
1
[v2v PATCH] bash: remove extra registrations
...7 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-_guestfs_options_only ()
+_v2v_options_only ()
{
local cur prev words cword split
local shortopts longopts tool="$1"
@@ -42,18 +42,6 @@ _guestfs_options_only ()
_virt_v2v_copy_to_local ()
{
- _guestfs_options_only "virt-v2v-copy-to-local"
+ _v2v_options_only "virt-v2v-copy-to-local"
} &&
complete -o default -F _virt_v2v_copy_to_local virt-v2v-copy-to-local
-
-_virt_win_reg ()
-{
-...
2020 Feb 06
6
[PATCH RFC] virtio_balloon: conservative balloon page shrinking
...rivers/virtio/virtio_balloon.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 93f995f6cf36..b4c5bb13a867 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -42,6 +42,10 @@
static struct vfsmount *balloon_mnt;
#endif
+static bool conservative_shrinker = true;
+module_param(conservative_shrinker, bool, 0644);
+MODULE_PARM_DESC(conservative_shrinker, "conservatively shrink balloon pages");
+
enum virtio_balloon_vq {
VIRTIO_BALLOON_VQ_INFLATE...
2020 Feb 06
6
[PATCH RFC] virtio_balloon: conservative balloon page shrinking
...rivers/virtio/virtio_balloon.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c
index 93f995f6cf36..b4c5bb13a867 100644
--- a/drivers/virtio/virtio_balloon.c
+++ b/drivers/virtio/virtio_balloon.c
@@ -42,6 +42,10 @@
static struct vfsmount *balloon_mnt;
#endif
+static bool conservative_shrinker = true;
+module_param(conservative_shrinker, bool, 0644);
+MODULE_PARM_DESC(conservative_shrinker, "conservatively shrink balloon pages");
+
enum virtio_balloon_vq {
VIRTIO_BALLOON_VQ_INFLATE...
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...
2018 Jan 03
2
Gtkcdlabel + cdlabelgen on CentOS 7 ?
Le 03/01/2018 ? 00:45, Frank Cox a ?crit :
> I guess the next step would be to either find and install the missing
> fonts, or re-write template.ps to use the fonts that you have
> available.
I did some more research, and it looks like the problem is NOT related
to missing fonts.
I installed a vanilla CentOS 7 desktop, activated EPEL, installed
cdlabelgen, downloaded Gtkcdlabel,
2009 Nov 12
1
[PATCH libguestfs] build: revive the ocaml package tests
...h: Generalize the ocaml-package-existence test.
Remove the git-related part of the old test.
---
autogen.sh | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/autogen.sh b/autogen.sh
index 9c73a2d..b31ec7b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -42,6 +42,32 @@ if [ ! -z "$BUILDDIR" ]; then
CONFIGUREDIR=..
fi
+# Ensure that an ocaml package is present for build-from sources.
+# This is *not* for anything that is required at configure-time
+# when configure is run from a distribution tarball. From those,
+# nothing ocaml-relat...
2017 Apr 05
2
[PATCH kernel v8 2/4] virtio-balloon: VIRTIO_BALLOON_F_CHUNK_TRANSFER
...tio_balloon.h | 9 +
> 2 files changed, 353 insertions(+), 27 deletions(-)
>
> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index
> f59cb4f..3f4a161 100644
> --- a/drivers/virtio/virtio_balloon.c
> +++ b/drivers/virtio/virtio_balloon.c
> @@ -42,6 +42,10 @@
> #define OOM_VBALLOON_DEFAULT_PAGES 256
> #define VIRTBALLOON_OOM_NOTIFY_PRIORITY 80
>
> +#define PAGE_BMAP_SIZE (8 * PAGE_SIZE)
> +#define PFNS_PER_PAGE_BMAP (PAGE_BMAP_SIZE * BITS_PER_BYTE)
> +#define PAGE_BMAP_COUNT_MAX 32
> +
> static int oom_pages = OOM...
2017 Apr 05
2
[PATCH kernel v8 2/4] virtio-balloon: VIRTIO_BALLOON_F_CHUNK_TRANSFER
...tio_balloon.h | 9 +
> 2 files changed, 353 insertions(+), 27 deletions(-)
>
> diff --git a/drivers/virtio/virtio_balloon.c b/drivers/virtio/virtio_balloon.c index
> f59cb4f..3f4a161 100644
> --- a/drivers/virtio/virtio_balloon.c
> +++ b/drivers/virtio/virtio_balloon.c
> @@ -42,6 +42,10 @@
> #define OOM_VBALLOON_DEFAULT_PAGES 256
> #define VIRTBALLOON_OOM_NOTIFY_PRIORITY 80
>
> +#define PAGE_BMAP_SIZE (8 * PAGE_SIZE)
> +#define PFNS_PER_PAGE_BMAP (PAGE_BMAP_SIZE * BITS_PER_BYTE)
> +#define PAGE_BMAP_COUNT_MAX 32
> +
> static int oom_pages = OOM...
2019 Apr 26
1
[PATCH] Revert "drm/qxl: drop prime import/export callbacks"
...>> .gem_prime_mmap = qxl_gem_prime_mmap,
>> diff --git a/drivers/gpu/drm/qxl/qxl_prime.c b/drivers/gpu/drm/qxl/qxl_prime.c
>> index 8b448eca1cd9..114653b471c6 100644
>> --- a/drivers/gpu/drm/qxl/qxl_prime.c
>> +++ b/drivers/gpu/drm/qxl/qxl_prime.c
>> @@ -42,6 +42,18 @@ void qxl_gem_prime_unpin(struct drm_gem_object *obj)
>> qxl_bo_unpin(bo);
>> }
>>
>> +struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj)
>> +{
>> + return ERR_PTR(-ENOSYS);
>> +}
>> +
>> +struct...
2019 Apr 26
1
[PATCH] Revert "drm/qxl: drop prime import/export callbacks"
...>> .gem_prime_mmap = qxl_gem_prime_mmap,
>> diff --git a/drivers/gpu/drm/qxl/qxl_prime.c b/drivers/gpu/drm/qxl/qxl_prime.c
>> index 8b448eca1cd9..114653b471c6 100644
>> --- a/drivers/gpu/drm/qxl/qxl_prime.c
>> +++ b/drivers/gpu/drm/qxl/qxl_prime.c
>> @@ -42,6 +42,18 @@ void qxl_gem_prime_unpin(struct drm_gem_object *obj)
>> qxl_bo_unpin(bo);
>> }
>>
>> +struct sg_table *qxl_gem_prime_get_sg_table(struct drm_gem_object *obj)
>> +{
>> + return ERR_PTR(-ENOSYS);
>> +}
>> +
>> +struct...
2012 Apr 24
1
[PATCH] sysprep: remove the cache of package manager
...ackage_manager_cache.ml | 49 ++++++++++++++++++++
2 files changed, 51 insertions(+)
create mode 100644 sysprep/sysprep_operation_package_manager_cache.ml
diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am
index e4b7f7b..78b1fa1 100644
--- a/sysprep/Makefile.am
+++ b/sysprep/Makefile.am
@@ -42,6 +42,7 @@ SOURCES = \
sysprep_operation_logfiles.ml \
sysprep_operation_mail_spool.ml \
sysprep_operation_net_hwaddr.ml \
+ sysprep_operation_package_manager_cache.ml \
sysprep_operation_random_seed.ml \
sysprep_operation_rhn_systemid.ml \
sysprep_operation_script.ml \
@@ -69,6 +70,7 @...
2006 Jun 22
2
[patch] ipconfig add dhcp file preseeding support
...be..5b16247 100644
--- a/usr/kinit/ipconfig/netdev.h
+++ b/usr/kinit/ipconfig/netdev.h
@@ -9,6 +9,7 @@ #include <sys/utsname.h>
#include <net/if.h>
#define BPLEN 40
+#define FNLEN 128 /* from RFC 2131, DHCP */
struct netdev {
const char *name; /* Device name */
@@ -42,6 +43,7 @@ struct netdev {
char dnsdomainname[SYS_NMLN]; /* dns domain name */
char nisdomainname[SYS_NMLN]; /* nis domain name */
char bootpath[BPLEN]; /* boot path */
+ char filename[FNLEN]; /* filename */
struct netdev *next; /* next configured i/f */
};
2000 Mar 07
2
patch for openssh-1.2.2p1
...AKIN ATTEMPT" warnings from ipv4 node
2. X forwarding
The following patche fixes them.
Thanks.
diff -ru openssh-1.2.2p1/canohost.c openssh-1.2.2p1-20000308/canohost.c
--- openssh-1.2.2p1/canohost.c Fri Jan 14 13:45:48 2000
+++ openssh-1.2.2p1-20000308/canohost.c Wed Mar 8 00:25:18 2000
@@ -42,6 +42,22 @@
debug("getpeername failed: %.100s", strerror(errno));
fatal_cleanup();
}
+
+#ifdef IPV4_IN_IPV6
+ if (((struct sockaddr *)&from)->sa_family == AF_INET6 &&
+ IN6_IS_ADDR_V4MAPPED((&((struct sockaddr_in6 *)&from)->sin6_addr))){
+ struct in_...