1. 03 2月, 2016 15 次提交
  2. 02 2月, 2016 3 次提交
  3. 29 1月, 2016 3 次提交
    • P
      usb: Clean up includes · e532b2e0
      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-20-git-send-email-peter.maydell@linaro.org
      e532b2e0
    • P
      9pfs: Clean up includes · fbc04127
      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-18-git-send-email-peter.maydell@linaro.org
      fbc04127
    • P
      ide: Clean up includes · 53239262
      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-17-git-send-email-peter.maydell@linaro.org
      53239262
  4. 26 1月, 2016 2 次提交
  5. 22 1月, 2016 1 次提交
  6. 20 1月, 2016 4 次提交
  7. 19 1月, 2016 2 次提交
    • D
      qom: Change object property iterator API contract · 7746abd8
      Daniel P. Berrange 提交于
      Currently the ObjectProperty iterator API works as follows:
      
        ObjectPropertyIterator *iter;
      
        iter = object_property_iter_init(obj);
        while ((prop = object_property_iter_next(iter))) {
           ...
        }
        object_property_iter_free(iter);
      
      This has the benefit that the ObjectPropertyIterator struct
      can be opaque, but has the downside that callers need to
      explicitly call a free function. It is also not in keeping
      with iterator style used elsewhere in QEMU/GLib2.
      
      This patch changes the API to use stack allocation instead:
      
        ObjectPropertyIterator iter;
      
        object_property_iter_init(&iter, obj);
        while ((prop = object_property_iter_next(&iter))) {
           ...
        }
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Reviewed-by: NMarkus Armbruster <armbru@redhat.com>
      [AF: Fused ObjectPropertyIterator struct with typedef]
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      7746abd8
    • D
      qom: Allow properties to be registered against classes · 16bf7f52
      Daniel P. Berrange 提交于
      When there are many instances of a given class, registering
      properties against the instance is wasteful of resources. The
      majority of objects have a statically defined list of possible
      properties, so most of the properties are easily registerable
      against the class. Only those properties which are conditionally
      registered at runtime need be recorded against the klass.
      
      Registering properties against classes also makes it possible
      to provide static introspection of QOM - currently introspection
      is only possible after creating an instance of a class, which
      severely limits its usefulness.
      
      This impl only supports simple scalar properties. It does not
      attempt to allow child object / link object properties against
      the class. There are ways to support those too, but it would
      make this patch more complicated, so it is left as an exercise
      for the future.
      
      There is no equivalent to object_property_del() provided, since
      classes must be immutable once they are defined.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      16bf7f52
  8. 16 1月, 2016 1 次提交
    • F
      nbd: Split nbd.c · 798bfe00
      Fam Zheng 提交于
      We have NBD server code and client code, all mixed in a file. Now split
      them into separate files under nbd/, and update MAINTAINERS.
      
      filter_nbd for iotest 083 is updated to keep the log filtered out.
      Signed-off-by: NFam Zheng <famz@redhat.com>
      Message-Id: <1452760863-25350-3-git-send-email-famz@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      798bfe00
  9. 13 1月, 2016 7 次提交
  10. 12 1月, 2016 2 次提交