mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
libvhost-user: Open userfaultfd
Open a userfaultfd (on a postcopy_advise) and send it back in the reply to the qemu for it to monitor. Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
d6e47717b0
commit
2a84ffc0be
2 changed files with 43 additions and 2 deletions
|
@ -282,6 +282,9 @@ struct VuDev {
|
|||
* re-initialize */
|
||||
vu_panic_cb panic;
|
||||
const VuDevIface *iface;
|
||||
|
||||
/* Postcopy data */
|
||||
int postcopy_ufd;
|
||||
};
|
||||
|
||||
typedef struct VuVirtqElement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue