nvdimm acpi: abstract the operations for root & nvdimm devices
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Tue, 7 Jun 2016 12:22:04 +0000 (20:22 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 24 Jun 2016 02:13:57 +0000 (05:13 +0300)
commit189f4d56356f0301c9e61c7d35ec8c03c69e7133
treebc9fc6c6ced6ef5c230353f9e2bd51488f372cc5
parent90623ebf603168ca4ca73c7f017f926fd2f3ace2
nvdimm acpi: abstract the operations for root & nvdimm devices

It separates the operations between root device and nvdimm devices
in order to introducing label functions support for nvdimm device

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/nvdimm.c