Re: [Qemu-devel] [PATCH v2 5/8] pc-dimm: introduce prepare_unplug() callback

2016-10-08 Thread Xiao Guangrong
On 10/03/2016 05:45 PM, Igor Mammedov wrote: On Fri, 12 Aug 2016 14:54:07 +0800 Xiao Guangrong wrote: We should let nvdimm acpi know which nvdimm device is being unplugged before QEMU interrupts the guest so that nvdimm acpi can update its FIT properly prepare_unplug() callback is introduce

Re: [Qemu-devel] [PATCH v2 5/8] pc-dimm: introduce prepare_unplug() callback

2016-10-03 Thread Igor Mammedov
On Fri, 12 Aug 2016 14:54:07 +0800 Xiao Guangrong wrote: > We should let nvdimm acpi know which nvdimm device is being unplugged > before QEMU interrupts the guest so that nvdimm acpi can update its > FIT properly > > prepare_unplug() callback is introduced exactly for this purpose then > the be

[Qemu-devel] [PATCH v2 5/8] pc-dimm: introduce prepare_unplug() callback

2016-08-12 Thread Xiao Guangrong
We should let nvdimm acpi know which nvdimm device is being unplugged before QEMU interrupts the guest so that nvdimm acpi can update its FIT properly prepare_unplug() callback is introduced exactly for this purpose then the being removed device is skipped when guest reads FIT Signed-off-by: Xiao