Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 54062
b: refs/heads/master
c: 106b552
h: refs/heads/master
v: v3
  • Loading branch information
Avi Kivity committed May 3, 2007
1 parent db2d806 commit 9215bf7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 06465c5a3aa9948a7b00af49cd22ed8f235cdb0f
refs/heads/master: 106b552b43beac2694df5fbafc8f125a72df5f65
5 changes: 0 additions & 5 deletions trunk/drivers/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 1 addition & 2 deletions trunk/include/linux/kvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9215bf7

Please sign in to comment.