[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] xenalyze: Get rid of all tabs in xenalyze.c



To conform to Xen coding style.  No functional changes.

Signed-off-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx>

diff -r 4833fe142a4f -r 288573cb0f11 xenalyze.c
--- a/xenalyze.c        Fri Oct 07 11:36:27 2011 +0100
+++ b/xenalyze.c        Fri Oct 07 11:49:04 2011 +0100
@@ -537,56 +537,56 @@ struct {
 
 char * hvm_vmx_exit_reason_name[HVM_VMX_EXIT_REASON_MAX] = {
     [0] = "NONE",
-       [EXIT_REASON_EXCEPTION_NMI]="EXCEPTION_NMI",
-       [EXIT_REASON_EXTERNAL_INTERRUPT]="EXTERNAL_INTERRUPT",
-       [EXIT_REASON_TRIPLE_FAULT]="TRIPLE_FAULT",
-       [EXIT_REASON_INIT]="INIT",
-       [EXIT_REASON_SIPI]="SIPI",
-       [EXIT_REASON_IO_SMI]="IO_SMI",
-       [EXIT_REASON_OTHER_SMI]="OTHER_SMI",
-       [EXIT_REASON_PENDING_INTERRUPT]="PENDING_INTERRUPT",
-       [EXIT_REASON_PENDING_VIRT_NMI]="PENDING_VIRT_NMI",
-       [EXIT_REASON_TASK_SWITCH]="TASK_SWITCH",
-       [EXIT_REASON_CPUID]="CPUID",
-       [EXIT_REASON_GETSEC]="GETSEC",
-       [EXIT_REASON_HLT]="HLT",
-       [EXIT_REASON_INVD]="INVD",
-       [EXIT_REASON_INVLPG]="INVLPG",
-       [EXIT_REASON_RDPMC]="RDPMC",
-       [EXIT_REASON_RDTSC]="RDTSC",
-       [EXIT_REASON_RSM]="RSM",
-       [EXIT_REASON_VMCALL]="VMCALL",
-       [EXIT_REASON_VMCLEAR]="VMCLEAR",
-       [EXIT_REASON_VMLAUNCH]="VMLAUNCH",
-       [EXIT_REASON_VMPTRLD]="VMPTRLD",
-       [EXIT_REASON_VMPTRST]="VMPTRST",
-       [EXIT_REASON_VMREAD]="VMREAD",
-       [EXIT_REASON_VMRESUME]="VMRESUME",
-       [EXIT_REASON_VMWRITE]="VMWRITE",
-       [EXIT_REASON_VMOFF]="VMOFF",
-       [EXIT_REASON_VMON]="VMON",
-       [EXIT_REASON_CR_ACCESS]="CR_ACCESS",
-       [EXIT_REASON_DR_ACCESS]="DR_ACCESS",
-       [EXIT_REASON_IO_INSTRUCTION]="IO_INSTRUCTION",
-       [EXIT_REASON_MSR_READ]="MSR_READ",
-       [EXIT_REASON_MSR_WRITE]="MSR_WRITE",
-       [EXIT_REASON_INVALID_GUEST_STATE]="INVALID_GUEST_STATE",
-       [EXIT_REASON_MSR_LOADING]="MSR_LOADING",
-       [EXIT_REASON_MWAIT_INSTRUCTION]="MWAIT_INSTRUCTION",
-       [EXIT_REASON_MONITOR_TRAP_FLAG]="MONITOR_TRAP_FLAG",
-       [EXIT_REASON_MONITOR_INSTRUCTION]="MONITOR_INSTRUCTION",
-       [EXIT_REASON_PAUSE_INSTRUCTION]="PAUSE_INSTRUCTION",
-       [EXIT_REASON_MACHINE_CHECK]="MACHINE_CHECK",
+    [EXIT_REASON_EXCEPTION_NMI]="EXCEPTION_NMI",
+    [EXIT_REASON_EXTERNAL_INTERRUPT]="EXTERNAL_INTERRUPT",
+    [EXIT_REASON_TRIPLE_FAULT]="TRIPLE_FAULT",
+    [EXIT_REASON_INIT]="INIT",
+    [EXIT_REASON_SIPI]="SIPI",
+    [EXIT_REASON_IO_SMI]="IO_SMI",
+    [EXIT_REASON_OTHER_SMI]="OTHER_SMI",
+    [EXIT_REASON_PENDING_INTERRUPT]="PENDING_INTERRUPT",
+    [EXIT_REASON_PENDING_VIRT_NMI]="PENDING_VIRT_NMI",
+    [EXIT_REASON_TASK_SWITCH]="TASK_SWITCH",
+    [EXIT_REASON_CPUID]="CPUID",
+    [EXIT_REASON_GETSEC]="GETSEC",
+    [EXIT_REASON_HLT]="HLT",
+    [EXIT_REASON_INVD]="INVD",
+    [EXIT_REASON_INVLPG]="INVLPG",
+    [EXIT_REASON_RDPMC]="RDPMC",
+    [EXIT_REASON_RDTSC]="RDTSC",
+    [EXIT_REASON_RSM]="RSM",
+    [EXIT_REASON_VMCALL]="VMCALL",
+    [EXIT_REASON_VMCLEAR]="VMCLEAR",
+    [EXIT_REASON_VMLAUNCH]="VMLAUNCH",
+    [EXIT_REASON_VMPTRLD]="VMPTRLD",
+    [EXIT_REASON_VMPTRST]="VMPTRST",
+    [EXIT_REASON_VMREAD]="VMREAD",
+    [EXIT_REASON_VMRESUME]="VMRESUME",
+    [EXIT_REASON_VMWRITE]="VMWRITE",
+    [EXIT_REASON_VMOFF]="VMOFF",
+    [EXIT_REASON_VMON]="VMON",
+    [EXIT_REASON_CR_ACCESS]="CR_ACCESS",
+    [EXIT_REASON_DR_ACCESS]="DR_ACCESS",
+    [EXIT_REASON_IO_INSTRUCTION]="IO_INSTRUCTION",
+    [EXIT_REASON_MSR_READ]="MSR_READ",
+    [EXIT_REASON_MSR_WRITE]="MSR_WRITE",
+    [EXIT_REASON_INVALID_GUEST_STATE]="INVALID_GUEST_STATE",
+    [EXIT_REASON_MSR_LOADING]="MSR_LOADING",
+    [EXIT_REASON_MWAIT_INSTRUCTION]="MWAIT_INSTRUCTION",
+    [EXIT_REASON_MONITOR_TRAP_FLAG]="MONITOR_TRAP_FLAG",
+    [EXIT_REASON_MONITOR_INSTRUCTION]="MONITOR_INSTRUCTION",
+    [EXIT_REASON_PAUSE_INSTRUCTION]="PAUSE_INSTRUCTION",
+    [EXIT_REASON_MACHINE_CHECK]="MACHINE_CHECK",
     [EXIT_REASON_TPR_BELOW_THRESHOLD]="TPR_BELOW_THRESHOLD",
-       [EXIT_REASON_APIC_ACCESS]="APIC_ACCESS",
-       [EXIT_REASON_EPT_VIOLATION]="EPT_VIOLATION",
-       [EXIT_REASON_EPT_MISCONFIG]="EPT_MISCONFIG",
-       [EXIT_REASON_INVEPT]="INVEPT",
-       [EXIT_REASON_RDTSCP]="RDTSCP",
-       
[EXIT_REASON_VMX_PREEMPTION_TIMER_EXPIRED]="VMX_PREEMPTION_TIMER_EXPIRED",
-       [EXIT_REASON_INVVPID]="INVVPID",
-       [EXIT_REASON_WBINVD]="WBINVD",
-       [EXIT_REASON_XSETBV]="XSETBV",
+    [EXIT_REASON_APIC_ACCESS]="APIC_ACCESS",
+    [EXIT_REASON_EPT_VIOLATION]="EPT_VIOLATION",
+    [EXIT_REASON_EPT_MISCONFIG]="EPT_MISCONFIG",
+    [EXIT_REASON_INVEPT]="INVEPT",
+    [EXIT_REASON_RDTSCP]="RDTSCP",
+    [EXIT_REASON_VMX_PREEMPTION_TIMER_EXPIRED]="VMX_PREEMPTION_TIMER_EXPIRED",
+    [EXIT_REASON_INVVPID]="INVVPID",
+    [EXIT_REASON_WBINVD]="WBINVD",
+    [EXIT_REASON_XSETBV]="XSETBV",
 };
 
 /* SVM data */
@@ -905,13 +905,13 @@ char * hvm_svm_exit_reason_name[HVM_SVM_
 #endif
 
 /* General hvm information */
-#define SPURIOUS_APIC_VECTOR   0xff
-#define ERROR_APIC_VECTOR      0xfe
-#define INVALIDATE_TLB_VECTOR  0xfd
-#define EVENT_CHECK_VECTOR     0xfc
-#define CALL_FUNCTION_VECTOR   0xfb
-#define THERMAL_APIC_VECTOR    0xfa
-#define LOCAL_TIMER_VECTOR     0xf9
+#define SPURIOUS_APIC_VECTOR  0xff
+#define ERROR_APIC_VECTOR     0xfe
+#define INVALIDATE_TLB_VECTOR 0xfd
+#define EVENT_CHECK_VECTOR    0xfc
+#define CALL_FUNCTION_VECTOR  0xfb
+#define THERMAL_APIC_VECTOR   0xfa
+#define LOCAL_TIMER_VECTOR    0xf9
 
 #define EXTERNAL_INTERRUPT_MAX 256
 
@@ -929,26 +929,26 @@ char * hvm_extint_vector_name[EXTERNAL_I
 #define HVM_TRAP_MAX 20
 
 char * hvm_trap_name[HVM_TRAP_MAX] = {
-       [0] =  "Divide",
-       [1] =  "RESERVED",
-       [2] =  "NMI",
-       [3] =  "Breakpoint",
-       [4] =  "Overflow",
-       [5] =  "BOUND",
-       [6] =  "Invalid Op",
-       [7] =  "Coprocessor not present",
-       [8] =  "Double Fault",
-       [9] =  "Coprocessor segment overrun",
-       [10] = "TSS",
-       [11] = "Segment not present",
-       [12] = "Stack-segment fault",
-       [13] = "GP",
-       [14] = "Page fault",
-       [15] = "RESERVED",
-       [16] = "FPU",
-       [17] = "Alignment check",
-       [18] = "Machine check",
-       [19] = "SIMD",
+    [0] =  "Divide",
+    [1] =  "RESERVED",
+    [2] =  "NMI",
+    [3] =  "Breakpoint",
+    [4] =  "Overflow",
+    [5] =  "BOUND",
+    [6] =  "Invalid Op",
+    [7] =  "Coprocessor not present",
+    [8] =  "Double Fault",
+    [9] =  "Coprocessor segment overrun",
+    [10] = "TSS",
+    [11] = "Segment not present",
+    [12] = "Stack-segment fault",
+    [13] = "GP",
+    [14] = "Page fault",
+    [15] = "RESERVED",
+    [16] = "FPU",
+    [17] = "Alignment check",
+    [18] = "Machine check",
+    [19] = "SIMD",
 };
 
 
@@ -8826,7 +8826,7 @@ void progress_init(void) {
     int pid;
 
     if (pipe(G.progress.pipe) < 0)
-           perror("pipe");
+        perror("pipe");
 
     if(!(pid = fork())) {
         progress_child_exec();

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.