]> xenbits.xensource.com Git - xen.git/commit
dm_op: convert HVMOP_set_mem_type
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 25 Jan 2017 09:48:25 +0000 (10:48 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Jan 2017 09:48:25 +0000 (10:48 +0100)
commitae20ccf070bc269eb24587dac7671fba86a9848a
treeaa8f58968268d5592e3716723f4cd20d064cd0c5
parentb30c5979e02ca68f3d18bb3b130211aa7b9e6aee
dm_op: convert HVMOP_set_mem_type

This patch removes the need for handling HVMOP restarts, so that
infrastructure is removed.

NOTE: This patch also modifies the type of the 'nr' argument of
      xc_hvm_set_mem_type() 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>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_misc.c
xen/arch/x86/hvm/dm.c
xen/arch/x86/hvm/hvm.c
xen/include/public/hvm/dm_op.h
xen/include/public/hvm/hvm_op.h
xen/include/xlat.lst
xen/xsm/flask/policy/access_vectors