1. 01 3月, 2010 2 次提交
  2. 03 12月, 2009 4 次提交
  3. 10 9月, 2009 7 次提交
  4. 10 6月, 2009 17 次提交
  5. 22 4月, 2009 1 次提交
  6. 28 3月, 2009 1 次提交
    • I
      ia64: remove some warnings. · 7120569c
      Isaku Yamahata 提交于
      This patch removes the following warnings and related ones.
      Plus some cosmetics.
      
      arch/ia64/kernel/patch.c:112: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
      arch/ia64/kernel/patch.c:135: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
      arch/ia64/kernel/patch.c:166: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
      arch/ia64/kernel/patch.c:202: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
      arch/ia64/kernel/patch.c:220: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
      Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp>
      Signed-off-by: NTony Luck <tony.luck@intel.com>
      7120569c
  7. 24 3月, 2009 5 次提交
    • G
      KVM: Report IRQ injection status to userspace. · 4925663a
      Gleb Natapov 提交于
      IRQ injection status is either -1 (if there was no CPU found
      that should except the interrupt because IRQ was masked or
      ioapic was misconfigured or ...) or >= 0 in that case the
      number indicates to how many CPUs interrupt was injected.
      If the value is 0 it means that the interrupt was coalesced
      and probably should be reinjected.
      Signed-off-by: NGleb Natapov <gleb@redhat.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      4925663a
    • J
      KVM: ia64: dynamic nr online cpus · 934d534f
      Jes Sorensen 提交于
      Account for number of online cpus and use that in loops iterating over
      the list of vpus instead of scanning the full array unconditionally.
      This patch is a building block to facilitate allowing to bump up
      the size of MAX_VCPUS significantly.
      Signed-off-by: NJes Sorensen <jes@sgi.com>
      Acked-by : Xiantao Zhang  <xiantao.zhang@intel.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      934d534f
    • A
      KVM: Userspace controlled irq routing · 399ec807
      Avi Kivity 提交于
      Currently KVM has a static routing from GSI numbers to interrupts (namely,
      0-15 are mapped 1:1 to both PIC and IOAPIC, and 16:23 are mapped 1:1 to
      the IOAPIC).  This is insufficient for several reasons:
      
      - HPET requires non 1:1 mapping for the timer interrupt
      - MSIs need a new method to assign interrupt numbers and dispatch them
      - ACPI APIC mode needs to be able to reassign the PCI LINK interrupts to the
        ioapics
      
      This patch implements an interrupt routing table (as a linked list, but this
      can be easily changed) and a userspace interface to replace the table.  The
      routing table is initialized according to the current hardwired mapping.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      399ec807
    • J
      KVM: ia64: stack get/restore patch · e9a999fe
      Jes Sorensen 提交于
      Implement KVM_IA64_VCPU_[GS]ET_STACK ioctl calls. This is required
      for live migrations.
      
      Patch is based on previous implementation that was part of old
      GET/SET_REGS ioctl calls.
      Signed-off-by: NJes Sorensen <jes@sgi.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      e9a999fe
    • J
      KVM: New guest debug interface · d0bfb940
      Jan Kiszka 提交于
      This rips out the support for KVM_DEBUG_GUEST and introduces a new IOCTL
      instead: KVM_SET_GUEST_DEBUG. The IOCTL payload consists of a generic
      part, controlling the "main switch" and the single-step feature. The
      arch specific part adds an x86 interface for intercepting both types of
      debug exceptions separately and re-injecting them when the host was not
      interested. Moveover, the foundation for guest debugging via debug
      registers is layed.
      
      To signal breakpoint events properly back to userland, an arch-specific
      data block is now returned along KVM_EXIT_DEBUG. For x86, the arch block
      contains the PC, the debug exception, and relevant debug registers to
      tell debug events properly apart.
      
      The availability of this new interface is signaled by
      KVM_CAP_SET_GUEST_DEBUG. Empty stubs for not yet supported archs are
      provided.
      
      Note that both SVM and VTX are supported, but only the latter was tested
      yet. Based on the experience with all those VTX corner case, I would be
      fairly surprised if SVM will work out of the box.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      d0bfb940
  8. 15 2月, 2009 1 次提交
  9. 03 1月, 2009 1 次提交
  10. 31 12月, 2008 1 次提交
    • J
      KVM: ia64: Fix kvm_arch_vcpu_ioctl_[gs]et_regs() · 042b26ed
      Jes Sorensen 提交于
      Fix kvm_arch_vcpu_ioctl_[gs]et_regs() to do something meaningful on
      ia64. Old versions could never have worked since they required
      pointers to be set in the ioctl payload which were never being set by
      the ioctl handler for get_regs.
      
      In addition reserve extra space for future extensions.
      
      The change of layout of struct kvm_regs doesn't require adding a new
      CAP since get/set regs never worked on ia64 until now.
      
      This version doesn't support copying the KVM kernel stack in/out of
      the kernel. This should be implemented in a seperate ioctl call if
      ever needed.
      Signed-off-by: NJes Sorensen <jes@sgi.com>
      Acked-by : Xiantao Zhang <xiantao.zhang@intel.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      042b26ed