Public bug reported:

When the host persistent memory is used as the backend of vNVDIMM, QEMU
itself may write to the host pmem, e.g., in vNVDIMM label emulation and
live migration. In those cases, QEMU needs to take necessary operations
(e.g., flush&fence after writes, or store with non-temporal hint) to
ensure the data persistence of its own writes to PMEM. Therefore, data
on vNVDIMM can be in a consistent status on abnormal termination of QEMU
(e.g., QEMU/host kernel crash, host power failure, etc.). Unfortunately,
such operations are missed in current QEMU implementation.

Here’s the list of qemu commits (from qemu 3.0):

56eb90a migration/ram: ensure write persistence on loading all data to PMEM.
469dd51 migration/ram: Add check and info message to nvdimm post copy.
faf8a13 mem/nvdimm: ensure write persistence to PMEM in label emulation
a4de855 hostmem-file: add the 'pmem' option
1782440 configure: add libpmem support
cbfc017 memory, exec: switch file ram allocation functions to 'flags' parameters
b0e5de9 memory, exec: Expose all memory block related flags.

** Affects: kvm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: intel

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790690

Title:
  KVM Crystal Ridge Lack of data persistence guarantee of QEMU writes to
  host PMEM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kvm/+bug/1790690/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to