nvdimm acpi: save arg3 of _DSM method
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Tue, 7 Jun 2016 12:22:02 +0000 (20:22 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 24 Jun 2016 02:13:57 +0000 (05:13 +0300)
commit4568c948066737d116432dff8646c59f0ce67a38
treeca82dfd909b1bf91700d0b277efada31fbe79368
parent732b530c1bd064bdcc29975c0b78fc6de8c47e7f
nvdimm acpi: save arg3 of _DSM method

Check if the input Arg3 is valid then store it into ARG3 if it is
needed

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