1. 22 Aug, 2013 1 commit
  2. 22 Jul, 2013 2 commits
  3. 04 Jul, 2013 4 commits
  4. 14 Jun, 2013 1 commit
  5. 02 Jun, 2013 1 commit
  6. 01 May, 2013 1 commit
  7. 08 Apr, 2013 2 commits
  8. 03 Apr, 2013 1 commit
  9. 01 Mar, 2013 1 commit
    • Paolo Bonzini's avatar
      hw: include hw header files with full paths · 83c9f4ca
      Paolo Bonzini authored
      
      
      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: default avatarPaolo Bonzini <pbonzini@redhat.com>
      83c9f4ca
  10. 04 Feb, 2013 1 commit
    • Michael Roth's avatar
      acpi_piix4: fix segfault migrating from 1.2 · ded67782
      Michael Roth authored
      b0b873a0
      
       bumped the vmstate version and
      introduced an old-style load function to handle migration from prior
      (<= 1.2) versions.
      
      The load function passes the top-level PIIX4PMState pointer to
      vmstate_load_state() to handle nested structs for APMState and
      pci_status, which leads to corruption of the top-level PIIX4PMState,
      since pointers to the nested structs are expected.
      
      A segfault can be fairly reliably triggered by migrating from 1.2 and
      issuing a reset, which will trigger a number of QOM operations which
      rely on the now corrupted ObjectClass/Object members.
      
      Fix this by passing in the expected pointers for vmstate_load_state().
      
      Cc: qemu-stable@nongnu.org
      Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      ded67782
  11. 15 Jan, 2013 1 commit
  12. 10 Jan, 2013 1 commit
    • Andreas Färber's avatar
      Make all static TypeInfos const · 8c43a6f0
      Andreas Färber authored
      Since 39bffca2
      
       (qdev: register all
      types natively through QEMU Object Model), TypeInfo as used in
      the common, non-iterative pattern is no longer amended with information
      and should therefore be const.
      
      Fix the documented QOM examples:
      
       sed -i 's/static TypeInfo/static const TypeInfo/g' include/qom/object.h
      
      Since frequently the wrong examples are being copied by contributors of
      new devices, fix all types in the tree:
      
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*.c
       sed -i 's/^static TypeInfo/static const TypeInfo/g' */*/*.c
      
      This also avoids to piggy-back these changes onto real functional
      changes or other refactorings.
      Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      8c43a6f0
  13. 04 Jan, 2013 1 commit
  14. 19 Dec, 2012 3 commits
  15. 17 Dec, 2012 1 commit
  16. 04 Dec, 2012 12 commits
  17. 14 Nov, 2012 1 commit
  18. 25 Sep, 2012 1 commit
  19. 29 Aug, 2012 1 commit
  20. 24 Aug, 2012 1 commit
    • Paolo Bonzini's avatar
      qom: object_delete should unparent the object first · da5a44e8
      Paolo Bonzini authored
      
      
      object_deinit is only called when the reference count goes to zero,
      and yet tries to do an object_unparent.  Now, object_unparent
      either does nothing or it will decrease the reference count.
      Because we know the reference count is zero, the object_unparent
      call in object_deinit is useless.
      
      Instead, we need to disconnect the object from its parent just
      before we remove the last reference apart from the parent's.  This
      happens in object_delete.  Once we do this, all calls to
      object_unparent peppered through QEMU can go away.
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      da5a44e8
  21. 19 Jun, 2012 1 commit
    • Gleb Natapov's avatar
      Add PIIX4 properties to control PM system states. · 459ae5ea
      Gleb Natapov authored
      
      
      This patch adds two things. First it allows QEMU to distinguish between
      regular powerdown and S4 powerdown. Later separate QMP notification will
      be added for S4 powerdown. Second it allows S3/S4 states to be disabled
      from QEMU command line. Some guests known to be broken with regards to
      power management, but allow to use it anyway. Using new properties
      management will be able to disable S3/S4 for such guests.
      
      Supported system state are passed to a firmware using new fw_cfg file.
      The file contains  6 byte array. Each byte represents one system
      state. If byte at offset X has its MSB set it means that system state
      X is supported and to enter it guest should use the value from lowest 3
      bits.
      Signed-off-by: default avatarGleb Natapov <gleb@redhat.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      459ae5ea
  22. 18 Jun, 2012 1 commit