Revision e00b6f80 target-i386/kvm.c

b/target-i386/kvm.c
44 44

  
45 45
    cpuid_i = 0;
46 46

  
47
    cpu_x86_cpuid(env, 0, &eax, &ebx, &ecx, &edx);
47
    cpu_x86_cpuid(env, 0, 0, &eax, &ebx, &ecx, &edx);
48 48
    limit = eax;
49 49

  
50 50
    for (i = 0; i <= limit; i++) {
51 51
        struct kvm_cpuid_entry *c = &cpuid_data.entries[cpuid_i++];
52 52

  
53
        cpu_x86_cpuid(env, i, &eax, &ebx, &ecx, &edx);
53
        cpu_x86_cpuid(env, i, 0, &eax, &ebx, &ecx, &edx);
54 54
        c->function = i;
55 55
        c->eax = eax;
56 56
        c->ebx = ebx;
......
58 58
        c->edx = edx;
59 59
    }
60 60

  
61
    cpu_x86_cpuid(env, 0x80000000, &eax, &ebx, &ecx, &edx);
61
    cpu_x86_cpuid(env, 0x80000000, 0, &eax, &ebx, &ecx, &edx);
62 62
    limit = eax;
63 63

  
64 64
    for (i = 0x80000000; i <= limit; i++) {
65 65
        struct kvm_cpuid_entry *c = &cpuid_data.entries[cpuid_i++];
66 66

  
67
        cpu_x86_cpuid(env, i, &eax, &ebx, &ecx, &edx);
67
        cpu_x86_cpuid(env, i, 0, &eax, &ebx, &ecx, &edx);
68 68
        c->function = i;
69 69
        c->eax = eax;
70 70
        c->ebx = ebx;

Also available in: Unified diff