Loading drivers/kvm/kvm_main.c +0 −5 Original line number Diff line number Diff line Loading @@ -1588,11 +1588,6 @@ static int kvm_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) /* re-sync apic's tpr */ vcpu->cr8 = kvm_run->cr8; if (kvm_run->emulated) { kvm_arch_ops->skip_emulated_instruction(vcpu); kvm_run->emulated = 0; } if (kvm_run->io_completed) { if (vcpu->pio_pending) complete_pio(vcpu); Loading include/linux/kvm.h +1 −2 Original line number Diff line number Diff line Loading @@ -51,10 +51,9 @@ enum kvm_exit_reason { /* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */ struct kvm_run { /* in */ __u32 emulated; /* skip current instruction */ __u32 io_completed; /* mmio/pio request completed */ __u8 request_interrupt_window; __u8 padding1[7]; __u8 padding1[3]; /* out */ __u32 exit_type; Loading Loading
drivers/kvm/kvm_main.c +0 −5 Original line number Diff line number Diff line Loading @@ -1588,11 +1588,6 @@ static int kvm_vcpu_ioctl_run(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) /* re-sync apic's tpr */ vcpu->cr8 = kvm_run->cr8; if (kvm_run->emulated) { kvm_arch_ops->skip_emulated_instruction(vcpu); kvm_run->emulated = 0; } if (kvm_run->io_completed) { if (vcpu->pio_pending) complete_pio(vcpu); Loading
include/linux/kvm.h +1 −2 Original line number Diff line number Diff line Loading @@ -51,10 +51,9 @@ enum kvm_exit_reason { /* for KVM_RUN, returned by mmap(vcpu_fd, offset=0) */ struct kvm_run { /* in */ __u32 emulated; /* skip current instruction */ __u32 io_completed; /* mmio/pio request completed */ __u8 request_interrupt_window; __u8 padding1[7]; __u8 padding1[3]; /* out */ __u32 exit_type; Loading