Displaying 20 results from an estimated 31 matches for "361,10".
Did you mean:
31,10
2016 Feb 20
0
[PATCH v2 2/4] v2v: introduce requested guestcaps type
...gan <rkagan@virtuozzo.com>
---
v2v/types.ml | 47 +++++++++++++++++++++++++++++++++++++----------
v2v/types.mli | 8 ++++++++
2 files changed, 45 insertions(+), 10 deletions(-)
diff --git a/v2v/types.ml b/v2v/types.ml
index a082c37..821b7ec 100644
--- a/v2v/types.ml
+++ b/v2v/types.ml
@@ -361,10 +361,29 @@ type guestcaps = {
gcaps_arch : string;
gcaps_acpi : bool;
}
+and requested_guestcaps = {
+ rcaps_block_bus : guestcaps_block_type option;
+ rcaps_net_bus : guestcaps_net_type option;
+ rcaps_video : guestcaps_video_type option;
+}
and guestcaps_block_type = Virtio_blk | ID...
2019 Aug 13
0
[PATCH 2/2] drm/virtio: notify virtqueues without holding spinlock
...q);
}
static void virtio_gpu_queue_cursor(struct virtio_gpu_device *vgdev,
@@ -339,6 +348,7 @@ static void virtio_gpu_queue_cursor(struct virtio_gpu_device *vgdev,
{
struct virtqueue *vq = vgdev->cursorq.vq;
struct scatterlist *sgs[1], ccmd;
+ bool notify;
int ret;
int outcnt;
@@ -361,10 +371,13 @@ static void virtio_gpu_queue_cursor(struct virtio_gpu_device *vgdev,
trace_virtio_gpu_cmd_queue(vq,
(struct virtio_gpu_ctrl_hdr *)vbuf->buf);
- virtqueue_kick(vq);
+ notify = virtqueue_kick_prepare(vq);
}
spin_unlock(&vgdev->cursorq.qlock);
+
+ if (notify)
+...
2018 Aug 21
7
[lld] avoid emitting PLT entries for ifuncs
...uot;);
Config->ZKeepTextSectionPrefix = getZFlag(
Args, "keep-text-section-prefix", "nokeep-text-section-prefix", false);
diff --git a/ELF/Relocations.cpp b/ELF/Relocations.cpp
index 8f60aa3d2..a54d87e43 100644
--- a/ELF/Relocations.cpp
+++ b/ELF/Relocations.cpp
@@ -361,6 +361,10 @@ static bool isStaticLinkTimeConstant(RelExpr E, RelType Type, const Symbol &Sym,
R_TLSLD_HINT>(E))
return true;
+ // The computation involves output from the ifunc resolver.
+ if (Sym.isGnuIFunc() && Config->ZIfuncnoplt)
+ return false;
+
//...
2007 May 29
0
Branch 'as' - 8 commits - libswfdec/Makefile.am libswfdec/swfdec_as_array.c libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_math.c libswfdec/swfdec_as_math.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c
...wfdecAsConte
return NAN;
d = g_ascii_strtod (s, &end);
if (*end == '\0')
- return d;
+ return d == -0.0 ? 0.0 : d;
else
return NAN;
}
case SWFDEC_AS_TYPE_OBJECT:
+ return NAN;
default:
g_assert_not_reached ();
return NAN;
@@ -360,10 +361,10 @@ swfdec_as_value_to_boolean (SwfdecAsCont
* @context: a #SwfdecAsContext
* @value: value to convert
*
- * Converts the given @value inline to its primitive value. Primitive values
- * are values that are not objects. If the value is an object, the object's
- * valueOf function is cal...
2012 Feb 09
7
[PATCH V2 0/3] Set VNC password to QEMU upstream
Anthony PERARD (3):
libxl_qmp: Use GC instead of CTX as parameter for _initialize.
Provide dm_vnc() as a in libxl helper.
libxl: Set VNC password through QMP
tools/libxl/libxl_create.c | 2 +-
tools/libxl/libxl_dm.c | 32 ++++++++++++++----------
tools/libxl/libxl_internal.h | 7 ++++-
tools/libxl/libxl_qmp.c | 55 ++++++++++++++++++++++++++++++-----------
4 files
2014 Dec 08
0
[PATCH v2 08/10] virtio_pci: split out legacy device support
...1,7 @@ static void vp_del_vq(struct virtqueue *vq)
}
/* the config->del_vqs() implementation */
-static void vp_del_vqs(struct virtio_device *vdev)
+void vp_del_vqs(struct virtio_device *vdev)
{
struct virtio_pci_device *vp_dev = to_vp_device(vdev);
struct virtqueue *vq, *n;
@@ -637,10 +361,10 @@ error_find:
}
/* the config->find_vqs() implementation */
-static int vp_find_vqs(struct virtio_device *vdev, unsigned nvqs,
- struct virtqueue *vqs[],
- vq_callback_t *callbacks[],
- const char *names[])
+int vp_find_vqs(struct virtio_device *vdev, unsigned nvq...
2014 Dec 08
0
[PATCH v2 08/10] virtio_pci: split out legacy device support
...1,7 @@ static void vp_del_vq(struct virtqueue *vq)
}
/* the config->del_vqs() implementation */
-static void vp_del_vqs(struct virtio_device *vdev)
+void vp_del_vqs(struct virtio_device *vdev)
{
struct virtio_pci_device *vp_dev = to_vp_device(vdev);
struct virtqueue *vq, *n;
@@ -637,10 +361,10 @@ error_find:
}
/* the config->find_vqs() implementation */
-static int vp_find_vqs(struct virtio_device *vdev, unsigned nvqs,
- struct virtqueue *vqs[],
- vq_callback_t *callbacks[],
- const char *names[])
+int vp_find_vqs(struct virtio_device *vdev, unsigned nvq...
2014 Dec 08
0
[PATCH 8/9] virtio_pci: split out legacy device support
...1,7 @@ static void vp_del_vq(struct virtqueue *vq)
}
/* the config->del_vqs() implementation */
-static void vp_del_vqs(struct virtio_device *vdev)
+void vp_del_vqs(struct virtio_device *vdev)
{
struct virtio_pci_device *vp_dev = to_vp_device(vdev);
struct virtqueue *vq, *n;
@@ -637,10 +361,10 @@ error_find:
}
/* the config->find_vqs() implementation */
-static int vp_find_vqs(struct virtio_device *vdev, unsigned nvqs,
- struct virtqueue *vqs[],
- vq_callback_t *callbacks[],
- const char *names[])
+int vp_find_vqs(struct virtio_device *vdev, unsigned nvq...
2014 Dec 08
0
[PATCH 8/9] virtio_pci: split out legacy device support
...1,7 @@ static void vp_del_vq(struct virtqueue *vq)
}
/* the config->del_vqs() implementation */
-static void vp_del_vqs(struct virtio_device *vdev)
+void vp_del_vqs(struct virtio_device *vdev)
{
struct virtio_pci_device *vp_dev = to_vp_device(vdev);
struct virtqueue *vq, *n;
@@ -637,10 +361,10 @@ error_find:
}
/* the config->find_vqs() implementation */
-static int vp_find_vqs(struct virtio_device *vdev, unsigned nvqs,
- struct virtqueue *vqs[],
- vq_callback_t *callbacks[],
- const char *names[])
+int vp_find_vqs(struct virtio_device *vdev, unsigned nvq...
2016 Mar 11
6
[PATCH v3 0/5] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset
2016 Mar 18
10
[PATCH v4 0/5] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset
2016 Feb 20
8
[PATCH v2 0/4] v2v: more control over device types
The decision on which device type to use for disks, network and video
cards on output used to be taken deep inside the converting functions.
This is not always desirable. In particular, there are scenarios when
this decision is made before the convertion takes place. E.g. in
in-place mode, the decisions are taken and the output VM configuration
is created outside of v2v tool.
This patchset
2014 Dec 08
11
[PATCH 0/9] virtio_pci: split out legacy device support
virtio 1.0 support for virtio-pci isn't ready yet.
Therefore, this patchset doesn't make any functional changes.
Instead, this simply refactors virtio-pci, splitting legacy
device support code out to a separate file: virtio_pci_legacy.c
For virtio 1.0, all that's left is to add virtio_pci_modern.c
supporting
get_features
finalize_features
get (config)
set (config)
get_status
2014 Dec 08
11
[PATCH 0/9] virtio_pci: split out legacy device support
virtio 1.0 support for virtio-pci isn't ready yet.
Therefore, this patchset doesn't make any functional changes.
Instead, this simply refactors virtio-pci, splitting legacy
device support code out to a separate file: virtio_pci_legacy.c
For virtio 1.0, all that's left is to add virtio_pci_modern.c
supporting
get_features
finalize_features
get (config)
set (config)
get_status
2012 Aug 30
2
[PATCH v2] daemon: collect list of called external commands
...ent);
r = command (NULL, &err,
- "lvm", "lvresize", "-l", size, logvol, NULL);
+ str_lvm, "lvresize", "-l", size, logvol, NULL);
if (r == -1) {
reply_with_error ("%s", err);
free (err);
@@ -361,10 +363,10 @@ do_lvm_remove_all (void)
/* Deactivate the LV first. On Ubuntu, lvremove '-f' option
* does not remove active LVs reliably.
*/
- (void) command (NULL, NULL, "lvm", "lvchange", "-an", xs[i], NULL);
+ (void) command (NULL, NU...
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
..._fence_ref(NULL, ¤t);
- nouveau_fence_ref(NULL, &screen->base.fence.current);
- }
-
- nouveau_object_del(&screen->query);
- nouveau_object_del(&screen->fence);
nouveau_object_del(&screen->ntfy);
nouveau_object_del(&screen->sifm);
@@ -361,10 +319,9 @@ nv30_screen_create(struct nouveau_device *dev)
{
struct nv30_screen *screen = CALLOC_STRUCT(nv30_screen);
struct pipe_screen *pscreen;
- struct nouveau_pushbuf *push;
struct nv04_fifo *fifo;
unsigned oclass = 0;
- int ret, i;
+ int ret;
if (!screen)...
2012 Aug 30
1
[PATCH] collect list of called external commands
...ent);
r = command (NULL, &err,
- "lvm", "lvresize", "-l", size, logvol, NULL);
+ str_lvm, "lvresize", "-l", size, logvol, NULL);
if (r == -1) {
reply_with_error ("%s", err);
free (err);
@@ -361,10 +363,10 @@ do_lvm_remove_all (void)
/* Deactivate the LV first. On Ubuntu, lvremove '-f' option
* does not remove active LVs reliably.
*/
- (void) command (NULL, NULL, "lvm", "lvchange", "-an", xs[i], NULL);
+ (void) command (NULL, NU...
2016 Apr 04
0
[PATCH 2/2] Use 'error' function for fprintf followed by exit.
...sd: failed to encode reply header\n");
- exit (EXIT_FAILURE);
- }
+ if (!xdr_guestfs_message_header (&xdr, &hdr))
+ error (EXIT_FAILURE, 0, "failed to encode reply header");
if (xdrp) {
/* This can fail if the reply body is too large, for example
@@ -376,14 +361,10 @@ reply (xdrproc_t xdrp, char *ret)
xdr_u_int (&xdr, &len);
xdr_destroy (&xdr);
- if (xwrite (sock, lenbuf, 4) == -1) {
- fprintf (stderr, "guestfsd: xwrite failed\n");
- exit (EXIT_FAILURE);
- }
- if (xwrite (sock, buf, (size_t) len) == -1) {
- fprintf...
2014 Jun 17
2
[PATCH try 2 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com>
---
src/gallium/drivers/nouveau/nouveau_fence.c | 76 ++++++++++++-------------
src/gallium/drivers/nouveau/nouveau_fence.h | 22 +++++--
src/gallium/drivers/nouveau/nouveau_screen.c | 9 +++
src/gallium/drivers/nouveau/nouveau_screen.h | 14 ++---
src/gallium/drivers/nouveau/nv30/nv30_context.c | 4 +-
2016 Apr 04
2
[PATCH 1/2] Use 'error' function consistently throughout.
...fish/fish.c
index 1e29639..6f9c784 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -27,6 +27,7 @@
#include <getopt.h>
#include <signal.h>
#include <errno.h>
+#include <error.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <locale.h>
@@ -360,10 +361,8 @@ main (int argc, char *argv[])
exit (EXIT_SUCCESS);
}
drv = calloc (1, sizeof (struct drv));
- if (!drv) {
- perror ("calloc");
- exit (EXIT_FAILURE);
- }
+ if (!drv)
+ error (EXIT_FAILURE, errno, "calloc");
d...