Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1600762ybb; Sun, 29 Mar 2020 08:43:10 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsk3dM7FgoCdzD4nGluB4HsyuIxNRQC4eyP+WmfdnBsi+SYh5DwrmBdtDvdFYO7TANFbu7P X-Received: by 2002:a05:6830:2411:: with SMTP id j17mr5898445ots.257.1585496589947; Sun, 29 Mar 2020 08:43:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585496589; cv=none; d=google.com; s=arc-20160816; b=cKz/5a6DPsb9qniG9ij5xfQc0AerAYv0kDVWVFioMbeBxxjiQQLMHlApyV4fLCYnvn /D0S+r5TOcBKx/zwCPa5TfRsWORLKXm0cUaxbnkhQEtKQKLvrVKzMVWvLvWt9WCGvpXe Hg3y8L8eEHI9XKv/UJHDO1SNmbjNXmt1MMNtMRGY/AEAuhI/qyhdFJqB7XpMGoFX0ecY 6cXS60KOohJ3EieVikszsZZJ5fi4CWAoUpaxCureIP76HjSSZzAalHOwD/AoT4Y8IFfr 82RY7Vd5cP1L2mJ+IYn6VrCFJOMxFZZqCU3bnzoGnYGZBLwVfjbFUwn67nB/hTL0D+Eq Pwhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=H2oEr4rtYq7eZA0dkqG0zoVVshpwZANdfGBsNxxUn38=; b=EqFDDwzRv/IZ6KCW3VRb11jcy6J6kM4s3loSOSWFEODqqMNdgISJNTkktaXHGnppQk /DIPQDd4q0grX6OPG5kymLgj0DLfN1yn9XtUUCyuscOMEPmxNAG14p34y7vZLpfBAmza i4FB1kLdhR5fgBxqUK0U1u4A8QXHTAXEoVpClK2lo0C+nzZHZbb5ykpbIVuVsVvK5WYA iTmSeGj3FniRk8I+nXbj8faA0ZVAZ/IzvKp5RVXg3byPfN9gAHVCBmFqha74X4mTgd83 rx22ibvI8zDIensl3yOQu0dXC93oD0dlDiJKAWX9ZjzJ78T/4FAt9muV5EYN/ThnB4lg Ahxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JPSdiZiR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u135si4840158oif.248.2020.03.29.08.42.56; Sun, 29 Mar 2020 08:43:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JPSdiZiR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728280AbgC2Pl1 (ORCPT + 99 others); Sun, 29 Mar 2020 11:41:27 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37441 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727167AbgC2Pl1 (ORCPT ); Sun, 29 Mar 2020 11:41:27 -0400 Received: by mail-wr1-f66.google.com with SMTP id w10so18006647wrm.4; Sun, 29 Mar 2020 08:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=H2oEr4rtYq7eZA0dkqG0zoVVshpwZANdfGBsNxxUn38=; b=JPSdiZiRXV8x0YY6PaSnyNrrI6wCcO+UprNjXMSGLe8TVQ4nkWf/h87iB4mbM/FjpE MxFK1gGUdvWU5KJP/1Mha2Zou4bqyr97JtFerGq4nVfYqHCiLfIOVG+tLoXnY3liG9I0 FkYONcVcPMW/VR0ZKoctrzPnPyWm1J2ehqZVlRxAh9qMbvu3pjhRJwsE3YKYBAV7nT8N vq2qEzYBDi1hj9OlewSTxqyKZj7IIyK2PJ1mUPvulP0fk+bYllI027qYpAD1nTqZUbfY ORSpuzeIBoZ5nIc5WAvSufxtJum0k0WARTpEn5jUl0oaR5cxt8X+IJcLgiWnhbj/9JPZ eXwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=H2oEr4rtYq7eZA0dkqG0zoVVshpwZANdfGBsNxxUn38=; b=hu0yE9AJB9UgtMTvgRAQYyTBe8P7HxUjJbwuylnp/Xui1HJrtemJg0/WoSEhIy8KVD xr/PJPUtXYNIOf0mg66T/HT2vcgJgg7TgLvqxk4XIwOFczv43RDx466QTgrCpudVKu2Q AdRmLxuFaUQ/jAYiGfyL3BGmwIXpctfOPjSCRLEDL3tq052T1ZRU9WFSOgCwWemCFqWV ODJ65u2n0lbneQEtUFsB5Dh8mmncWLZOIr/rhZvNw22bVCoRRr3c9PVN9Xsa2+e6Mzk1 ZuvpCBO3RGMnMmqa9dMHVS+/2qyjTh2RnJmuBAroKDrFSFMMi/6CYsbNebU+7Uya7rTA 59Sw== X-Gm-Message-State: ANhLgQ3AeZgQYX+1BHJnaMAi54cKA598WtcIPXrbLeqUd4PeWbV4zWgq dDdwa8jWSQN4iS/cKZjl5GcwK/OZgJLOhr/0BNw= X-Received: by 2002:a5d:674f:: with SMTP id l15mr10083350wrw.196.1585496485499; Sun, 29 Mar 2020 08:41:25 -0700 (PDT) MIME-Version: 1.0 References: <20200311171422.10484-1-david@redhat.com> <6858c4d8-7570-2c2b-5d53-1a7f994c14ee@redhat.com> In-Reply-To: <6858c4d8-7570-2c2b-5d53-1a7f994c14ee@redhat.com> From: Pankaj Gupta Date: Sun, 29 Mar 2020 17:41:14 +0200 Message-ID: Subject: Re: [PATCH v2 00/10] virtio-mem: paravirtualized memory To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, virtio-dev@lists.oasis-open.org, virtualization@lists.linux-foundation.org, kvm@vger.kernel.org, Michal Hocko , Andrew Morton , "Michael S . Tsirkin" , Sebastien Boeuf , Samuel Ortiz , Robert Bradford , Luiz Capitulino , teawater , Igor Mammedov , "Dr . David Alan Gilbert" , Alexander Duyck , Alexander Potapenko , Anshuman Khandual , Anthony Yznaga , Dan Williams , Dave Young , Jason Wang , Johannes Weiner , Juergen Gross , Konrad Rzeszutek Wilk , Len Brown , Mel Gorman , Michal Hocko , Mike Rapoport , Oscar Salvador , Oscar Salvador , Pavel Tatashin , Pavel Tatashin , Pingfan Liu , Qian Cai , "Rafael J. Wysocki" , "Rafael J. Wysocki" , Stefan Hajnoczi , Vlastimil Babka , Wei Yang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Hi David, > > > > Trying to test the series with the Qemu branch(virtio-mem) mentioned. > > Unfortunately, > > not able to hotplug memory. Is anything changed from your previous posting > > or I am doing something wrong? > > > > After giving value to "requested-size", I see size as zero. > > > > (qemu) qom-set vm0 requested-size 10G > > (qemu) info memory-devices > > Memory device [virtio-mem]: "vm0" > > memaddr: 0x240000000 > > node: 0 > > requested-size: 10737418240 > > size: 0 > > max-size: 107374182400 > > block-size: 2097152 > > memdev: /objects/mem0 > > > > Guest kernel: 5.6.0-rc4 > > Using same Qemu commandline arguments mentioned in cover-letter. > > Are you booting from an initrd? Are you compiling virtio-mem as a kernel > module or into the kernel binary? Ah was booting into wrong kernel version. Sorry! for the noise. Working perfectly for me. Tried various cmbinations for both hotplug/unplug with multiple NUMA nodes and verified result in guest. For the series, you can add: Tested-by: Pankaj Gupta > > -- > Thanks, > > David / dhildenb >