1. 24 6月, 2008 1 次提交
    • M
      KVM: Fix race between timer migration and vcpu migration · d4acf7e7
      Marcelo Tosatti 提交于
      A guest vcpu instance can be scheduled to a different physical CPU
      between the test for KVM_REQ_MIGRATE_TIMER and local_irq_disable().
      
      If that happens, the timer will only be migrated to the current pCPU on
      the next exit, meaning that guest LAPIC timer event can be delayed until
      a host interrupt is triggered.
      
      Fix it by cancelling guest entry if any vcpu request is pending.  This
      has the side effect of nicely consolidating vcpu->requests checks.
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      d4acf7e7
  2. 07 6月, 2008 1 次提交
  3. 04 5月, 2008 5 次提交
  4. 27 4月, 2008 28 次提交
  5. 04 3月, 2008 1 次提交
  6. 03 3月, 2008 3 次提交
  7. 06 2月, 2008 1 次提交
    • A
      kvm: i386 fix · c0b49b0d
      Andrew Morton 提交于
      arch/x86/kvm/x86.c: In function 'emulator_cmpxchg_emulated':
      arch/x86/kvm/x86.c:1746: warning: passing argument 2 of 'vcpu->arch.mmu.gva_to_gpa' makes integer from pointer without a cast
      arch/x86/kvm/x86.c:1746: warning: 'addr' is used uninitialized in this function
      
      Is true.  Local variable `addr' shadows incoming arg `addr'.  Avi is on
      vacation for a while, so...
      
      Cc: Avi Kivity <avi@qumranet.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c0b49b0d