]> xenbits.xensource.com Git - libvirt.git/commitdiff
cpu_x86: Rename struct x86_kvm_feature
authorJiri Denemark <jdenemar@redhat.com>
Wed, 11 May 2016 09:59:29 +0000 (11:59 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 16 May 2016 13:46:25 +0000 (15:46 +0200)
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/cpu/cpu_x86.c

index 240da22406653f81c702b8c0a7beded0f59f061b..a0730925d9f79f57b8bbde60f873acd59124a630 100644 (file)
@@ -62,12 +62,14 @@ struct _virCPUx86Feature {
     virCPUx86FeaturePtr next;
 };
 
-struct x86_kvm_feature {
+typedef struct _virCPUx86KVMFeature virCPUx86KVMFeature;
+typedef virCPUx86KVMFeature *virCPUx86KVMFeaturePtr;
+struct _virCPUx86KVMFeature {
     const char *name;
     const virCPUx86CPUID cpuid;
 };
 
-static const struct x86_kvm_feature x86_kvm_features[] =
+static const virCPUx86KVMFeature x86_kvm_features[] =
 {
     {VIR_CPU_x86_KVM_CLOCKSOURCE,  { .function = 0x40000001, .eax = 0x00000001 }},
     {VIR_CPU_x86_KVM_NOP_IO_DELAY, { .function = 0x40000001, .eax = 0x00000002 }},