[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Question about vNVDIMM file format

From: Xiao Guangrong
Subject: Re: [Qemu-devel] Question about vNVDIMM file format
Date: Tue, 17 May 2016 01:39:32 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 05/16/2016 11:04 PM, Richard W.M. Jones wrote:
I'm playing with ext4 and DAX.

Thanks for your try, Rich! :)

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?

The patchset supporting label data has not been merged yet so currently there
is no label data for vNVDIMM device.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]