Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dkvm.h647 #define KVM_GET_PIT _IOWR(KVMIO, 0x65, struct kvm_pit_state)
648 #define KVM_SET_PIT _IOR(KVMIO, 0x66, struct kvm_pit_state)
/linux-2.6.39/arch/x86/include/asm/
Dkvm.h243 struct kvm_pit_state { struct
/linux-2.6.39/arch/x86/kvm/
Dx86.c3153 static int kvm_vm_ioctl_get_pit(struct kvm *kvm, struct kvm_pit_state *ps) in kvm_vm_ioctl_get_pit()
3158 memcpy(ps, &kvm->arch.vpit->pit_state, sizeof(struct kvm_pit_state)); in kvm_vm_ioctl_get_pit()
3163 static int kvm_vm_ioctl_set_pit(struct kvm *kvm, struct kvm_pit_state *ps) in kvm_vm_ioctl_set_pit()
3168 memcpy(&kvm->arch.vpit->pit_state, ps, sizeof(struct kvm_pit_state)); in kvm_vm_ioctl_set_pit()
3297 struct kvm_pit_state ps; in kvm_arch_vm_ioctl()
3458 if (copy_from_user(&u.ps, argp, sizeof(struct kvm_pit_state))) in kvm_arch_vm_ioctl()
3467 if (copy_to_user(argp, &u.ps, sizeof(struct kvm_pit_state))) in kvm_arch_vm_ioctl()