Re: [PATCH 01/26] object: add extra sanity checks

2020-01-10 Thread Philippe Mathieu-Daudé
On 1/10/20 4:30 PM, Marc-André Lureau wrote: Type system checked that children class_size >= parent class_size, but not instances. Fix that. Signed-off-by: Marc-André Lureau --- qom/object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qom/object.c b/qom/object.c index 0d971ca897..845

[PATCH 01/26] object: add extra sanity checks

2020-01-10 Thread Marc-André Lureau
Type system checked that children class_size >= parent class_size, but not instances. Fix that. Signed-off-by: Marc-André Lureau --- qom/object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qom/object.c b/qom/object.c index 0d971ca897..8453e4ac91 100644 --- a/qom/object.c +++ b/qom/objec

Re: [PATCH 01/26] object: add extra sanity checks

2019-12-01 Thread Philippe Mathieu-Daudé
On 12/1/19 12:15 PM, Marc-André Lureau wrote: Type system checked that children class_size >= parent class_size, but not instances. Fix that. Signed-off-by: Marc-André Lureau --- qom/object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qom/object.c b/qom/object.c index d51b57fba1..93

[PATCH 01/26] object: add extra sanity checks

2019-12-01 Thread Marc-André Lureau
Type system checked that children class_size >= parent class_size, but not instances. Fix that. Signed-off-by: Marc-André Lureau --- qom/object.c | 1 + 1 file changed, 1 insertion(+) diff --git a/qom/object.c b/qom/object.c index d51b57fba1..935491d334 100644 --- a/qom/object.c +++ b/qom/objec