Skip to content

machine, hostmem, pc: Register properties as class properties

Eduardo Habkost qemu-devel 1 version Applied

Status from this message: Applied to machine-next.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4machine: Register TYPE_MACHINE properties as class propertieshw/core/machine.c+98 -1082 replies
2/4pc: Register TYPE_PC_MACHINE properties as class propertieshw/i386/pc.c+26 -301 reply
3/4hostmem: Register TYPE_MEMORY_BACKEND properties as class propertiesbackends/hostmem.c+22 -201 reply
4/4hostmem-file: Register TYPE_MEMORY_BACKEND_FILE properties as class propertiesbackends/hostmem-file.c+11 -151 reply

Reviews trailers per patch

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

PatchIgor Mammedov
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] machine, hostmem, pc: Register properties as class properties

This series changes the existing machine, pc, and hostmem code to register their QOM properties as class properties on class_init instead of instance properties on instance_init.

Eduardo Habkost (4):
machine: Register TYPE_MACHINE properties as class properties
pc: Register TYPE_PC_MACHINE properties as class properties
hostmem: Register TYPE_MEMORY_BACKEND properties as class properties
hostmem-file: Register TYPE_MEMORY_BACKEND_FILE properties as class
properties

 backends/hostmem-file.c |  26 +++---
 backends/hostmem.c      |  42 +++++-----
 hw/core/machine.c       | 206 +++++++++++++++++++++++-------------------------
 hw/i386/pc.c            |  56 ++++++-------
 4 files changed, 157 insertions(+), 173 deletions(-)
Signature · 1 line
2.7.4