Fix virtio-*(-non)-transitional crash on 2.6 machine-types
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 3 repliesIn review
- v23 patches 12 repliesSuperseded
Changes in v3 from the cover letter
* Don't ignore all errors: only ignore optional properties if they don't exist
* Patch 1/3 from v2 was already merged on machine-next
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | globals: Allow global properties to be optionalinclude/ qom/ | +6 | 2 replies | |
| 2/2 | virtio: Make disable-legacy/disable-modern compat properties optionalhw/ | +3 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Marc-André Lureau | Cornelia Huck |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v3 0/2] Fix virtio-*(-non)-transitional crash on 2.6 machine-types
Changes v2 -> v3:
* Don't ignore all errors: only ignore optional properties if they don't exist
* Patch 1/3 from v2 was already merged on machine-next
Description of v2:
This is a second attempt to fix the crash reported by Thomas[1].
This keeps the compat property array simple, different from my first attempt[2].
This also avoids extra complexity on the device code: we don't need interface name, inheritance tricks, or devices overriding a compat property after the fact. The simple absence of the QOM properties on some device types is enough to make the compat code skip them.
This series is based on my machine-next branch, because of conflicts with compat property array cleanups that are already queued.
[1] http://mid.mail-archive.com/[email protected]
[2] http://mid.mail-archive.com/[email protected]
Eduardo Habkost (2):
globals: Allow global properties to be optional
virtio: Make disable-legacy/disable-modern compat properties optional
include/hw/qdev-core.h | 3 +++ hw/core/machine.c | 5 +++-- qom/object.c | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-)
Signature · 1 line
2.18.0.rc1.1.g3f1ff2140