]> xenbits.xensource.com Git - xen.git/commit
dmop: add xendevicemodel_modified_memory_bulk()
authorJennifer Herbert <Jennifer.Herbert@citrix.com>
Wed, 26 Apr 2017 07:47:30 +0000 (09:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 26 Apr 2017 07:47:30 +0000 (09:47 +0200)
commite3b93b3c595447db34d0b55f45cbd85aa636f31a
tree3c30d5e6ac1dfd2130574ec04b4875cf019b09d9
parenta579c8bcf348eb8b0280cb429d3876831fff4e23
dmop: add xendevicemodel_modified_memory_bulk()

This new lib devicemodel call allows multiple extents of pages to be
marked as modified in a single call.  This is something needed for a
usecase I'm working on.

The xen side of the modified_memory call has been modified to accept
an array of extents.  The devicemodel library either provides an array
of length 1, to support the original library function, or a second
function allows an array to be provided.

Signed-off-by: Jennifer Herbert <Jennifer.Herbert@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Release-acked-by: Julien Grall <julien.grall@arm.com>
tools/libs/devicemodel/core.c
tools/libs/devicemodel/include/xendevicemodel.h
xen/arch/x86/hvm/dm.c
xen/include/public/hvm/dm_op.h