dm_op: convert HVMOP_set_pci_intx_level, HVMOP_set_isa_irq_level, and...
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 25 Jan 2017 09:44:50 +0000 (10:44 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Jan 2017 09:44:50 +0000 (10:44 +0100)
commit7b2e218fd6ebd4839c8cef3c3e88d4370d7c0f94
treebb2c2dc9271b92a2d38bf459f6b171e1a35ccd9a
parent86ad4d054a08d4a2172d6725c66b02c15a578066
dm_op: convert HVMOP_set_pci_intx_level, HVMOP_set_isa_irq_level, and...

... HVMOP_set_pci_link_route

These HVMOPs were exposed to guests so their definitions need to be
preserved for compatibility. This patch therefore updates
__XEN_LATEST_INTERFACE_VERSION__ to 0x00040900 and makes the HVMOP
defintions conditional on __XEN_INTERFACE_VERSION__ less than that value.

NOTE: This patch also widens the 'domain' parameter of
      xc_hvm_set_pci_intx_level() from a uint8_t to a uint16_t.

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>
16 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/hvm/irq.c
xen/include/public/hvm/dm_op.h
xen/include/public/hvm/hvm_op.h
xen/include/public/xen-compat.h
xen/include/xen/hvm/irq.h
xen/include/xlat.lst
xen/include/xsm/dummy.h
xen/include/xsm/xsm.h
xen/xsm/dummy.c
xen/xsm/flask/hooks.c
xen/xsm/flask/policy/access_vectors