1. 03 4月, 2012 2 次提交
  2. 17 2月, 2012 1 次提交
    • A
      qdev: Fix qdev_try_create() semantics · 4ed658ca
      Andreas Färber 提交于
      Since QOM'ification, qdev_try_create() uses object_new() internally,
      which asserts "type != NULL" when the type is not registered.
      This was revealed by the combination of kvmclock's kvm_enabled() check
      and early QOM type registration.
      
      Check whether the class exists before calling object_new(), so that
      the caller (e.g., qdev_create) can fail gracefully, telling us which
      device could not be created.
      Signed-off-by: NAndreas Färber <afaerber@suse.de>
      Cc: Anthony Liguori <aliguori@codemonkey.ws>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      4ed658ca
  3. 15 2月, 2012 1 次提交
  4. 07 2月, 2012 4 次提交
  5. 04 2月, 2012 13 次提交
  6. 28 1月, 2012 7 次提交
  7. 22 1月, 2012 1 次提交
  8. 14 1月, 2012 1 次提交
  9. 20 12月, 2011 6 次提交
  10. 15 12月, 2011 4 次提交