[ adding Vishal who implemented the kernel side of nvdimm hotplug support ]
On Thu, Aug 11, 2016 at 11:54 PM, Xiao Guangrong <guangrong.x...@linux.intel.com> wrote: > This patchset is against commit c597dc90fbcd6 (virtio-net: allow increasing > rx queue siz) on pci branch of Michael's git tree and can be found at: > https://github.com/xiaogr/qemu.git nvdimm-hotplug-v2 > > Changelog in v2: > Fixed signed integer overflow pointed out by Stefan Hajnoczi > > This patchset enables nvdimm hotplug support, it is used as pc-dimm hotplug, > for example, a new nvdimm device can be plugged as follows: > object_add memory-backend-file,id=mem3,size=10G,mem-path=/home/eric/nvdimm3 > device_add nvdimm,id=nvdimm3,memdev=mem3 > > and unplug it as follows: > device_del nvdimm3 > object_del mem3 Did you test this against the Linux NFIT hotplug support? We just found that the Linux driver is not properly registering for ACPI0012 event notification. Is a notification sent on a 'device_add' event?