[Qemu-devel] [RFC PATCH 0/6] pc: Support firmware configuration with -blockdev

Markus Armbruster posted 6 patches 6 years, 8 months ago
Test docker-mingw@fedora passed
Test asan passed
Test docker-clang@ubuntu failed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190225183757.27378-1-armbru@redhat.com
Maintainers: "Michael S. Tsirkin" <mst@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Max Reitz <mreitz@redhat.com>, "Andreas Färber" <afaerber@suse.de>, Richard Henderson <rth@twiddle.net>, Kevin Wolf <kwolf@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>
There is a newer version of this series
accel/accel.c            |   1 +
hw/block/pflash_cfi01.c  |   5 +
hw/core/qdev.c           |  21 +---
hw/core/sysbus.c         |   3 -
hw/i386/pc.c             |   4 +-
hw/i386/pc_sysfw.c       | 230 ++++++++++++++++++++++++++-------------
include/hw/block/flash.h |   1 +
include/hw/i386/pc.h     |   6 +-
include/hw/qdev-core.h   |   2 -
include/qom/object.h     |   3 +
qom/object.c             |  39 +++++++
vl.c                     |  90 +++++++--------
12 files changed, 255 insertions(+), 150 deletions(-)
[Qemu-devel] [RFC PATCH 0/6] pc: Support firmware configuration with -blockdev
Posted by Markus Armbruster 6 years, 8 months ago
This is RFC mostly due to the last patch.  I'm not 100% sure my
approach is sane, and there's also an unresolved FIXME.  Please
review.

Based-on: <20190218125615.18970-1-armbru@redhat.com>

Markus Armbruster (6):
  qdev: Fix latent bug with compat_props and onboard devices
  qom: Move compat_props machinery from qdev to QOM
  vl: Fix latent bug with -global and onboard devices
  sysbus: Fix latent bug with onboard devices
  vl: Create block backends before setting machine properties
  pc: Support firmware configuration with -blockdev

 accel/accel.c            |   1 +
 hw/block/pflash_cfi01.c  |   5 +
 hw/core/qdev.c           |  21 +---
 hw/core/sysbus.c         |   3 -
 hw/i386/pc.c             |   4 +-
 hw/i386/pc_sysfw.c       | 230 ++++++++++++++++++++++++++-------------
 include/hw/block/flash.h |   1 +
 include/hw/i386/pc.h     |   6 +-
 include/hw/qdev-core.h   |   2 -
 include/qom/object.h     |   3 +
 qom/object.c             |  39 +++++++
 vl.c                     |  90 +++++++--------
 12 files changed, 255 insertions(+), 150 deletions(-)

-- 
2.17.2