Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2674016ybb; Fri, 27 Mar 2020 09:59:13 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs6g7wAyHZVpMziQ5LMHF+Z0nxnkmzpGOJPyt6ivWjGGQZ9WEiJLhFLOBX4o82gQFR+guqK X-Received: by 2002:aca:4f57:: with SMTP id d84mr4393120oib.161.1585328353471; Fri, 27 Mar 2020 09:59:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585328353; cv=none; d=google.com; s=arc-20160816; b=O4e3l+rIGVRMRzy7G+hBsR8dqOXgqaQok4DjsTIUCUXqx41MUsPKugnl71+EBkvhqC erXYSi2WzqXj1JDmU+EpQoQ3hBhoekyrEmuiIgfJsoHKLfiw6I7bnHQtxFteou7rHyPM r6CL4DZGlW0sG/s7493mefaEmX+Z5WA9cVLKUlTIKU7QtBOlc8DUrMmSUSpj57sp/ROo aa5rBdLw8MyhrzDJfYHWt62TQxbYy6ea/aymVt5rjtb7cYhgTzy5+taAhVsw+abcRUfT 9yY5y8V+aOXBcOeYYlWEb/6wwGuq8HlzO2Dc04yOBLP+oe/4t3vbUKLFaRO98ZrlcraM yV8g== 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=8myQ8m6QT+OfnFyYa3rJCzYETwGb1X4YRdpvRBB8Fjo=; b=Xa+3db4tKjWYrx0FOQgVz9k7K53DhFIlhzYsn/4xfSuYWDvZkurnqaVAa9o2pGpCBv WN9gU0B+9f3uVZCEC+EndAn3HWCCEZM9iroBNTI+DdVz29TboBI7sWt0r7kww9Vbt2u+ Us1Pr6t9bog0F8F90Y6k+cUlzCEAkrOQkLLpZkL7chFn02Tub572IDVpT5oxXsdnu65Y Ojx/z+E8S9okkNJoHsGu4Ks7wpEAFh9fOn48WyU3H4Vd+ZxrjJluSCb0RxKd2ov+DPn3 MEZbq3xHSv5d/JIoeLmZslkN2oOJ0qjU9l9EM3iZ6MqJ0PLeizVC9rOmyOSGBUWLh0IB QaGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="tGAt2/cT"; 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 r3si2727818otc.58.2020.03.27.09.59.00; Fri, 27 Mar 2020 09:59:13 -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="tGAt2/cT"; 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 S1727607AbgC0Q6h (ORCPT + 99 others); Fri, 27 Mar 2020 12:58:37 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:45003 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727254AbgC0Q6g (ORCPT ); Fri, 27 Mar 2020 12:58:36 -0400 Received: by mail-wr1-f66.google.com with SMTP id m17so12202704wrw.11; Fri, 27 Mar 2020 09:58:35 -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=8myQ8m6QT+OfnFyYa3rJCzYETwGb1X4YRdpvRBB8Fjo=; b=tGAt2/cTVP1pYV1Hni5tu/E1I7NppNmA3JxIKWeam/+KNZ5BIulpko2YIPWTTwH6GE a017A53dyrMtd4azj6e/5cGI+i9S5xYVnQYXJ3r+GHgHsjG83k4K//k/XmD8t3/ZWlIz hiW735EzVv3cNmXzOVMdOdIP1FxFp1Ci/z/qs0JIRzrE3OwMswRN6cOjWfMXpd/ZdxK5 dE94HtORG5Qc1DP4LUxUbEAYwFtfIpLQJ3JJcPO4P2i8hfVHAeyBG1nSZj0n1wGnIyTR Drrjqy6kQoH3EGTPVFgF3nyLj0dPlZ2EmzO65FuCIlYeDspPXX11E0Zu6QjO4CIRnVc+ 7h+Q== 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=8myQ8m6QT+OfnFyYa3rJCzYETwGb1X4YRdpvRBB8Fjo=; b=kmMOAl/glSEuWwTXD3GqPbJ4KpeyD4mlPpTAAPDcbFDEK1+iaunTSD4zFwRZc6Kvah pIbgSbJuupYdJJ9fSHM0aWeb0H5qSicYTeetk7tHbQJ0YcxR5PAcYcX74udnwzVvnZc4 rRB7d58mXRSIPa504mGQOSry/FpGG6lqNw5BTreoExLQLrBaFS6gzSzL8ES6q90RtkUo ory8tif/ZOlx52tGDEyiAerwM/UjjJpFOUwN37KhLmbSpUhTkuNtAxvAp+EhtMplT7Vy sJ0ZUGxGMX+JUE1ynYzPoHjN/Npdmy5fNJa4h6/hQw0c7+/NTflq2HaO44E5JESGjByp 5r7Q== X-Gm-Message-State: ANhLgQ2RLVTF0JwvpwPCloRwJH00Hgki2S8gmUx/W+K6CaO3ygUpcoZK NcRxa1CfdOwUsOLX2vCv3xN5FGLNaWaOvMEzkRE= X-Received: by 2002:adf:ee12:: with SMTP id y18mr307207wrn.289.1585328315282; Fri, 27 Mar 2020 09:58:35 -0700 (PDT) MIME-Version: 1.0 References: <20200311171422.10484-1-david@redhat.com> In-Reply-To: <20200311171422.10484-1-david@redhat.com> From: Pankaj Gupta Date: Fri, 27 Mar 2020 17:58:24 +0100 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. Thanks, Pankaj