[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/3] util/userfaultfd: Support /dev/userfaultfd
From: |
Peter Xu |
Subject: |
Re: [PATCH 0/3] util/userfaultfd: Support /dev/userfaultfd |
Date: |
Wed, 1 Feb 2023 09:58:19 -0500 |
On Wed, Feb 01, 2023 at 08:55:01AM +0100, Michal Prívozník wrote:
> On 1/31/23 22:01, Peter Xu wrote:
> > I'll wait 1-2 more days to see whether Michal has anything to comment.
>
> Yeah, we can go with your patches and leave FD passing for future work.
> It's orthogonal after all.
>
> In the end we can have (in the order of precedence):
>
> 1) new cmd line argument, say:
>
> qemu-system-x86_64 -userfaultfd fd=5 # where FD 5 is passed by
> libvirt when exec()-ing qemu, just like other FDs, e.g. -chardev
> socket,fd=XXX
>
> 2) your patches, where qemu opens /dev/userfaultfd
>
> 3) current behavior, userfaultfd syscall
Sounds good. Thanks.
--
Peter Xu