1. 15 10月, 2008 4 次提交
    • J
      KVM: x86: Silence various LAPIC-related host kernel messages · 1b10bf31
      Jan Kiszka 提交于
      KVM-x86 dumps a lot of debug messages that have no meaning for normal
      operation:
       - INIT de-assertion is ignored
       - SIPIs are sent and received
       - APIC writes are unaligned or < 4 byte long
         (Windows Server 2003 triggers this on SMP)
      
      Degrade them to true debug messages, keeping the host kernel log clean
      for real problems.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      1b10bf31
    • M
      KVM: x86: do not execute halted vcpus · d7690175
      Marcelo Tosatti 提交于
      Offline or uninitialized vcpu's can be executed if requested to perform
      userspace work.
      
      Follow Avi's suggestion to handle halted vcpu's in the main loop,
      simplifying kvm_emulate_halt(). Introduce a new vcpu->requests bit to
      indicate events that promote state from halted to running.
      
      Also standardize vcpu wake sites.
      
      Signed-off-by: Marcelo Tosatti <mtosatti <at> redhat.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      d7690175
    • M
      KVM: irq ack notification · f5244726
      Marcelo Tosatti 提交于
      Based on a patch from: Ben-Ami Yassour <benami@il.ibm.com>
      which was based on a patch from: Amit Shah <amit.shah@qumranet.com>
      
      Notify IRQ acking on PIC/APIC emulation. The previous patch missed two things:
      
      - Edge triggered interrupts on IOAPIC
      - PIC reset with IRR/ISR set should be equivalent to ack (LAPIC probably
      needs something similar).
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      CC: Amit Shah <amit.shah@qumranet.com>
      CC: Ben-Ami Yassour <benami@il.ibm.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      f5244726
    • M
      KVM: x86: accessors for guest registers · 5fdbf976
      Marcelo Tosatti 提交于
      As suggested by Avi, introduce accessors to read/write guest registers.
      This simplifies the ->cache_regs/->decache_regs interface, and improves
      register caching which is important for VMX, where the cost of
      vmcs_read/vmcs_write is significant.
      
      [avi: fix warnings]
      Signed-off-by: NMarcelo Tosatti <mtosatti@redhat.com>
      Signed-off-by: NAvi Kivity <avi@qumranet.com>
      5fdbf976
  2. 20 7月, 2008 4 次提交
  3. 24 6月, 2008 1 次提交
  4. 18 5月, 2008 1 次提交
  5. 01 5月, 2008 1 次提交
    • R
      rename div64_64 to div64_u64 · 6f6d6a1a
      Roman Zippel 提交于
      Rename div64_64 to div64_u64 to make it consistent with the other divide
      functions, so it clearly includes the type of the divide.  Move its definition
      to math64.h as currently no architecture overrides the generic implementation.
       They can still override it of course, but the duplicated declarations are
      avoided.
      Signed-off-by: NRoman Zippel <zippel@linux-m68k.org>
      Cc: Avi Kivity <avi@qumranet.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: David Howells <dhowells@redhat.com>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Patrick McHardy <kaber@trash.net>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      6f6d6a1a
  6. 27 4月, 2008 4 次提交
  7. 04 3月, 2008 1 次提交
  8. 31 1月, 2008 4 次提交
  9. 30 1月, 2008 9 次提交
  10. 22 10月, 2007 2 次提交
  11. 13 10月, 2007 8 次提交