From patchwork Thu Sep 23 10:30:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Gupta X-Patchwork-Id: 12512387 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9CF0AC433EF for ; Thu, 23 Sep 2021 10:39:08 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6124860F48 for ; Thu, 23 Sep 2021 10:39:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 6124860F48 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:36724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTM8B-0001m6-IK for qemu-devel@archiver.kernel.org; Thu, 23 Sep 2021 06:39:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTLzu-0005Z2-Oo; Thu, 23 Sep 2021 06:30:35 -0400 Received: from mail-pj1-x102e.google.com ([2607:f8b0:4864:20::102e]:52032) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTLzt-0005Ar-8h; Thu, 23 Sep 2021 06:30:34 -0400 Received: by mail-pj1-x102e.google.com with SMTP id dw14so4148290pjb.1; Thu, 23 Sep 2021 03:30:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=y0LVBfFctC45wGutn9FkRommMJ/f7Xgr3xw2hOA3/6Q=; b=np85ghUSqcHZhKsWgew8WL/cX+8IBDOxUtdLBEZvkat68QFrOYoL2AfDp2hKv+pZw2 UQsQ/5Xn19rR7St3LzJAnGGtvYZDznRyVGjrkhk0dSjuSjqJx34FMwg/Jh4nfg0ztqD9 IvSQp+/QSwIxDF1Qc05YuUd+1urNKkC1Du6dwU3jpavLHIrvvZq4hBnoQBYBmcjkfJlP qWyPJ5IVNVK/6pYFFqtXSQgXgZwI0HFVMQNaAZJhib1G1pW95ais65RIkvn0P9zG3Umw NuEZd3wSIqGyfo3JAl23Q896+IPNgikAJP8hEPa9+BT3GMX1cyvHIVD2m3doKYPihInt X+6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=y0LVBfFctC45wGutn9FkRommMJ/f7Xgr3xw2hOA3/6Q=; b=1SjEd9EifuQyXXi+9iBhwOMOvCzqHjlYlzZnDH1cdFCoN0DoLxYJfhSYeXidz+P8TF /jg27cHaRUdA7e+V4JOGy9zXRJoLfyHZdVEaIwBnSQt9C0Jo++qzF2e5Tyx9vImm6NAV yOeyxS2ZjXpVScYE0STcgnLXCIgMHwRd+64TEoga4r0A84hbiAdYezWwNNzn9mZ55ey0 VWW3LB7ad9HIMPbxFCE/YACdt1iVaZtJ2B+Eh/m0+8JlsBf+210rMaVAB2D2pLQuzmih G/OqF/e5AmqIhTZTDQA8trxKEUZQNWqDgD/tCu7F9WGmvihjU2IMwUkFqPa7wFm3jwWS lcKA== X-Gm-Message-State: AOAM5300yP5H6Shkb3KlttajxeLaRq1NzwCpVIDEaiweP8KDOH7+i6RC mfvefrRXMkMgY7Z6uTALlnQ= X-Google-Smtp-Source: ABdhPJyEKDM8koYk7LRv0bknHW99vAB8C9HmdE5ddGWuMCu8fzihkoWwgvedwMftoW5Qxwz0shyNvQ== X-Received: by 2002:a17:902:b68b:b0:13a:1239:b8d9 with SMTP id c11-20020a170902b68b00b0013a1239b8d9mr3245949pls.25.1632393031318; Thu, 23 Sep 2021 03:30:31 -0700 (PDT) Received: from lb01399.pb.local ([2405:201:5506:80a4:42e:ff20:b88b:632e]) by smtp.gmail.com with ESMTPSA id p52sm5208050pfw.132.2021.09.23.03.30.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Sep 2021 03:30:30 -0700 (PDT) From: Pankaj Gupta To: xiaoguangrong.eric@gmail.com, pankaj.gupta.linux@gmail.com, lvivier@redhat.com, stefanha@redhat.com, pankaj.gupta@ionos.com Subject: [PATCH v2] docs/nvdimm: Update nvdimm option value in machine example Date: Thu, 23 Sep 2021 12:30:15 +0200 Message-Id: <20210923103015.135262-1-pankaj.gupta.linux@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102e; envelope-from=pankaj.gupta.linux@gmail.com; helo=mail-pj1-x102e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org, Laurent Vivier Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Update nvdimm option value in example command from "-machine pc,nvdimm" to "-machine pc,nvdimm=on" as former complains with the below error: "qemu-system-x86_64: -machine pc,nvdimm: Expected '=' after parameter 'nvdimm'" Reviewed-by: Laurent Vivier Signed-off-by: Pankaj Gupta --- docs/nvdimm.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/nvdimm.txt b/docs/nvdimm.txt index 0aae682be3..fd7773dc5a 100644 --- a/docs/nvdimm.txt +++ b/docs/nvdimm.txt @@ -15,7 +15,7 @@ backend (i.e. memory-backend-file and memory-backend-ram). A simple way to create a vNVDIMM device at startup time is done via the following command line options: - -machine pc,nvdimm + -machine pc,nvdimm=on -m $RAM_SIZE,slots=$N,maxmem=$MAX_SIZE -object memory-backend-file,id=mem1,share=on,mem-path=$PATH,size=$NVDIMM_SIZE,readonly=off -device nvdimm,id=nvdimm1,memdev=mem1,unarmed=off