1. 03 4月, 2012 2 次提交
  2. 15 3月, 2012 2 次提交
  3. 13 3月, 2012 1 次提交
  4. 04 2月, 2012 2 次提交
    • A
      qom: move properties from qdev to object · 57c9fafe
      Anthony Liguori 提交于
      This is mostly code movement although not entirely.  This makes properties part
      of the Object base class which means that we can now start using Object in a
      meaningful way outside of qdev.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      57c9fafe
    • A
      qdev: register all types natively through QEMU Object Model · 39bffca2
      Anthony Liguori 提交于
      This was done in a mostly automated fashion.  I did it in three steps and then
      rebased it into a single step which avoids repeatedly touching every file in
      the tree.
      
      The first step was a sed-based addition of the parent type to the subclass
      registration functions.
      
      The second step was another sed-based removal of subclass registration functions
      while also adding virtual functions from the base class into a class_init
      function as appropriate.
      
      Finally, a python script was used to convert the DeviceInfo structures and
      qdev_register_subclass functions to TypeInfo structures, class_init functions,
      and type_register_static calls.
      
      We are almost fully converted to QOM after this commit.
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      39bffca2
  5. 20 1月, 2012 4 次提交
    • A
      prep: Use i82378 PCI->ISA bridge for 'prep' machine · 506b7ddf
      Andreas Färber 提交于
      Speaker I/O, ISA bus, i8259 PIC, RTC and DMA are no longer set up
      individually by the machine. Effectively, no-op speaker I/O is replaced
      by pcspk; PIT and i82374 DMA are introduced.
      Signed-off-by: NHervé Poussineau <hpoussin@reactos.org>
      
      Remove related dead, alternative code.
      Wire up PCI host bridge IRQs via GPIO-in IRQs of PCI->ISA bridge.
      Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
      Cc: Alexander Graf <agraf@suse.de>
      Cc: Jan Kiszka <jan.kiszka@siemens.com>
      506b7ddf
    • A
      prep: qdev'ify Raven host bridge (SysBus) · 8ca8c7bc
      Andreas Färber 提交于
      Drop pci_prep_init() in favor of extended device state. Inspired by
      patches from Hervé and Alex.
      
      Assign the 4 IRQs from the board after device instantiation. This moves
      the knowledge out of prep_pci and allows for future machines with
      different IRQ wiring (IBM 40P). Suggested by Alex.
      Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
      Reviewed-by: NAlexander Graf <agraf@suse.de>
      Cc: Hervé Poussineau <hpoussin@reactos.org>
      Cc: Michael S. Tsirkin <mst@redhat.com>
      Cc: Anthony Liguori <aliguori@us.ibm.com>
      8ca8c7bc
    • A
      prep: Use ISA m48t59 · 48e93728
      Andreas Färber 提交于
      This simplifies the code later when the i8259 moves to the i82378
      PCI->ISA bridge and happens to fix a SysBus m48t59 io_base issue
      introduced by commit 0fb56ffc (m48t59:
      drop obsolete address base arithmetic). Suggested by Hervé and Jan.
      Signed-off-by: NAndreas Färber <andreas.faerber@web.de>
      Cc: Hervé Poussineau <hpoussin@reactos.org>
      Cc: Jan Kiszka <jan.kiszka@siemens.com>
      Cc: Blue Swirl <blauwirbel@gmail.com>
      48e93728
    • A
      prep: Fix offset of BIOS MemoryRegion · 809680c0
      Andreas Färber 提交于
      Since 0c90c52f (ppc_prep: convert to memory
      API) OHW was "Trying to execute code outside RAM or ROM at 0xfff00700".
      
      The BIOS MemoryRegion is created with a fixed size of 1 MiB.
      Ensure that the full size can be accessed since the exception
      vectors are located at 0xfff00000 and the BIOS may want to use them.
      
      It thereby no longer depends on the actual BIOS binary size.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Cc: Avi Kivity <avi@redhat.com>
      Cc: Alexander Graf <agraf@suse.de>
      809680c0
  6. 04 1月, 2012 1 次提交
    • A
      vmstate, memory: decouple vmstate from memory API · c5705a77
      Avi Kivity 提交于
      Currently creating a memory region automatically registers it for
      live migration.  This differs from other state (which is enumerated
      in a VMStateDescription structure) and ties the live migration code
      into the memory core.
      
      Decouple the two by introducing a separate API, vmstate_register_ram(),
      for registering a RAM block for migration.  Currently the same
      implementation is reused, but later it can be moved into a separate list,
      and registrations can be moved to VMStateDescription blocks.
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      c5705a77
  7. 21 12月, 2011 1 次提交
  8. 17 10月, 2011 1 次提交
  9. 16 10月, 2011 1 次提交
  10. 25 9月, 2011 2 次提交
  11. 21 8月, 2011 1 次提交
  12. 08 8月, 2011 1 次提交
  13. 29 7月, 2011 1 次提交
  14. 07 4月, 2011 1 次提交
  15. 21 3月, 2011 1 次提交
    • P
      change all other clock references to use nanosecond resolution accessors · 74475455
      Paolo Bonzini 提交于
      This was done with:
      
          sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \
              $(git grep -l 'qemu_get_clock\>' )
          sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \
              $(git grep -l 'qemu_new_timer\>' )
      
      after checking that get_clock and new_timer never occur twice
      on the same line.  There were no missed occurrences; however, even
      if there had been, they would have been caught by the compiler.
      
      There was exactly one false positive in qemu_run_timers:
      
           -    current_time = qemu_get_clock (clock);
           +    current_time = qemu_get_clock_ns (clock);
      
      which is of course not in this patch.
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      74475455
  16. 21 2月, 2011 1 次提交
  17. 20 2月, 2011 1 次提交
  18. 29 1月, 2011 2 次提交
  19. 11 12月, 2010 2 次提交
  20. 16 11月, 2010 1 次提交
  21. 14 10月, 2010 1 次提交
    • B
      Delete write only variables · 49a2942d
      Blue Swirl 提交于
      Compiling with GCC 4.6.0 20100925 produced warnings like:
      /src/qemu/net/tap-win32.c: In function 'tap_win32_open':
      /src/qemu/net/tap-win32.c:582:12: error: variable 'hThread' set but not used [-Werror=unused-but-set-variable]
      
      Fix by removing the unused variables.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      49a2942d
  22. 18 9月, 2010 1 次提交
  23. 24 8月, 2010 1 次提交
    • B
      Rearrange block headers · 2446333c
      Blue Swirl 提交于
      Changing block.h or blockdev.h resulted in recompiling most objects.
      
      Move DriveInfo typedef and BlockInterfaceType enum definitions
      to qemu-common.h and rearrange blockdev.h use to decrease churn.
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      2446333c
  24. 06 7月, 2010 1 次提交
  25. 13 6月, 2010 1 次提交
    • J
      hpet/rtc: Rework RTC IRQ replacement by HPET · 7d932dfd
      Jan Kiszka 提交于
      Allow the intercept the RTC IRQ for the HPET legacy mode. Then push
      routing to IRQ8 completely into the HPET. This allows to turn
      hpet_in_legacy_mode() into a private function. Furthermore, this stops
      the RTC from clearing IRQ8 even if the HPET is in control.
      
      This patch comes with a side effect: The RTC timers will no longer be
      stoppend when there is no IRQ consumer, possibly causing a minor
      performance degration. But as the guest may want to redirect the RTC to
      the SCI in that mode, it should normally disable unused IRQ source
      anyway.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
      7d932dfd
  26. 22 5月, 2010 1 次提交
  27. 16 5月, 2010 1 次提交
  28. 05 4月, 2010 1 次提交
  29. 22 3月, 2010 1 次提交
  30. 07 2月, 2010 1 次提交
  31. 01 12月, 2009 1 次提交