qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Xiao Guangrong <guangrong.xiao@linux.intel.com>
To: "Richard W.M. Jones" <rjones@redhat.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Question about vNVDIMM file format
Date: Tue, 17 May 2016 01:39:32 +0800	[thread overview]
Message-ID: <573A05D4.9050906@linux.intel.com> (raw)
In-Reply-To: <20160516150401.GC28935@redhat.com>



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.

      parent reply	other threads:[~2016-05-16 17:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-16 15:04 [Qemu-devel] Question about vNVDIMM file format Richard W.M. Jones
2016-05-16 16:53 ` Stefan Hajnoczi
2016-05-16 18:25   ` Richard W.M. Jones
2016-05-18  7:04     ` Xiao Guangrong
2016-05-18  8:11       ` Zhang, Haozhong
2016-05-18 10:50       ` Richard W.M. Jones
2016-05-18 17:36       ` Richard W.M. Jones
2016-05-16 17:39 ` Xiao Guangrong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=573A05D4.9050906@linux.intel.com \
    --to=guangrong.xiao@linux.intel.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rjones@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).