mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
cpu: x86: Fix function header formatting and whitespace
This commit is contained in:
parent
57d27a84a3
commit
25cbc13cd1
@ -1240,6 +1240,7 @@ cleanup:
|
|||||||
ret = VIR_CPU_COMPARE_INCOMPATIBLE; \
|
ret = VIR_CPU_COMPARE_INCOMPATIBLE; \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
|
||||||
static virCPUCompareResult
|
static virCPUCompareResult
|
||||||
x86Compute(virCPUDefPtr host,
|
x86Compute(virCPUDefPtr host,
|
||||||
virCPUDefPtr cpu,
|
virCPUDefPtr cpu,
|
||||||
@ -1410,6 +1411,7 @@ x86GuestData(virCPUDefPtr host,
|
|||||||
return x86Compute(host, guest, data, message);
|
return x86Compute(host, guest, data, message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
x86AddFeatures(virCPUDefPtr cpu,
|
x86AddFeatures(virCPUDefPtr cpu,
|
||||||
struct x86_map *map)
|
struct x86_map *map)
|
||||||
@ -2010,8 +2012,10 @@ x86Update(virCPUDefPtr guest,
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int x86HasFeature(const virCPUData *data,
|
|
||||||
const char *name)
|
static int
|
||||||
|
x86HasFeature(const virCPUData *data,
|
||||||
|
const char *name)
|
||||||
{
|
{
|
||||||
struct x86_map *map;
|
struct x86_map *map;
|
||||||
struct x86_feature *feature;
|
struct x86_feature *feature;
|
||||||
@ -2030,6 +2034,7 @@ cleanup:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
struct cpuArchDriver cpuDriverX86 = {
|
struct cpuArchDriver cpuDriverX86 = {
|
||||||
.name = "x86",
|
.name = "x86",
|
||||||
.arch = archs,
|
.arch = archs,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user