public/domctl: drop unnecessary typedefs and handles
authorJan Beulich <jbeulich@suse.com>
Wed, 20 Sep 2017 15:23:41 +0000 (17:23 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 20 Sep 2017 15:23:41 +0000 (17:23 +0200)
commitc47431f6ac2aade4800a58ddd192573f8a81850a
treedb2911d7287ea99e8848f7953e025803c8d9690d
parent3c6d3b9a939b67b1697b87d7d88d416e939a3f06
public/domctl: drop unnecessary typedefs and handles

By virtue of the struct xen_domctl container structure, most of them
are really just cluttering the name space.

While doing so,
- convert an enum typed (pt_irq_type_t) structure field to a fixed
  width type,
- make x86's paging_domctl() and descendants take a properly typed
  handle,
- add const in a few places.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Acked-by: Dario Faggioli <dario.faggioli@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Meng Xu <mengxu@cis.upenn.edu>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Julien Grall <julien.grall@arm.com>
Acked-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
20 files changed:
tools/libxc/include/xenctrl.h
tools/libxc/xc_domain.c
xen/arch/arm/domctl.c
xen/arch/x86/domctl.c
xen/arch/x86/hvm/vioapic.c
xen/arch/x86/mm/hap/hap.c
xen/arch/x86/mm/mem_sharing.c
xen/arch/x86/mm/paging.c
xen/arch/x86/mm/shadow/common.c
xen/common/domctl.c
xen/common/sched_rt.c
xen/common/vm_event.c
xen/drivers/passthrough/io.c
xen/include/asm-x86/hap.h
xen/include/asm-x86/mem_sharing.h
xen/include/asm-x86/paging.h
xen/include/asm-x86/shadow.h
xen/include/public/domctl.h
xen/include/xen/iommu.h
xen/include/xen/vm_event.h