[libvirt] [PATCH 12/23] cpu: x86: Fix function header formatting and whitespace

Peter Krempa pkrempa at redhat.com
Mon Oct 14 12:57:35 UTC 2013


---
 src/cpu/cpu_x86.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
index b4ed6cf..c3a24ea 100644
--- a/src/cpu/cpu_x86.c
+++ b/src/cpu/cpu_x86.c
@@ -1240,6 +1240,7 @@ cleanup:
             ret = VIR_CPU_COMPARE_INCOMPATIBLE;                         \
         } while (0)

+
 static virCPUCompareResult
 x86Compute(virCPUDefPtr host,
            virCPUDefPtr cpu,
@@ -1410,6 +1411,7 @@ x86GuestData(virCPUDefPtr host,
     return x86Compute(host, guest, data, message);
 }

+
 static int
 x86AddFeatures(virCPUDefPtr cpu,
                struct x86_map *map)
@@ -2010,8 +2012,10 @@ x86Update(virCPUDefPtr guest,
     return -1;
 }

-static int x86HasFeature(const virCPUDataPtr data,
-                         const char *name)
+
+static int
+x86HasFeature(const virCPUDataPtr data,
+              const char *name)
 {
     struct x86_map *map;
     struct x86_feature *feature;
@@ -2030,6 +2034,7 @@ cleanup:
     return ret;
 }

+
 struct cpuArchDriver cpuDriverX86 = {
     .name = "x86",
     .arch = archs,
-- 
1.8.3.2




More information about the libvir-list mailing list