From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dexuan Cui Subject: RE: [ndctl PATCH v2 4/4] ndctl, monitor: support NVDIMM_FAMILY_HYPERV Date: Fri, 22 Mar 2019 18:09:49 +0000 Message-ID: References: <9876fd8a491e339f2f41a47e2195d354bf0d5fb2.camel@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-nvdimm-bounces-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org Sender: "Linux-nvdimm" To: Dan Williams Cc: "qi.fuli-LMvhtfratI1BDgjK7y7TUQ@public.gmane.org" , "linux-nvdimm-hn68Rpc1hR1g9hUCZPvPmw@public.gmane.org" , Michael Kelley List-Id: linux-nvdimm@lists.01.org > From: Dan Williams > Sent: Friday, March 22, 2019 11:04 AM > > On Fri, Mar 22, 2019 at 10:56 AM Dexuan Cui wrote: > > > > > I'd rather change ndctl_dimm_cmd_is_supported() to call back into a > > > dimm-op so that the Hyper-V implementation can say "yes, I support > > > (emulate) the necessary monitor commands". > > > > Hi Dan, > > Then we need to add a new dimm-op monitor_supported() > > Where would the monitor_supported() op be used? I would expect a > cmd_is_supported() op? Maybe cmd_is_supported() is better. I'll work on the details and keeo you updated. Thanks -- Dexuan