dm_op: convert HVMOP_track_dirty_vram
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 25 Jan 2017 09:43:14 +0000 (10:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Jan 2017 09:43:14 +0000 (10:43 +0100)
commit86ad4d054a08d4a2172d6725c66b02c15a578066
treefb25883f643d5045353632be0aec22a6620b017f
parenta2323df5f47c630eb763cac82f6680260ead24c4
dm_op: convert HVMOP_track_dirty_vram

The handle type passed to the underlying shadow and hap functions is
changed for compatibility with the new hypercall buffer.

NOTE: This patch also modifies the type of the 'nr' parameter of
      xc_hvm_track_dirty_vram() from uint64_t to uint32_t. In practice
      the value passed was always truncated to 32 bits.

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
14 files changed:
tools/flask/policy/modules/xen.if
tools/libxc/include/xenctrl.h
tools/libxc/xc_misc.c
xen/arch/x86/hvm/dm.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/shadow/common.c
xen/include/asm-x86/hap.h
xen/include/asm-x86/shadow.h
xen/include/public/hvm/dm_op.h
xen/include/public/hvm/hvm_op.h
xen/include/xlat.lst
xen/xsm/flask/hooks.c
xen/xsm/flask/policy/access_vectors