search for: 605,15

Displaying 11 results from an estimated 11 matches for "605,15".

Did you mean: 105,15
2018 Dec 15
0
[PATCH nbdkit v2 3/4] sh: Switch nbdkit-sh-plugin to use API version 2.
...xpected code (3/false)", + script, "can_fua"); + errno = EIO; + return -1; + + default: abort (); + } +} + +static int +sh_flush (void *handle, uint32_t flags) { char *h = handle; const char *args[] = { script, "flush", h, NULL }; @@ -507,14 +605,15 @@ sh_flush (void *handle) } static int -sh_trim (void *handle, uint32_t count, uint64_t offset) +sh_trim (void *handle, uint32_t count, uint64_t offset, uint32_t flags) { char *h = handle; - char cbuf[32], obuf[32]; - const char *args[] = { script, "trim", h, cbuf, obuf, NUL...
2020 Feb 06
0
[PATCH 3/4] drm/nouveau: Remove field nvbo from struct nouveau_framebuffer
...+++++++-------- 7 files changed, 74 insertions(+), 84 deletions(-) diff --git a/drivers/gpu/drm/nouveau/dispnv04/crtc.c b/drivers/gpu/drm/nouveau/dispnv04/crtc.c index 37c50ea8f847..ece877c727cd 100644 --- a/drivers/gpu/drm/nouveau/dispnv04/crtc.c +++ b/drivers/gpu/drm/nouveau/dispnv04/crtc.c @@ -605,15 +605,16 @@ static int nv_crtc_swap_fbs(struct drm_crtc *crtc, struct drm_framebuffer *old_fb) { struct nv04_display *disp = nv04_display(crtc->dev); - struct nouveau_framebuffer *nvfb = nouveau_framebuffer(crtc->primary->fb); + struct drm_framebuffer *fb = crtc->primary->fb; +...
2018 Dec 15
5
[PATCH nbdkit v2 0/4] tests: Test export flags (eflags).
v1 was here: https://www.redhat.com/archives/libguestfs/2018-December/thread.html#00123 v2: - Document "-" instead of "script=-" and use it in the test; and verify this also works on FreeBSD; and verify that it doesn't depend on the particular behaviour of our wrapper script and should work with installed nbdkit too. - Fix handling of zero flags parameter. -
2018 Apr 20
1
[PATCH] v2v: rework handling of CPU topology
..._back cpu (e "topology" topology_attrs []) ); List.push_back_list body [ e "cpu" [ "match", "minimum" ] !cpu ] diff --git a/v2v/create_ovf.ml b/v2v/create_ovf.ml index 625065214..c29b8421c 100644 --- a/v2v/create_ovf.ml +++ b/v2v/create_ovf.ml @@ -605,27 +605,15 @@ let rec create_ovf source targets guestcaps inspect e "rasd:InstanceId" [] [PCData "1"]; e "rasd:ResourceType" [] [PCData "3"] ] @ - if source.s_cpu_sockets <> None || source.s_cpu_cores <> Non...
2009 May 11
0
[PATCH 1/2] qemu-kvm: add MSI-X support
...vdev, vdev->config); - addr -= vdev->addr + VIRTIO_PCI_CONFIG; + addr -= vdev->addr; + if (addr < config) + return virtio_ioport_read(opaque, addr); + addr -= config; if (addr > (vdev->config_len - sizeof(val))) return (uint32_t)-1; @@ -560,11 +605,15 @@ static uint32_t virtio_config_readw(void *opaque, uint32_t addr) static uint32_t virtio_config_readl(void *opaque, uint32_t addr) { VirtIODevice *vdev = opaque; + uint32_t config = VIRTIO_PCI_CONFIG(&vdev->pci_dev); uint32_t val; vdev->get_config(vdev, vdev-&gt...
2009 May 11
0
[PATCH 1/2] qemu-kvm: add MSI-X support
...vdev, vdev->config); - addr -= vdev->addr + VIRTIO_PCI_CONFIG; + addr -= vdev->addr; + if (addr < config) + return virtio_ioport_read(opaque, addr); + addr -= config; if (addr > (vdev->config_len - sizeof(val))) return (uint32_t)-1; @@ -560,11 +605,15 @@ static uint32_t virtio_config_readw(void *opaque, uint32_t addr) static uint32_t virtio_config_readl(void *opaque, uint32_t addr) { VirtIODevice *vdev = opaque; + uint32_t config = VIRTIO_PCI_CONFIG(&vdev->pci_dev); uint32_t val; vdev->get_config(vdev, vdev-&gt...
2012 Dec 12
2
[PATCH v7 1/2] xen: unify domain locking in domctl code
These two patches were originally part of the XSM series that I have posted, and remain prerequisites for that series. However, they are independent of the XSM changes and are a useful simplification regardless of the use of XSM. The Acked-bys on these patches were provided before rebasing them over the copyback changes in 26268:1b72138bddda, which had minor conflicts that I resolved. [PATCH
2020 Feb 06
5
[PATCH 0/4] drm/nouveau: Remove struct nouveau_framebuffer
All fields in struct nouveau_framebuffer appear to be obsolete. The data structure can be replaced by struct drm_framebuffer entirely. Patch 1 removes several unused fields from struct nouveau_framebuffer. Patch 2 moves the field vma to struct nouveau_fbdev. The information in vma is only relevant for fbdev emulation, and as such he field is only used there. Patch 3 removes nvbo from struct
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...egister_private(&psbfb->base); drm_framebuffer_cleanup(&psbfb->base); - if (psbfb->gtt) - drm_gem_object_unreference_unlocked(&psbfb->gtt->gem); + if (psbfb->base.gem_objs[0]) + drm_gem_object_unreference_unlocked(psbfb->base.gem_objs[0]); return 0; } @@ -605,25 +601,6 @@ static void psbfb_output_poll_changed(struct drm_device *dev) drm_fb_helper_hotplug_event(&fbdev->psb_fb_helper); } -/** - * psb_user_framebuffer_create_handle - add hamdle to a framebuffer - * @fb: framebuffer - * @file_priv: our DRM file - * @handle: returned handle - * -...
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...egister_private(&psbfb->base); drm_framebuffer_cleanup(&psbfb->base); - if (psbfb->gtt) - drm_gem_object_unreference_unlocked(&psbfb->gtt->gem); + if (psbfb->base.gem_objs[0]) + drm_gem_object_unreference_unlocked(psbfb->base.gem_objs[0]); return 0; } @@ -605,25 +601,6 @@ static void psbfb_output_poll_changed(struct drm_device *dev) drm_fb_helper_hotplug_event(&fbdev->psb_fb_helper); } -/** - * psb_user_framebuffer_create_handle - add hamdle to a framebuffer - * @fb: framebuffer - * @file_priv: our DRM file - * @handle: returned handle - * -...
2017 Aug 08
5
[PATCH libdrm] drm: Remove create_handle() drm_framebuffer "virtual".
...egister_private(&psbfb->base); drm_framebuffer_cleanup(&psbfb->base); - if (psbfb->gtt) - drm_gem_object_unreference_unlocked(&psbfb->gtt->gem); + if (psbfb->base.gem_objs[0]) + drm_gem_object_unreference_unlocked(psbfb->base.gem_objs[0]); return 0; } @@ -605,25 +601,6 @@ static void psbfb_output_poll_changed(struct drm_device *dev) drm_fb_helper_hotplug_event(&fbdev->psb_fb_helper); } -/** - * psb_user_framebuffer_create_handle - add hamdle to a framebuffer - * @fb: framebuffer - * @file_priv: our DRM file - * @handle: returned handle - * -...