1. 07 6月, 2013 1 次提交
  2. 09 4月, 2013 1 次提交
    • P
      hw: move headers to include/ · 0d09e41a
      Paolo Bonzini 提交于
      Many of these should be cleaned up with proper qdev-/QOM-ification.
      Right now there are many catch-all headers in include/hw/ARCH depending
      on cpu.h, and this makes it necessary to compile these files per-target.
      However, fixing this does not belong in these patches.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      0d09e41a
  3. 01 3月, 2013 1 次提交
    • P
      hw: include hw header files with full paths · 83c9f4ca
      Paolo Bonzini 提交于
      Done with this script:
      
      cd hw
      for i in `find . -name '*.h' | sed 's/^..//'`; do
        echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,'
      done | sed -i -f - `find . -type f`
      
      This is so that paths remain valid as files are moved.
      
      Instead, files in hw/dataplane are referenced with the relative path.
      We know they are not going to move to include/, and they are the only
      include files that are in subdirectories _and_ move.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      83c9f4ca
  4. 07 3月, 2012 1 次提交
    • J
      kvm: x86: Add user space part for in-kernel i8254 · 5d17c0d2
      Jan Kiszka 提交于
      This provides the required user space stubs to enable the in-kernel
      i8254 emulation of KVM.
      
      The in-kernel model supports lost tick compensation according to the
      "delay" policy. This is enabled by default and can be switched off via a
      device property.
      
      Depending on the feature set of the host kernel (before 2.6.32), we may
      have to disable the HPET or lack sound output from the PC speaker.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      5d17c0d2
  5. 17 2月, 2012 4 次提交
    • J
      i8254: Factor out pit_get_channel_info · 4aa5d285
      Jan Kiszka 提交于
      Instead of providing 4 individual query functions for mode, gate, output
      and initial counter state, introduce a service that queries all
      information at once. This comes with tiny additional costs for
      pcspk_callback but with a much cleaner interface. Also, it will simplify
      the implementation of the KVM in-kernel PIT model.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4aa5d285
    • J
      i8254: Rework & fix interaction with HPET in legacy mode · ce967e2f
      Jan Kiszka 提交于
      When the HPET enters legacy mode, the IRQ output of the PIT is
      suppressed and replaced by the HPET timer 0. But the current code to
      emulate this was broken in many ways. It reset the PIT state after
      re-enabling, it worked against a stale static PIT structure, and it did
      not properly saved/restored the IRQ output mask in the PIT vmstate.
      
      This patch solves the PIT IRQ control in a different way. On x86, it
      both redirects the PIT IRQ to the HPET, just like the RTC. But it also
      keeps the control line from the HPET to the PIT. This allows to disable
      the PIT QEMU timer when it is not needed. The PIT's view on the control
      line state is now saved in the same format that qemu-kvm is already
      using.
      
      Note that, in contrast to the suppressed RTC IRQ line, we do not need to
      save/restore the PIT line state in the HPET. As we trigger a PIT IRQ
      update via the control line, the line state is reconstructed on mode
      switch.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      ce967e2f
    • J
      i8254: Pass alternative IRQ output object on initialization · 319ba9f5
      Jan Kiszka 提交于
      HPET legacy emulation will require control over the PIT IRQ output. To
      enable this, add support for an alternative IRQ output object to the PIT
      factory function. If the isa_irq number is < 0, this object will be
      used.
      
      This also removes the IRQ number property from the PIT class as we now
      use a generic GPIO output pin that is connected by the factory function.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      319ba9f5
    • J
      i8254: Factor out interface header · b1277b03
      Jan Kiszka 提交于
      Move the public interface of the PIT into its own header file and update
      all users.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      b1277b03
  6. 16 10月, 2011 1 次提交
  7. 23 8月, 2011 1 次提交
  8. 27 5月, 2009 1 次提交
  9. 19 5月, 2009 1 次提交
  10. 04 3月, 2009 1 次提交
  11. 08 4月, 2008 1 次提交
  12. 01 2月, 2008 1 次提交
  13. 07 10月, 2007 1 次提交
  14. 17 9月, 2007 1 次提交
  15. 08 4月, 2007 1 次提交
  16. 02 2月, 2007 1 次提交
  17. 31 10月, 2005 1 次提交
  18. 08 11月, 2004 1 次提交