From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: virtio-dev-return-4118-cohuck=redhat.com@lists.oasis-open.org Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [66.179.20.138]) by lists.oasis-open.org (Postfix) with ESMTP id D754A58191B2 for ; Tue, 22 May 2018 06:15:43 -0700 (PDT) References: <20180518044106.31357-1-pagupta@redhat.com> <20180522094248.GI21655@stefanha-x1.localdomain> From: David Hildenbrand Message-ID: Date: Tue, 22 May 2018 15:15:41 +0200 MIME-Version: 1.0 In-Reply-To: <20180522094248.GI21655@stefanha-x1.localdomain> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [virtio-dev] [PATCH] content: reserve device ID for virtio-pmem devices To: Stefan Hajnoczi , Pankaj Gupta Cc: virtio-dev@lists.oasis-open.org List-ID: On 22.05.2018 11:42, Stefan Hajnoczi wrote: > On Fri, May 18, 2018 at 10:11:06AM +0530, Pankaj Gupta wrote: >> We need a device ID for virtio-pmem devices. As 24 is already >> requested by virtio-mem, so requesting next available(25) >> >> Signed-off-by: Pankaj Gupta >> --- >> content.tex | 2 ++ >> 1 file changed, 2 insertions(+) > > virtio-mem is designed for hotplug. Does it make sense to merge > virtio-pmem into virtio-mem since you'll need hotplug too? > > Stefan > Hi Stefan, Initially I had (and even proposed during some discussion) the same idea. But it turns out that they are fundamentally different. They are memory devices, yes, but that's the point where they stop being similar. While virtio-pmem wants to expose a memory region as persistent memory and adding a flushing interface, virtio-mem is all about managing (add/remove/online/offline) sub-chunks and applying protection mechanisms on the hypervisor side to make sure unplugged memory cannot (or only in some limited sense) be accessed. -- Thanks, David / dhildenb --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org