From owner-freebsd-virtualization@FreeBSD.ORG Mon Mar 11 18:08:06 2013 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E36589C for ; Mon, 11 Mar 2013 18:08:06 +0000 (UTC) (envelope-from neelnatu@gmail.com) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id BD9B6651 for ; Mon, 11 Mar 2013 18:08:06 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id k13so5083181iea.7 for ; Mon, 11 Mar 2013 11:08:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=CG/z/b0eGB/vGFPspnH86kLw8+LaT4K6xd/dO7WIJmc=; b=rTtp7gCc047nBIL6te8VyEtqokQJdvAWYK4Ecz2sSQhIJdLw1xR+ZE/xhuYDTENmFo UNvrq2K8LLjQwDLygBvudZcv1+8EuATgOihWaw89GrIqyqnSjsP09m6Ac3N9FyeikZ8r iJ56RqECkLVWg5jBq7d4j8nEJrdSDtqjRmp8KvXLc586TJCTIbRvIrHgr3pscTzTLzpP 1ew2O3x6KeMxZqkAfURz+HxZjqsr/n8KBfVrL66ySxfQsrsH2z4cYcGk9AOEsinF5Gld mKa7x9VzyFKLbvpw0gvBeE8NT6krbjbhbZfNmWJu/b1Tcza5RsvbU/MNIaDtCPnMTRgj 2SnA== MIME-Version: 1.0 X-Received: by 10.50.213.97 with SMTP id nr1mr8185223igc.36.1363025285803; Mon, 11 Mar 2013 11:08:05 -0700 (PDT) Received: by 10.42.23.132 with HTTP; Mon, 11 Mar 2013 11:08:05 -0700 (PDT) Date: Mon, 11 Mar 2013 11:08:05 -0700 Message-ID: Subject: bhyve: simplify memory assignment to VMs From: Neel Natu To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 18:08:06 -0000 Hi, I am going to commit a change soon that simplifies how memory is assigned to a VM from a command line perspective. At the moment if you want to create a VM with say 8GB of memory you need to express this as "-m 2048 -M 6144" or "-m 1024 -M 7168" or some split that adds up to 8192MB. This is very flexible but is also very confusing to most users who don't know or care about the location of the PCI hole. I am going to change this so that the memory size is specified entirely with the "-m " option and the "-M" option will disappear altogether. Of course, this means that scripts using "-M" will break and hence this heads up. I did consider making this a backward compatible change but given the stage of development of bhyve it seemed early to start accumulating compatibility crud. best Neel