lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 31 Aug 2018 09:04:24 +0200
From:   Gerd Hoffmann <>
To:     Tomeu Vizoso <>
Cc:, David Airlie <>,
        Laurent Pinchart <>,
        Jonathan Corbet <>,
        Sumit Semwal <>,
        Shuah Khan <>,
        "open list:DOCUMENTATION" <>,
        open list <>,
        "moderated list:DMA BUFFER SHARING FRAMEWORK" 
        "open list:KERNEL SELFTEST FRAMEWORK" 
        <>, Zach Reizner <>,
        Daniel Stone <>
Subject: Re: [PATCH v6] Add udmabuf misc device


> > qemu can use memfd to allocate guest ram.  Now, with the help of
> > udmabuf, qemu can create a *host* dma-buf for the *guest* graphics
> > buffer.
> Guess each physical address in the iovec in
> VIRTIO_GPU_CMD_RESOURCE_ATTACH_BACKING can be passed as the offset in the
> udmabuf_create_item struct?


> Are you thinking of anything else besides passing the winsrv protocol across
> the guest/host boundary? Just wondering if I'm missing something.

The patch above uses the dmabuf internally in qemu.  It simply mmaps it,
so qemu has a linear representation of the resource and can use it as
pixman image backing storage without copying the pixel data.

So it is useful even without actually exporting the dmabuf to other


PS: Any chance you can review the v7 patch?

Powered by blists - more mailing lists