WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] xenalyze: Get rid of all tabs in xenalyze.c
From: George Dunlap <george.dunlap@xxxxxxxxxxxxx>
Date: Fri, 7 Oct 2011 11:49:25 +0100
Cc: george.dunlap@xxxxxxxxxxxxx
Delivery-date: Fri, 07 Oct 2011 03:46:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] xenalyze: Get rid of all tabs in xenalyze.c, George Dunlap <=