1. 11 5月, 2017 1 次提交
  2. 01 3月, 2017 1 次提交
    • M
      bus: do not unref hotplug handler · 675f22c6
      Marc-André Lureau 提交于
      Apparently, none of the bus owner give a reference to the hotplug
      handler property, do not unref it on bus release.
      
      Furthermore, a bus is allowed to be its own hotplug handler, which can
      be seen in qbus_set_bus_hotplug_handler() function. However, in this
      case, the reference can't be given to the property, or this will create
      a cyclic dependency and the bus will never be free.
      
      Each bus owner should manage the lifecycle of the hotplug handler.
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com>
      675f22c6
  3. 10 1月, 2017 1 次提交
  4. 15 11月, 2016 1 次提交
  5. 24 6月, 2016 6 次提交
  6. 07 6月, 2016 3 次提交
  7. 19 5月, 2016 1 次提交
  8. 23 3月, 2016 1 次提交
    • M
      include/qemu/osdep.h: Don't include qapi/error.h · da34e65c
      Markus Armbruster 提交于
      Commit 57cb38b3 included qapi/error.h into qemu/osdep.h to get the
      Error typedef.  Since then, we've moved to include qemu/osdep.h
      everywhere.  Its file comment explains: "To avoid getting into
      possible circular include dependencies, this file should not include
      any other QEMU headers, with the exceptions of config-host.h,
      compiler.h, os-posix.h and os-win32.h, all of which are doing a
      similar job to this file and are under similar constraints."
      qapi/error.h doesn't do a similar job, and it doesn't adhere to
      similar constraints: it includes qapi-types.h.  That's in excess of
      100KiB of crap most .c files don't actually need.
      
      Add the typedef to qemu/typedefs.h, and include that instead of
      qapi/error.h.  Include qapi/error.h in .c files that need it and don't
      get it now.  Include qapi-types.h in qom/object.h for uint16List.
      
      Update scripts/clean-includes accordingly.  Update it further to match
      reality: replace config.h by config-target.h, add sysemu/os-posix.h,
      sysemu/os-win32.h.  Update the list of includes in the qemu/osdep.h
      comment quoted above similarly.
      
      This reduces the number of objects depending on qapi/error.h from "all
      of them" to less than a third.  Unfortunately, the number depending on
      qapi-types.h shrinks only a little.  More work is needed for that one.
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      [Fix compilation without the spice devel packages. - Paolo]
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      da34e65c
  9. 29 1月, 2016 1 次提交
    • P
      x86: Clean up includes · b6a0aa05
      Peter Maydell 提交于
      Clean up includes so that osdep.h is included first and headers
      which it implies are not included manually.
      
      This commit was created with scripts/clean-includes.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1453832250-766-11-git-send-email-peter.maydell@linaro.org
      b6a0aa05
  10. 06 7月, 2015 2 次提交
  11. 12 6月, 2015 1 次提交
    • J
      migration: Use normal VMStateDescriptions for Subsections · 5cd8cada
      Juan Quintela 提交于
      We create optional sections with this patch.  But we already have
      optional subsections.  Instead of having two mechanism that do the
      same, we can just generalize it.
      
      For subsections we just change:
      
      - Add a needed function to VMStateDescription
      - Remove VMStateSubsection (after removal of the needed function
        it is just a VMStateDescription)
      - Adjust the whole tree, moving the needed function to the corresponding
        VMStateDescription
      Signed-off-by: NJuan Quintela <quintela@redhat.com>
      5cd8cada
  12. 04 6月, 2015 3 次提交
  13. 28 4月, 2015 2 次提交
  14. 26 2月, 2015 3 次提交
  15. 26 1月, 2015 1 次提交
  16. 14 11月, 2014 1 次提交
  17. 02 11月, 2014 2 次提交
  18. 15 10月, 2014 1 次提交
  19. 19 6月, 2014 5 次提交
  20. 16 6月, 2014 1 次提交
  21. 14 2月, 2014 1 次提交
  22. 10 2月, 2014 1 次提交