Skip to content

qdev: fix the order compat and global properties are applied

Eduardo Habkost qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 18 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3qdev: fix the order compat and global properties are appliedhw/core/qdev-properties.c+2 -136 replies
2/3test-qdev-global-props: Test global property orderingtests/test-qdev-global-props.c+33 -06 replies
3/3Revert "machine: Convert abstract typename on compat_props to subclass names"hw/core/machine.c+3 -236 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchCornelia HuckGreg KurzHalil Pasic
1/3R-b R-b
2/3R-b R-b R-b
3/3A-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] qdev: fix the order compat and global properties are applied

Before 2.8 was released, we found a bug in the way global properties are applied by device code. Greg Kurz sent a fix[1], but we decide to include a more conservative workaround[2] because the 2.8 release was very close.

The plan was to include Greg's patch in 2.9, but we forgot to do that. I'm now resending: Greg's original patch; a test case to detect the original bug; and a revert of the workaround we included in 2.8.

[1] https://www.mail-archive.com/[email protected]/msg416944.html
[2] commit 0bcba41fe379e4c6834adcf1456d9099db31a5b2
"machine: Convert abstract typename on compat_props to subclass names"

Eduardo Habkost (2):
test-qdev-global-props: Test global property ordering Revert "machine: Convert abstract typename on compat_props to subclass
names"

Greg Kurz (1):
qdev: fix the order compat and global properties are applied

 hw/core/machine.c              | 26 +++-----------------------
 hw/core/qdev-properties.c      | 15 ++-------------
 tests/test-qdev-global-props.c | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 38 insertions(+), 36 deletions(-)
Signature · 1 line
2.9.4