]> git.proxmox.com Git - mirror_qemu.git/commit
machine: Register "memory-backend" as class property
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 21 Sep 2020 22:10:41 +0000 (18:10 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 22 Sep 2020 20:48:29 +0000 (16:48 -0400)
commitacd5b054e4bf33e35669a50de75aa01eea746e90
tree050cd85e7c4bf74f37c146fe01a5fee93d646bbc
parentf93a83c00485d00db133a5077864275a735f0fd2
machine: Register "memory-backend" as class property

Class properties make QOM introspection simpler and easier, as
they don't require an object to be instantiated.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20200921221045.699690-21-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/machine.c