nvdimm acpi: set HDLE properly
commit732b530c1bd064bdcc29975c0b78fc6de8c47e7f
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Tue, 7 Jun 2016 12:22:01 +0000 (7 20:22 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 24 Jun 2016 02:13:57 +0000 (24 05:13 +0300)
treef79219a6d6451776bbcf81db79c6aef342dcb6f6
parent052889b8e96d24625043cd5901ab91dd38aca49f
nvdimm acpi: set HDLE properly

Now we pass HDLE to Qemu properly, use 0 for root device and use the
handle for nvdimm devices

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