From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2K42-0005TA-OM for qemu-devel@nongnu.org; Mon, 16 May 2016 11:04:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2K3v-0007wn-R8 for qemu-devel@nongnu.org; Mon, 16 May 2016 11:04:09 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2K3v-0007wh-Lo for qemu-devel@nongnu.org; Mon, 16 May 2016 11:04:03 -0400 Date: Mon, 16 May 2016 16:04:01 +0100 From: "Richard W.M. Jones" Message-ID: <20160516150401.GC28935@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] Question about vNVDIMM file format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Xiao Guangrong I'm playing with ext4 and DAX. I'm using: -object memory-backend-file,id=mem1,share,mem-path=/var/tmp/pmem,size=4G \ -device nvdimm,memdev=mem1,id=nv1 where /var/tmp/pmem is a 4 GB ext4 filesystem image (no partition table). I can mount this in the guest using: mount -o dax /dev/pmem0 /mnt and everything appears to work. I read in the mailing list that the pmem file has some internal structure for storing config data, stored in the last 128 KB of the file. Is that still the case? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top