commit | 258b2c425813eaff87ee3231beb3719cf1e60397 | [log] [tgz] |
---|---|---|
author | Andreas Färber <afaerber@suse.de> | Mon Feb 20 00:49:07 2012 +0100 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Wed Feb 22 09:02:19 2012 -0600 |
tree | b567b5b09956bbbb615e64f8825ea4379e412acc | |
parent | d5f27e88699f14c802d66c01de70e5ea37b7153a [diff] |
qom: Fix object_initialize_with_type() assertion Assert the object is at least sizeof(Object), not sizeof(ObjectClass). Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>