Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 103694
b: refs/heads/master
c: c7bf23b
h: refs/heads/master
v: v3
  • Loading branch information
Joerg Roedel authored and Avi Kivity committed Jul 20, 2008
1 parent 59fa086 commit 095ec0d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: 8b2cf73cc11cf29a21c51c453a3205f23d888915
refs/heads/master: c7bf23babc959b186335d2640959a1b8633588de
4 changes: 4 additions & 0 deletions trunk/arch/x86/kvm/lapic.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,8 @@ static u32 __apic_read(struct kvm_lapic *apic, unsigned int offset)
{
u32 val = 0;

KVMTRACE_1D(APIC_ACCESS, apic->vcpu, (u32)offset, handler);

if (offset >= LAPIC_MMIO_LENGTH)
return 0;

Expand Down Expand Up @@ -695,6 +697,8 @@ static void apic_mmio_write(struct kvm_io_device *this,

offset &= 0xff0;

KVMTRACE_1D(APIC_ACCESS, apic->vcpu, (u32)offset, handler);

switch (offset) {
case APIC_ID: /* Local APIC ID */
apic_set_reg(apic, APIC_ID, val);
Expand Down
2 changes: 0 additions & 2 deletions trunk/arch/x86/kvm/vmx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2554,8 +2554,6 @@ static int handle_apic_access(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run)
exit_qualification = vmcs_read64(EXIT_QUALIFICATION);
offset = exit_qualification & 0xffful;

KVMTRACE_1D(APIC_ACCESS, vcpu, (u32)offset, handler);

er = emulate_instruction(vcpu, kvm_run, 0, 0, 0);

if (er != EMULATE_DONE) {
Expand Down

0 comments on commit 095ec0d

Please sign in to comment.