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