Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dx86.c3967 struct kvm_debugregs *dbgregs) in kvm_vcpu_ioctl_x86_get_debugregs() argument
3971 memset(dbgregs, 0, sizeof(*dbgregs)); in kvm_vcpu_ioctl_x86_get_debugregs()
3972 memcpy(dbgregs->db, vcpu->arch.db, sizeof(vcpu->arch.db)); in kvm_vcpu_ioctl_x86_get_debugregs()
3974 dbgregs->dr6 = val; in kvm_vcpu_ioctl_x86_get_debugregs()
3975 dbgregs->dr7 = vcpu->arch.dr7; in kvm_vcpu_ioctl_x86_get_debugregs()
3979 struct kvm_debugregs *dbgregs) in kvm_vcpu_ioctl_x86_set_debugregs() argument
3981 if (dbgregs->flags) in kvm_vcpu_ioctl_x86_set_debugregs()
3984 if (dbgregs->dr6 & ~0xffffffffull) in kvm_vcpu_ioctl_x86_set_debugregs()
3986 if (dbgregs->dr7 & ~0xffffffffull) in kvm_vcpu_ioctl_x86_set_debugregs()
3989 memcpy(vcpu->arch.db, dbgregs->db, sizeof(vcpu->arch.db)); in kvm_vcpu_ioctl_x86_set_debugregs()
[all …]