]> rtime.felk.cvut.cz Git - jailhouse.git/commit
x86: Privatize names of static vendor-specific functions
authorJan Kiszka <jan.kiszka@siemens.com>
Wed, 5 Nov 2014 08:18:29 +0000 (09:18 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 7 Nov 2014 06:38:48 +0000 (07:38 +0100)
commitc4e49e94c9956eca335519b580c86b8f7de0caa9
treed9c5060af16c6124e209e438dad8eb32b049b00a
parentec0086bdf0eae73a9e998db49f3c67a4d5318a47
x86: Privatize names of static vendor-specific functions

vcpu_set_cell_config, vcpu_reset, vcpu_vendor_get_io_intercept and
vcpu_vendor_get_pf_intercept - they share the same parameters across the
vendor-specific implementations, but they are invoked only locally. So
rename them to something which is prefixed by vmx and svm, respectively,
so that they can be locally refactored as desired with risking confusion
that they might have to usable in a cross-vendor fashion.

CC: Valentine Sinitsyn <valentine.sinitsyn@gmail.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
hypervisor/arch/x86/svm.c
hypervisor/arch/x86/vmx.c