qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] exec: fetch the alignment of Linux devdax pmem character dev


From: Liu, Jingqi
Subject: Re: [PATCH] exec: fetch the alignment of Linux devdax pmem character device nodes
Date: Wed, 8 Apr 2020 09:16:02 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

On 4/7/2020 11:51 PM, Joao Martins wrote:
On 4/7/20 3:31 PM, Paolo Bonzini wrote:
On 07/04/20 12:59, Joao Martins wrote:
Perhaps, you meant instead:

        /sys/dev/char/%d:%d/align

  ?

Hi Joao,

In my machine with real NVDIMM, the devdax device is as follows:

$ ll /dev/dax0.0
crw------- 1 root root 250, 6 3月  25 15:16 /dev/dax0.0

$ ls /sys/dev/char/250\:6/align
ls: cannot access '/sys/dev/char/250:6/align': No such file or directory

$ ls /sys/dev/char/250\:6/device/align

/sys/dev/char/250:6/device/align

So:
The file of "/sys/dev/char/%d:%d/align" does not exist.
It should be "/sys/dev/char/%d:%d/device/align".

Anyone has a real NVDIMM can help double check. Thanks.

Hi Dan,

You may have a real NVDIMM, in what directory is the 'align' file ?

Thanks,

Jingqi

So it works with that change?
Yeah.

        Joao



reply via email to

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