acpi nvdimm: fix wrong buffer size returned by DSM method
commitd51d1d7edeb869e0010d6b3833bd53ad561ff805
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Fri, 28 Oct 2016 16:11:49 +0000 (29 00:11 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Nov 2016 17:21:08 +0000 (1 19:21 +0200)
tree6a9e01e30cea559a72078b9c6821be3351b7f96a
parent6034011c7e00e9408e18d42a7fb807a0f12157fc
acpi nvdimm: fix wrong buffer size returned by DSM method

Currently, 'RLEN' is the totally buffer size written by QEMU and it is
ACPI internally used only. The buffer size returned to guest should
not include 'RLEN' itself

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