Revision 10781c09 target-i386/helper.c

b/target-i386/helper.c
1296 1296
}
1297 1297
#endif /* !CONFIG_USER_ONLY */
1298 1298

  
1299
#if defined(CONFIG_KVM)
1300 1299
static void host_cpuid(uint32_t function, uint32_t *eax, uint32_t *ebx,
1301 1300
                       uint32_t *ecx, uint32_t *edx)
1302 1301
{
1302
#if defined(CONFIG_KVM)
1303 1303
    uint32_t vec[4];
1304 1304

  
1305 1305
#ifdef __x86_64__
......
1327 1327
	*ecx = vec[2];
1328 1328
    if (edx)
1329 1329
	*edx = vec[3];
1330
}
1331 1330
#endif
1331
}
1332 1332

  
1333 1333
void cpu_x86_cpuid(CPUX86State *env, uint32_t index,
1334 1334
                   uint32_t *eax, uint32_t *ebx,

Also available in: Unified diff