From: Razvan Cojocaru Date: Wed, 2 Jan 2019 12:42:25 +0000 (+0200) Subject: libxc/altp2m: clean up TABs X-Git-Tag: xen-pt-allocation-1.1-base~119 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=98fb4adf8fa19291810e6615f08b326c75c67c2e;p=people%2Fliuw%2Fxen.git libxc/altp2m: clean up TABs Replace all the TABs with spaces. Signed-off-by: Razvan Cojocaru Acked-by: Wei Liu --- diff --git a/tools/libxc/xc_altp2m.c b/tools/libxc/xc_altp2m.c index e61bacf475..a86520c232 100644 --- a/tools/libxc/xc_altp2m.c +++ b/tools/libxc/xc_altp2m.c @@ -38,7 +38,7 @@ int xc_altp2m_get_domain_state(xc_interface *handle, uint32_t dom, bool *state) arg->domain = dom; rc = xencall2(handle->xcall, __HYPERVISOR_hvm_op, HVMOP_altp2m, - HYPERCALL_BUFFER_AS_ARG(arg)); + HYPERCALL_BUFFER_AS_ARG(arg)); if ( !rc ) *state = arg->u.domain_state.state; @@ -62,7 +62,7 @@ int xc_altp2m_set_domain_state(xc_interface *handle, uint32_t dom, bool state) arg->u.domain_state.state = state; rc = xencall2(handle->xcall, __HYPERVISOR_hvm_op, HVMOP_altp2m, - HYPERCALL_BUFFER_AS_ARG(arg)); + HYPERCALL_BUFFER_AS_ARG(arg)); xc_hypercall_buffer_free(handle, arg); return rc; @@ -85,7 +85,7 @@ int xc_altp2m_set_vcpu_enable_notify(xc_interface *handle, uint32_t domid, arg->u.enable_notify.gfn = gfn; rc = xencall2(handle->xcall, __HYPERVISOR_hvm_op, HVMOP_altp2m, - HYPERCALL_BUFFER_AS_ARG(arg)); + HYPERCALL_BUFFER_AS_ARG(arg)); xc_hypercall_buffer_free(handle, arg); return rc; @@ -130,7 +130,7 @@ int xc_altp2m_create_view(xc_interface *handle, uint32_t domid, arg->u.view.hvmmem_default_access = default_access; rc = xencall2(handle->xcall, __HYPERVISOR_hvm_op, HVMOP_altp2m, - HYPERCALL_BUFFER_AS_ARG(arg)); + HYPERCALL_BUFFER_AS_ARG(arg)); if ( !rc ) *view_id = arg->u.view.view; @@ -155,7 +155,7 @@ int xc_altp2m_destroy_view(xc_interface *handle, uint32_t domid, arg->u.view.view = view_id; rc = xencall2(handle->xcall, __HYPERVISOR_hvm_op, HVMOP_altp2m, - HYPERCALL_BUFFER_AS_ARG(arg)); + HYPERCALL_BUFFER_AS_ARG(arg)); xc_hypercall_buffer_free(handle, arg); return rc; @@ -178,7 +178,7 @@ int xc_altp2m_switch_to_view(xc_interface *handle, uint32_t domid, arg->u.view.view = view_id; rc = xencall2(handle->xcall, __HYPERVISOR_hvm_op, HVMOP_altp2m, - HYPERCALL_BUFFER_AS_ARG(arg)); + HYPERCALL_BUFFER_AS_ARG(arg)); xc_hypercall_buffer_free(handle, arg); return rc; @@ -253,7 +253,7 @@ int xc_altp2m_set_mem_access(xc_interface *handle, uint32_t domid, arg->u.mem_access.gfn = gfn; rc = xencall2(handle->xcall, __HYPERVISOR_hvm_op, HVMOP_altp2m, - HYPERCALL_BUFFER_AS_ARG(arg)); + HYPERCALL_BUFFER_AS_ARG(arg)); xc_hypercall_buffer_free(handle, arg); return rc; @@ -278,7 +278,7 @@ int xc_altp2m_change_gfn(xc_interface *handle, uint32_t domid, arg->u.change_gfn.new_gfn = new_gfn; rc = xencall2(handle->xcall, __HYPERVISOR_hvm_op, HVMOP_altp2m, - HYPERCALL_BUFFER_AS_ARG(arg)); + HYPERCALL_BUFFER_AS_ARG(arg)); xc_hypercall_buffer_free(handle, arg); return rc;