Lines Matching defs:entry
91 * creating a corresponding e820 entry. We need 4 pages before the BIOS,
395 /* Returns the value for a specific register on the cpuid entry
397 uint32_t cpuid_entry_get_reg(struct kvm_cpuid_entry2 *entry, int reg)
402 ret = entry->eax;
405 ret = entry->ebx;
408 ret = entry->ecx;
411 ret = entry->edx;
417 /* Find matching entry for function/index on kvm_cpuid2 struct
444 struct kvm_cpuid_entry2 *entry = cpuid_find_entry(cpuid, function, index);
445 if (entry) {
446 ret = cpuid_entry_get_reg(entry, reg);
1294 struct kvm_cpuid_entry2 *entry;
1320 entry = cpuid_find_entry(cpuid, func, 0);
1321 if (!entry) {
1325 return cpuid_entry_get_reg(entry, reg);
1964 * KVM already returns all zeroes if a CPUID entry is missing,
1965 * so we can omit it and avoid hitting KVM's 80-entry limit.
2033 * KVM already returns all zeroes if a CPUID entry is missing,
2034 * so we can omit it and avoid hitting KVM's 80-entry limit.
3618 struct kvm_msr_entry *entry = &msrs->entries[msrs->nmsrs];
3620 assert((void *)(entry + 1) <= limit);
3622 entry->index = index;
3623 entry->reserved = 0;
3624 entry->data = value;
6102 fprintf(stderr, "KVM: entry failed, hardware error 0x%" PRIx64 "\n",
6365 MSIRouteEntry *entry;
6370 QLIST_FOREACH(entry, &msi_route_list, list) {
6372 vector = entry->vector;
6373 dev = entry->dev;
6385 kvm_irqchip_update_msi_route(kvm_state, entry->virq, msg, dev);
6395 MSIRouteEntry *entry;
6404 entry = g_new0(MSIRouteEntry, 1);
6405 entry->dev = dev;
6406 entry->vector = vector;
6407 entry->virq = route->gsi;
6408 QLIST_INSERT_HEAD(&msi_route_list, entry, list);
6428 MSIRouteEntry *entry, *next;
6429 QLIST_FOREACH_SAFE(entry, &msi_route_list, list, next) {
6430 if (entry->virq == virq) {
6432 QLIST_REMOVE(entry, list);
6433 g_free(entry);