1. 25 3月, 2012 1 次提交
  2. 19 3月, 2012 1 次提交
  3. 18 3月, 2012 2 次提交
  4. 14 3月, 2012 1 次提交
  5. 13 3月, 2012 1 次提交
    • G
      usb: the big rename · f1ae32a1
      Gerd Hoffmann 提交于
      Reorganize usb source files.  Create a new hw/usb/ directory and move
      all usb source code to that place.  Also make filenames a bit more
      descriptive.  Host adapters are prefixed with "hch-" now, usb device
      emulations are prefixed with "dev-".  Fixup paths Makefile and include
      paths to make it compile.  No code changes.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      f1ae32a1
  6. 07 3月, 2012 5 次提交
  7. 06 3月, 2012 1 次提交
  8. 02 3月, 2012 1 次提交
  9. 22 2月, 2012 3 次提交
  10. 18 2月, 2012 1 次提交
    • J
      kvmvapic: Introduce TPR access optimization for Windows guests · e5ad936b
      Jan Kiszka 提交于
      This enables acceleration for MMIO-based TPR registers accesses of
      32-bit Windows guest systems. It is mostly useful with KVM enabled,
      either on older Intel CPUs (without flexpriority feature, can also be
      manually disabled for testing) or any current AMD processor.
      
      The approach introduced here is derived from the original version of
      qemu-kvm. It was refactored, documented, and extended by support for
      user space APIC emulation, both with and without KVM acceleration. The
      VMState format was kept compatible, so was the ABI to the option ROM
      that implements the guest-side para-virtualized driver service. This
      enables seamless migration from qemu-kvm to upstream or, one day,
      between KVM and TCG mode.
      
      The basic concept goes like this:
       - VAPIC PV interface consisting of I/O port 0x7e and (for KVM in-kernel
         irqchip) a vmcall hypercall is registered
       - VAPIC option ROM is loaded into guest
       - option ROM activates TPR MMIO access reporting via port 0x7e
       - TPR accesses are trapped and patched in the guest to call into option
         ROM instead, VAPIC support is enabled
       - option ROM TPR helpers track state in memory and invoke hypercall to
         poll for pending IRQs if required
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      e5ad936b
  11. 17 2月, 2012 8 次提交
  12. 10 2月, 2012 1 次提交
  13. 08 2月, 2012 1 次提交
    • S
      w32: Build windows and console executables · 0fa5491e
      Stefan Weil 提交于
      System emulation executables with SDL are typically windows
      executables. Sometimes console executables are more useful,
      so create both variants if linker option -mwindows was detected.
      
      v2:
      This version uses QEMU_PROGW / QEMU_PROG instead of QEMU_PROG / QEMU_PROGC.
      Signed-off-by: NStefan Weil <sw@weilnetz.de>
      0fa5491e
  14. 28 1月, 2012 1 次提交
    • A
      qom: add the base Object class (v2) · 2f28d2ff
      Anthony Liguori 提交于
      This class provides the main building block for QEMU Object Model and is
      extensively documented in the header file.  It is largely inspired by GObject.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ---
      v1 -> v2
       - remove printf() in type registration
       - fix typo in comment (Paolo)
       - make Interface private
       - move object into a new directory and move header into include/qemu/
       - don't make object.h depend on qemu-common.h
       - remove Type and replace it with TypeImpl * (Paolo)
       - use hash table to store types (Paolo)
       - aggressively cache parent type (Paolo)
       - make a type_register and use it with interfaces (Paolo)
       - fix interface cast comment (Paolo)
       - add a few more functions required in later series
      2f28d2ff
  15. 26 1月, 2012 3 次提交
  16. 24 1月, 2012 1 次提交
  17. 22 1月, 2012 1 次提交
  18. 21 1月, 2012 1 次提交
  19. 19 1月, 2012 6 次提交
    • J
      kvm: x86: Add user space part for in-kernel IOAPIC · a39c1d47
      Jan Kiszka 提交于
      This introduces the KVM-accelerated IOAPIC model 'kvm-ioapic' and
      extends the IRQ routing setup by the 0->2 redirection when needed.
      
      The kvm-ioapic model has a property that allows to define its GSI base
      for injecting interrupts into the kernel model. This will allow to
      disentangle PIC and IOAPIC pins for chipsets that support more
      sophisticated IRQ routes than the PIIX3. So far the base is kept at 0,
      i.e. PIC and IOAPIC share pins 0..15.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      a39c1d47
    • J
      kvm: x86: Add user space part for in-kernel i8259 · 10b61882
      Jan Kiszka 提交于
      Introduce the alternative 'kvm-i8259' device model that exploits KVM
      in-kernel acceleration.
      
      The PIIX3 initialization code is furthermore extended by KVM specific
      IRQ route setup. GSI injection differs in KVM mode from the user space
      model. As we can dispatch ISA-range IRQs to both IOAPIC and PIC inside
      the kernel, we do not need to inject them separately. This is reflected
      by a KVM-specific GSI handler.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      10b61882
    • J
      kvm: x86: Add user space part for in-kernel APIC · 680c1c6f
      Jan Kiszka 提交于
      This introduces the alternative APIC device which makes use of KVM's
      in-kernel device model. External NMI injection via LINT1 is emulated by
      checking the current state of the in-kernel APIC, only injecting a NMI
      into the VCPU if LINT1 is unmasked and configured to DM_NMI.
      
      MSI is not yet supported, so we disable this when the in-kernel model is
      in use.
      
      CC: Lai Jiangshan <laijs@cn.fujitsu.com>
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      680c1c6f
    • J
      ioapic: Factor out base class for KVM reuse · 244ac3af
      Jan Kiszka 提交于
      Split up the IOAPIC analogously to APIC and i8259. KVM will share the
      IOAPICCommonState, the vmstate, reset logic and certain init parts with
      the user space model.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      244ac3af
    • J
      apic: Factor out base class for KVM reuse · dae01685
      Jan Kiszka 提交于
      The KVM in-kernel APIC model will reuse parts of the user space model
      while providing the same frontend view to guest and most management
      interfaces.
      
      Factor out an APIC base class to encapsulate those parts that will be
      shared by user space and KVM model. This class offers callback hooks for
      init, base/tpr setting, and the external NMI delivery that will be
      set via APICCommonInfo structure and implemented specifically in the
      subclasses.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      dae01685
    • J
      kvm: Move kvmclock into hw/kvm folder · 3b9a6ee5
      Jan Kiszka 提交于
      More KVM-specific devices will come, so let's start with moving the
      kvmclock into a dedicated folder.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      3b9a6ee5