Displaying 20 results from an estimated 84 matches for "115,8".
2007 Apr 18
0
[PATCH 1/3] Gdt page isolation fix
...ess)); \
-set_limit(per_cpu(cpu_gdt_table,cpu)[(selname) >> 3], size); \
+set_base(get_cpu_gdt_table(cpu)[(selname) >> 3], (u32)(address)); \
+set_limit(get_cpu_gdt_table(cpu)[(selname) >> 3], size); \
} while(0)
static struct desc_struct bad_bios_desc = { 0, 0x00409200 };
@@ -115,8 +115,8 @@ static inline u16 call_pnp_bios(u16 func
return PNP_FUNCTION_NOT_SUPPORTED;
cpu = get_cpu();
- save_desc_40 = per_cpu(cpu_gdt_table,cpu)[0x40 / 8];
- per_cpu(cpu_gdt_table,cpu)[0x40 / 8] = bad_bios_desc;
+ save_desc_40 = get_cpu_gdt_table(cpu)[0x40 / 8];
+ get_cpu_gdt_table(cpu)[...
2007 Apr 18
0
[PATCH 1/3] Gdt page isolation fix
...ess)); \
-set_limit(per_cpu(cpu_gdt_table,cpu)[(selname) >> 3], size); \
+set_base(get_cpu_gdt_table(cpu)[(selname) >> 3], (u32)(address)); \
+set_limit(get_cpu_gdt_table(cpu)[(selname) >> 3], size); \
} while(0)
static struct desc_struct bad_bios_desc = { 0, 0x00409200 };
@@ -115,8 +115,8 @@ static inline u16 call_pnp_bios(u16 func
return PNP_FUNCTION_NOT_SUPPORTED;
cpu = get_cpu();
- save_desc_40 = per_cpu(cpu_gdt_table,cpu)[0x40 / 8];
- per_cpu(cpu_gdt_table,cpu)[0x40 / 8] = bad_bios_desc;
+ save_desc_40 = get_cpu_gdt_table(cpu)[0x40 / 8];
+ get_cpu_gdt_table(cpu)[...
2012 Dec 06
1
[PATCH] memop: adjust error checking in populate_physmap()
...rent->domain, a->extent_order) )
+ if ( a->memflags & MEMF_populate_on_demand ? a->extent_order > MAX_ORDER :
+ !multipage_allocation_permitted(current->domain, a->extent_order) )
return;
for ( i = a->nr_done; i < a->nr_extents; i++ )
@@ -115,8 +116,7 @@ static void populate_physmap(struct memo
if ( a->memflags & MEMF_populate_on_demand )
{
- if ( a->extent_order > MAX_ORDER ||
- guest_physmap_mark_populate_on_demand(d, gpfn,
+ if ( guest_physmap_mark_populate_on_dem...
2016 Oct 06
1
[PATCH] appliance: add/remove some packages for Arch Linux
...a/appliance/packagelist.in b/appliance/packagelist.in
index 77bd464..f278f66 100644
--- a/appliance/packagelist.in
+++ b/appliance/packagelist.in
@@ -102,6 +102,7 @@ dnl iproute has been renamed to iproute2
ifelse(ARCHLINUX,1,
augeas
cdrkit
+ cdrtools
cryptsetup
dhcpcd
gptfdisk
@@ -115,8 +116,8 @@ ifelse(ARCHLINUX,1,
dnl syslinux has mtools as optional dependency, but in reality it's
dnl a hard one:
mtools
+ multipath-tools dnl for kpartx
nilfs-utils
- ntfsprogs
ntfs-3g
pcre
reiserfsprogs
@@ -124,7 +125,6 @@ ifelse(ARCHLINUX,1,
vim
xz
yajl
-...
2019 Aug 05
2
[PATCH] drm/qxl: get vga ioports
...get_interruptible(pdev, VGA_RSRC_LEGACY_IO);
+ if (ret) {
+ DRM_ERROR("can't get legacy vga ports\n");
+ goto put_vga;
+ }
+
ret = qxl_device_init(qdev, &qxl_driver, pdev);
if (ret)
- goto disable_pci;
+ goto put_vga;
ret = qxl_modeset_init(qdev);
if (ret)
@@ -109,6 +115,8 @@ qxl_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
qxl_modeset_fini(qdev);
unload:
qxl_device_fini(qdev);
+put_vga:
+ vga_put(pdev, VGA_RSRC_LEGACY_IO);
disable_pci:
pci_disable_device(pdev);
free_dev:
@@ -126,6 +134,7 @@ qxl_pci_remove(struct pci_dev *pdev)
qxl_...
2016 May 18
2
[PATCH RFC 0/1] virtio-balloon vs. endianness
Hi Michael,
this patch (against your vhost branch) should fix the endianness issues
we saw on s390 that I mentioned on irc yesterday.
Both the config space and the stats seem to be fine endianness-wise,
but the pfns for inflate/deflate were not converted to little endian
for virtio-1 (the qemu code is correct).
Without the patch, I get an immediate crash on qemu master when
started via libvirt
2016 May 18
2
[PATCH RFC 0/1] virtio-balloon vs. endianness
Hi Michael,
this patch (against your vhost branch) should fix the endianness issues
we saw on s390 that I mentioned on irc yesterday.
Both the config space and the stats seem to be fine endianness-wise,
but the pfns for inflate/deflate were not converted to little endian
for virtio-1 (the qemu code is correct).
Without the patch, I get an immediate crash on qemu master when
started via libvirt
2002 May 22
0
[PATCH] connect() timeout
...login. You can also just browse the case at
http://bugzilla.mindrot.org/show_bug.cgi?id=207
Hope this patch help you.
--
Jean-Charles
-------------- next part --------------
--- openssh-3.2.2p1/readconf.c.ORIG Tue Feb 5 02:26:35 2002
+++ openssh-3.2.2p1/readconf.c Tue May 21 15:40:06 2002
@@ -115,7 +115,8 @@
oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias,
oDynamicForward, oPreferredAuthentications, oHostbasedAuthentication,
oHostKeyAlgorithms, oBindAddress, oSmartcardDevice,
- oClearAllForwardings, oNoHostAuthenticationForLocalhost
+ oClearAllForwardings, oNoHost...
2016 May 18
0
[PATCH RFC 1/1] virtio-balloon: handle virtio-1 endianness
...@@ -76,6 +76,7 @@ struct virtio_balloon {
/* The array of pfns we tell the Host about. */
unsigned int num_pfns;
u32 pfns[VIRTIO_BALLOON_ARRAY_PFNS_MAX];
+ __virtio32 vpfns[VIRTIO_BALLOON_ARRAY_PFNS_MAX];
/* Memory statistics */
struct virtio_balloon_stat stats[VIRTIO_BALLOON_S_NR];
@@ -115,8 +116,11 @@ static void tell_host(struct virtio_balloon *vb, struct virtqueue *vq)
{
struct scatterlist sg;
unsigned int len;
+ int i;
- sg_init_one(&sg, vb->pfns, sizeof(vb->pfns[0]) * vb->num_pfns);
+ for (i = 0; i < vb->num_pfns; i++)
+ vb->vpfns[i] = cpu_to_virtio...
2019 Aug 05
0
[Spice-devel] [PATCH] drm/qxl: get vga ioports
...e VGA registers in the system so
if any other card provide them QXL won't work.
> + }
> +
> ret = qxl_device_init(qdev, &qxl_driver, pdev);
> if (ret)
> - goto disable_pci;
> + goto put_vga;
>
> ret = qxl_modeset_init(qdev);
> if (ret)
> @@ -109,6 +115,8 @@ qxl_pci_probe(struct pci_dev *pdev, const struct
> pci_device_id *ent)
> qxl_modeset_fini(qdev);
> unload:
> qxl_device_fini(qdev);
> +put_vga:
> + vga_put(pdev, VGA_RSRC_LEGACY_IO);
What happen if you didn't get the I/O? Maybe it's safe to
just call vga_put and...
2016 Aug 26
0
[PATCH v2 6/7] v2v: linux: check the kernel package name for Debian
...ckages are named like
"linux-image-$kver", so check for them.
---
v2v/convert_linux.ml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index 6f96073..464ad49 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -115,7 +115,8 @@ let rec convert ~keep_serial_console (g : G.guestfs) inspect source rcaps =
filter_map (
function
| { G.app2_name = name } as app
- when name = "kernel" || String.is_prefix name "kernel-" ->
+ when name = "kernel" ||...
1996 Dec 16
0
Re: vixie-crontab for redhat linux (Fix)
...Enlarging
the buffer to the largest possible input but restricting the length a
posteriori closes this particular problem:
diff -ru vixie-cron-3.0.1~/env.c vixie-cron-3.0.1/env.c
--- vixie-cron-3.0.1~/env.c Mon Dec 16 22:42:55 1996
+++ vixie-cron-3.0.1/env.c Mon Dec 16 22:55:52 1996
@@ -115,8 +115,9 @@
{
long filepos;
int fileline;
- char name[MAX_TEMPSTR], val[MAX_ENVSTR];
+ char name[MAX_ENVSTR], val[MAX_ENVSTR];
int fields;
+ int Error = 0;
filepos = ftell(f);
fileline = LineNumber;
@@ -128,8 +129,14 @...
2006 Aug 18
2
[patch] simplify nuke
...f (!err)
- err = rmdir(what) ? errno : err;
- } else {
- err = errno;
+ rmdir(what);
}
}
- if (err) {
- fprintf(stderr, "%s: %s: %s\n", program, what, strerror(err));
- return err;
- } else {
- return 0;
- }
+ return 0;
}
int main(int argc, char *argv[])
@@ -122,11 +115,8 @@ int main(int argc, char *argv[])
program = argv[0];
- for (i = 1; i < argc; i++) {
- err = nuke(argv[i]);
- if (err)
- break;
- }
+ for (i = 1; i < argc; i++)
+ nuke(argv[i]);
- return !!err;
+ return 0;
}
--
maks
2002 Jan 26
5
[PATCH] Connect timeout
...1:44:35 2002
@@ -44,6 +44,8 @@
#include <grp.h>
#include <time.h>
#include <dirent.h>
+#include <setjmp.h>
+#include <signal.h>
#ifdef HAVE_LIMITS_H
# include <limits.h>
--- readconf.c.OK Wed Oct 3 19:39:39 2001
+++ readconf.c Sat Jan 26 21:44:35 2002
@@ -115,7 +115,8 @@
oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias,
oDynamicForward, oPreferredAuthentications, oHostbasedAuthentication,
oHostKeyAlgorithms, oBindAddress, oSmartcardDevice,
- oClearAllForwardings, oNoHostAuthenticationForLocalhost
+ oClearAllForwardings, oNoHos...
2017 Jul 24
0
Re: [PATCH v2] common/mlstdutils: Build a bytecode version of this library.
...$@
>
> # This OCaml module has to be generated by make (configure will put
> # unexpanded prefix macro in).
> diff --git a/generator/Makefile.am b/generator/Makefile.am
> index 3f54ad51d..d4a21fe97 100644
> --- a/generator/Makefile.am
> +++ b/generator/Makefile.am
> @@ -115,8 +115,6 @@ sources = \
> # In build dependency order.
> objects = \
> $(OCAML_BYTES_COMPAT_CMO) \
> - ../common/mlstdutils/guestfs_config.cmo \
> - ../common/mlstdutils/std_utils.cmo \
Most probably also $(OCAML_BYTES_COMPAT_CMO) should be removed, since
it's part of mlstdu...
2011 Nov 11
0
[PATCH 9/9] Decompressors: check input size in unlzo.c
...t
+ * be left to be parsed. If also mtime_high is present, it''s OK
+ * because the next input buffer check is after reading the
+ * filename length.
+ */
+ if (end - parse < 8 + 1 + 4)
+ return 0;
+
/* skip mode and mtime_low */
parse += 8;
if (version >= 0x0940)
@@ -95,6 +115,8 @@ static int INIT parse_header(u8 *input,
l = *parse++;
/* don''t care about the file name, and skip checksum */
+ if (end - parse < l + 4)
+ return 0;
parse += l + 4;
*skip = parse - input;
@@ -107,7 +129,8 @@ STATIC int INIT unlzo(u8 *input, unsigne
u8 *output...
2014 May 05
2
[PATCH] test-charset-fidelity: allow to skip testing specific FSes
.../* Allow this test to be skipped. */
- str = getenv ("SKIP_TEST_CHARSET_FIDELITY");
+ str = getenv (ourenvvar);
if (str && STREQ (str, "1")) {
printf ("%s: test skipped because environment variable is set.\n",
program_name);
@@ -113,6 +115,8 @@ static void
test_filesystem (guestfs_h *g, const struct filesystem *fs)
{
const char *feature[] = { fs->fs_feature, NULL };
+ char envvar[sizeof (ourenvvar) + 20];
+ char *str;
if (fs->fs_feature && !guestfs_feature_available (g, (char **) feature)) {
printf (&qu...
2020 Apr 21
2
[PATCH net] vsock/virtio: postpone packet delivery to monitoring devices
...net/vmw_vsock/virtio_transport.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/net/vmw_vsock/virtio_transport.c b/net/vmw_vsock/virtio_transport.c
index dfbaf6bd8b1c..d8db837a96fe 100644
--- a/net/vmw_vsock/virtio_transport.c
+++ b/net/vmw_vsock/virtio_transport.c
@@ -115,8 +115,6 @@ virtio_transport_send_pkt_work(struct work_struct *work)
list_del_init(&pkt->list);
spin_unlock_bh(&vsock->send_pkt_list_lock);
- virtio_transport_deliver_tap_pkt(pkt);
-
reply = pkt->reply;
sg_init_one(&hdr, &pkt->hdr, sizeof(pkt->hdr));...
2020 Apr 21
2
[PATCH net] vsock/virtio: postpone packet delivery to monitoring devices
...net/vmw_vsock/virtio_transport.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/net/vmw_vsock/virtio_transport.c b/net/vmw_vsock/virtio_transport.c
index dfbaf6bd8b1c..d8db837a96fe 100644
--- a/net/vmw_vsock/virtio_transport.c
+++ b/net/vmw_vsock/virtio_transport.c
@@ -115,8 +115,6 @@ virtio_transport_send_pkt_work(struct work_struct *work)
list_del_init(&pkt->list);
spin_unlock_bh(&vsock->send_pkt_list_lock);
- virtio_transport_deliver_tap_pkt(pkt);
-
reply = pkt->reply;
sg_init_one(&hdr, &pkt->hdr, sizeof(pkt->hdr));...
2012 Aug 31
0
[PATCH v3] Btrfs-progs: add options to change bufsize in logical to inode translation
...t
- document command''s options
cmds-inspect.c | 23 +++++++++++++++++------
man/btrfs.8.in | 7 +++++--
2 files changed, 22 insertions(+), 8 deletions(-)
diff --git a/cmds-inspect.c b/cmds-inspect.c
index 2f0228f..42f16fc 100644
--- a/cmds-inspect.c
+++ b/cmds-inspect.c
@@ -115,8 +115,13 @@ static int cmd_inode_resolve(int argc, char **argv)
}
static const char * const cmd_logical_resolve_usage[] = {
- "btrfs inspect-internal logical-resolve [-Pv] <logical> <path>",
+ "btrfs inspect-internal logical-resolve [-Pv] [-s bufsize] <logical>...