]> git.proxmox.com Git - mirror_qemu.git/commit
nvdimm: Add realize, unrealize callbacks to NVDIMMDevice class
authorShivaprasad G Bhat <sbhat@linux.ibm.com>
Fri, 18 Feb 2022 07:34:13 +0000 (08:34 +0100)
committerCédric Le Goater <clg@kaod.org>
Fri, 18 Feb 2022 07:34:13 +0000 (08:34 +0100)
commit3e35960bf130f759c1b6d72f6a8c08039c08ec16
tree7067fee7e1e0888e88f5808bc0e71e27c90b81c1
parentc13b8e9973635f34f3ce4356af27a311c993729c
nvdimm: Add realize, unrealize callbacks to NVDIMMDevice class

A new subclass inheriting NVDIMMDevice is going to be introduced in
subsequent patches. The new subclass uses the realize and unrealize
callbacks. Add them on NVDIMMClass to appropriately call them as part
of plug-unplug.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Acked-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <164396253158.109112.1926755104259023743.stgit@ltczzess4.aus.stglabs.ibm.com>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
hw/mem/nvdimm.c
hw/mem/pc-dimm.c
include/hw/mem/nvdimm.h
include/hw/mem/pc-dimm.h