search for: 26,16

Displaying 20 results from an estimated 47 matches for "26,16".

Did you mean: 22,16
2020 Feb 19
0
[RESEND PATCH v2 4/9] virtio: pci: Constify ioreadX() iomem argument (as in generic implementation)
.../virtio/virtio_pci_modern.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/virtio/virtio_pci_modern.c b/drivers/virtio/virtio_pci_modern.c index 7abcc50838b8..fc58db4ab6c3 100644 --- a/drivers/virtio/virtio_pci_modern.c +++ b/drivers/virtio/virtio_pci_modern.c @@ -26,16 +26,16 @@ * method, i.e. 32-bit accesses for 32-bit fields, 16-bit accesses * for 16-bit fields and 8-bit accesses for 8-bit fields. */ -static inline u8 vp_ioread8(u8 __iomem *addr) +static inline u8 vp_ioread8(const u8 __iomem *addr) { return ioread8(addr); } -static inline u16 vp_io...
2020 Aug 29
0
[klibc:master] ia64: Fix invalid memory access in vfork
...<ben at decadent.org.uk> --- usr/klibc/arch/ia64/vfork.S | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usr/klibc/arch/ia64/vfork.S b/usr/klibc/arch/ia64/vfork.S index 7e76a714..e513188b 100644 --- a/usr/klibc/arch/ia64/vfork.S +++ b/usr/klibc/arch/ia64/vfork.S @@ -26,16 +26,12 @@ vfork: mov r15=__NR_clone mov out0=CLONE_VM|CLONE_VFORK|SIGCHLD mov out1=0 - ;; break 0x100000 // Do the syscall - ;; - addl r15=0,r1 cmp.eq p7,p6 = -1,r10 ;; - ld8 r14=[r15] +(p7) movl r14 = errno ;; (p7) st4 [r14]=r8 - ;; (p7) mov r8=-1 br.ret.sptk.many b0...
2017 Jan 16
0
[PULL 2/5] tools/virtio/ringtest: tweaks for s390
...ia.huck at de.ibm.com> --- tools/virtio/ringtest/main.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tools/virtio/ringtest/main.h b/tools/virtio/ringtest/main.h index 34e63cc4c572..14142faf040b 100644 --- a/tools/virtio/ringtest/main.h +++ b/tools/virtio/ringtest/main.h @@ -26,6 +26,16 @@ static inline void wait_cycles(unsigned long long cycles) #define VMEXIT_CYCLES 500 #define VMENTRY_CYCLES 500 +#elif defined(__s390x__) +static inline void wait_cycles(unsigned long long cycles) +{ + asm volatile("0: brctg %0,0b" : : "d" (cycles)); +} + +/* twea...
2009 Sep 17
0
[PATCHv3 2/2] mm: reduce atomic use on use_mm fast path
...ge at redhat.com> Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- mm/mmu_context.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mm/mmu_context.c b/mm/mmu_context.c index fd473b5..ded9081 100644 --- a/mm/mmu_context.c +++ b/mm/mmu_context.c @@ -26,13 +26,16 @@ void use_mm(struct mm_struct *mm) task_lock(tsk); active_mm = tsk->active_mm; - atomic_inc(&mm->mm_count); + if (active_mm != mm) { + atomic_inc(&mm->mm_count); + tsk->active_mm = mm; + } tsk->mm = mm; - tsk->active_mm = mm; switch_mm(active_mm, mm...
2009 Sep 17
0
[PATCHv3 2/2] mm: reduce atomic use on use_mm fast path
...ge at redhat.com> Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- mm/mmu_context.c | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mm/mmu_context.c b/mm/mmu_context.c index fd473b5..ded9081 100644 --- a/mm/mmu_context.c +++ b/mm/mmu_context.c @@ -26,13 +26,16 @@ void use_mm(struct mm_struct *mm) task_lock(tsk); active_mm = tsk->active_mm; - atomic_inc(&mm->mm_count); + if (active_mm != mm) { + atomic_inc(&mm->mm_count); + tsk->active_mm = mm; + } tsk->mm = mm; - tsk->active_mm = mm; switch_mm(active_mm, mm...
2014 Jan 27
0
[PATCH 2/2] tests/disks: skip test-qemu-drive-libvirt.sh if libvirt is < 1.1.3
...isks/test-qemu-drive-libvirt.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/disks/test-qemu-drive-libvirt.sh b/tests/disks/test-qemu-drive-libvirt.sh index e85c249..b355371 100755 --- a/tests/disks/test-qemu-drive-libvirt.sh +++ b/tests/disks/test-qemu-drive-libvirt.sh @@ -26,6 +26,16 @@ if [ -z "$abs_srcdir" ]; then exit 1 fi +if [ ! -s ../libvirt/libvirt-is-version ]; then + echo "$0: test skipped because libvirt-is-version is not built yet" + exit 77 +fi + +if ! ../libvirt/libvirt-is-version 1 1 3; then + echo "$0: test skipp...
2015 May 20
0
[PATCH v2 02/11] resize: add logical_partitions and extended_partition
...f-by: Chen Hanxiao <chenhanxiao@cn.fujitsu.com> --- resize/resize.ml | 37 +++++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a/resize/resize.ml b/resize/resize.ml index 4c97405..d7a8ce1 100644 --- a/resize/resize.ml +++ b/resize/resize.ml @@ -26,19 +26,16 @@ module G = Guestfs (* Minimum surplus before we create an extra partition. *) let min_extra_partition = 10L *^ 1024L *^ 1024L +(* mbr extended partition *) +let extended_partition_list = [] + (* Command line argument parsing. *) type align_first_t = [ `Never | `Always | `Auto ]...
2017 Dec 07
1
[PATCH] v2v: -o null: Use the qemu null device driver.
...-- v2v/output_null.ml | 47 +++++++++++++++++++++++++++++++++-------------- v2v/virt-v2v.pod | 4 ---- 2 files changed, 33 insertions(+), 18 deletions(-) diff --git a/v2v/output_null.ml b/v2v/output_null.ml index d01f45654..4d06aa0de 100644 --- a/v2v/output_null.ml +++ b/v2v/output_null.ml @@ -26,16 +26,23 @@ open Common_gettext.Gettext open Types open Utils +(* Notes: + * + * This only happens to work because we run qemu-img convert + * with the -n [no create output] option, since null-co doesn't + * support creation. If -n is removed in the main program then + * the tests will br...
2015 May 28
2
Re: [PATCH v2 02/11] resize: add logical_partitions and extended_partition
....com> > --- > resize/resize.ml | 37 +++++++++++++++++++++++-------------- > 1 file changed, 23 insertions(+), 14 deletions(-) > > diff --git a/resize/resize.ml b/resize/resize.ml > index 4c97405..d7a8ce1 100644 > --- a/resize/resize.ml > +++ b/resize/resize.ml > @@ -26,19 +26,16 @@ module G = Guestfs > (* Minimum surplus before we create an extra partition. *) > let min_extra_partition = 10L *^ 1024L *^ 1024L > > +(* mbr extended partition *) > +let extended_partition_list = [] This assignment doesn't really do anything. 'let' bin...
2019 Feb 02
2
[PATCH 1/2] ia64: Fix invalid memory access in vfork
...the first thing pointed to by GP. --- usr/klibc/arch/ia64/vfork.S | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usr/klibc/arch/ia64/vfork.S b/usr/klibc/arch/ia64/vfork.S index 7e76a71..e513188 100644 --- a/usr/klibc/arch/ia64/vfork.S +++ b/usr/klibc/arch/ia64/vfork.S @@ -26,16 +26,12 @@ vfork: mov r15=__NR_clone mov out0=CLONE_VM|CLONE_VFORK|SIGCHLD mov out1=0 - ;; break 0x100000 // Do the syscall - ;; - addl r15=0,r1 cmp.eq p7,p6 = -1,r10 ;; - ld8 r14=[r15] +(p7) movl r14 = errno ;; (p7) st4 [r14]=r8 - ;; (p7) mov r8=-1 br.ret.sptk.many b0...
2018 Sep 14
2
Poor documentation for "adj" and text()
...ving to read the whole page. > > > > Regards, > > Ulrich Windl > > > > ______________________________________________ > > R-devel at r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > > --- text.Rd 2016-11-27 18:33:26.541516325 -0800 > +++ new-text.Rd 2017-04-11 11:48:32.668926075 -0700 > @@ -26,16 +26,18 @@ > If \code{labels} is longer than \code{x} and > \code{y}, the coordinates are recycled to the length of \code{labels}.} > \item{adj}{one or two values in \eqn{[0, 1]} which speci...
2014 Jan 27
3
[PATCH 0/2] Skip test-qemu-drive-libvirt.sh if libvirt is < 1.1.3
Hi, test-qemu-drive-libvirt.sh fails to run with libvirt < 1.1.3, because the <test:runstate> attribute (used to keep the domains shut off) has been introduced in that libvirt version. Create a small (uninstalled) C tool which just does this version check, to be used in all the tests (just one, so far) written in shell/scripting language. Pino Toscano (2): tests: add a a simple
2018 Sep 14
0
Poor documentation for "adj" and text()
...; > Regards, > Ulrich Windl >> > >> > ______________________________________________ > >> R-devel at r-project.org mailing list > >> https://stat.ethz.ch/mailman/listinfo/r-devel >> > >> --- text.Rd 2016-11-27 18:33:26.541516325 -0800 +++ >> new-text.Rd 2017-04-11 11:48:32.668926075 -0700 @@ -26,16 >> +26,18 @@ If \code{labels} is longer than \code{x} and >> \code{y}, the coordinates are recycled to the length of >> \code{labels}.} \item{adj}{one or two values in \eqn{[0,...
2023 Aug 31
3
[PATCH drm-misc-next 2/3] drm/gpuva_mgr: generalize dma_resv/extobj handling and GEM validation
...diff --git a/include/drm/drm_gpuva_mgr.h b/include/drm/drm_gpuva_mgr.h >>>>>>> index ed8d50200cc3..693e2da3f425 100644 >>>>>>> --- a/include/drm/drm_gpuva_mgr.h >>>>>>> +++ b/include/drm/drm_gpuva_mgr.h >>>>>>> @@ -26,12 +26,16 @@ >>>>>>> */ >>>>>>> #include <linux/list.h> >>>>>>> +#include <linux/dma-resv.h> >>>>>>> +#include <linux/maple_tree.h> >>>>>>> #include <linux/r...
2015 May 20
15
[PATCH v2 00/11] virt-resize: add support for resizing MBR logical partitions
In current virt-resize, only primary partitions(including extended partition) are supported. They are collected in an array for resize operations. Logical partitions are not supported. This series add support for resizing logical partitions. v2: 1) Add 3 variables to describe relationship of logical and extended partitions: - partitions flat list of primary partitions (as now, the global
2017 Apr 11
2
Poor documentation for "adj" and text()
Hi! (I'd like to be able to access your bugzilla, BTW) The documentation for parameter "adj" of text() in R 3.3.3 is hard to understand (unless you know what it does already): "adj one or two values in [0, 1] which specify the x (and optionally y) adjustment of the labels. On most devices values outside that interval will also work." What is the meaning of the values? I
2017 Jan 16
7
[PULL 0/5] virtio/s390 patches for -next
...0:13:43 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git tags/virtio-s390-20170116 for you to fetch changes up to 364cf19a474501cf157f1d09895ebab71e603c77: virtio/s390: virtio: constify virtio_config_ops structures (2017-01-16 12:26:07 +0100) ---------------------------------------------------------------- - ringtest fixes to make it work on s390 - support new READ_STATUS command - minor cleanups ---------------------------------------------------------------- Bhumika Goyal (1): virtio/s390: virtio: constify virtio_config...
2017 Jan 16
7
[PULL 0/5] virtio/s390 patches for -next
...0:13:43 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git tags/virtio-s390-20170116 for you to fetch changes up to 364cf19a474501cf157f1d09895ebab71e603c77: virtio/s390: virtio: constify virtio_config_ops structures (2017-01-16 12:26:07 +0100) ---------------------------------------------------------------- - ringtest fixes to make it work on s390 - support new READ_STATUS command - minor cleanups ---------------------------------------------------------------- Bhumika Goyal (1): virtio/s390: virtio: constify virtio_config...
2019 Sep 23
0
[PATCH 2/6] mdev: introduce device specific ops
...ows: +The device specific callbacks are referred through device_ops pointer +in mdev_parent_ops. For vfio-mdev device, its callbacks in device_ops +are as follows: * open: open callback of mediated device * close: close callback of mediated device diff --git a/MAINTAINERS b/MAINTAINERS index b2326dece28e..89832b316500 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -17075,6 +17075,7 @@ S: Maintained F: Documentation/driver-api/vfio-mediated-device.rst F: drivers/vfio/mdev/ F: include/linux/mdev.h +F: include/linux/vfio_mdev.h F: samples/vfio-mdev/ VFIO PLATFORM DRIVER diff --git a/drive...
2016 Jan 09
0
[PATCH] build: Require qemu >= 1.3.0 and yajl.
...4 --- a/builder/yajl_tests.ml +++ b/builder/yajl_tests.ml @@ -134,6 +134,4 @@ let suite = ] let () = - if not (yajl_is_available ()) then - exit 77; run_test_tt_main suite diff --git a/daemon/ldm.c b/daemon/ldm.c index 3705aa4..71cdf46 100644 --- a/daemon/ldm.c +++ b/daemon/ldm.c @@ -26,16 +26,12 @@ #include <glob.h> #include <string.h> -#if HAVE_YAJL #include <yajl/yajl_tree.h> -#endif #include "daemon.h" #include "actions.h" #include "optgroups.h" -#if HAVE_YAJL - GUESTFSD_EXT_CMD(str_ldmtool, ldmtool); int @@ -441,...