Home
last modified time | relevance | path

Searched refs:kvm_msr_buf (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/i386/kvm/
H A Dkvm.c2346 cpu->kvm_msr_buf = g_malloc0(MSR_BUF_SIZE); in kvm_arch_init_vcpu()
2369 g_free(cpu->kvm_msr_buf); in kvm_arch_destroy_vcpu()
2370 cpu->kvm_msr_buf = NULL; in kvm_arch_destroy_vcpu()
3574 memset(cpu->kvm_msr_buf, 0, MSR_BUF_SIZE); in kvm_msr_buf_reset()
3579 struct kvm_msrs *msrs = cpu->kvm_msr_buf; in kvm_msr_entry_add()
3596 return kvm_vcpu_ioctl(CPU(cpu), KVM_SET_MSRS, cpu->kvm_msr_buf); in kvm_put_one_msr()
3827 int ret = kvm_vcpu_ioctl(CPU(cpu), KVM_SET_MSRS, cpu->kvm_msr_buf); in kvm_buf_set_msrs()
3832 if (ret < cpu->kvm_msr_buf->nmsrs) { in kvm_buf_set_msrs()
3833 struct kvm_msr_entry *e = &cpu->kvm_msr_buf->entries[ret]; in kvm_buf_set_msrs()
3838 assert(ret == cpu->kvm_msr_buf->nmsrs); in kvm_buf_set_msrs()
[all …]
/openbmc/qemu/target/i386/
H A Dcpu.h2216 struct kvm_msrs *kvm_msr_buf; member