From owner-freebsd-virtualization@FreeBSD.ORG Sun Sep 2 18:33:39 2012 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 48F0C106564A; Sun, 2 Sep 2012 18:33:39 +0000 (UTC) (envelope-from andrnils@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id D5BC78FC15; Sun, 2 Sep 2012 18:33:38 +0000 (UTC) Received: by obbun3 with SMTP id un3so10653129obb.13 for ; Sun, 02 Sep 2012 11:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RD6bz6uhqMhRr6qzH0OTUDrlysxZT15YccquFYoVDRM=; b=WLXEBPaS2ePQqS4kskULbBtKMDfr9RFv90/vpNXKa3PT/z6wY4OMNISa8pnLuhN/Xr nZ7WQTEakZxA6BupFE9OeCvQmDALzzWUlXijl13LYAzwQR45Jim7IygsKgLx2AQjv08Y I4CZCaBwtzOEDKOkZeGK5invxvoItyphoRbYf7DJVBV4zS7Fxetl7tyBJGkkqRNQjkuc EZykrPV9rUxU3GG/x20RaaeVCFiYH04e0L1WTPh5o06+rdEQL2cY2kl7VxPaY2M1v/f3 85zJB7QDfsM8jzwKsd8x8ah35nvakJ4Z1h4K/v6G3jKKMvndGFsx6wQe4M2O1Q+n58A/ 4V2A== MIME-Version: 1.0 Received: by 10.182.1.72 with SMTP id 8mr12314904obk.61.1346610818284; Sun, 02 Sep 2012 11:33:38 -0700 (PDT) Received: by 10.60.46.165 with HTTP; Sun, 2 Sep 2012 11:33:38 -0700 (PDT) In-Reply-To: <20120902165648.GB3721@kloomba> References: <20120815155222.GA46502@kloomba> <20120819191127.GA1733@kloomba> <5031C58C.40108@freebsd.org> <20120820133613.GA1701@kloomba> <50324270.9040504@freebsd.org> <20120902164750.GA3721@kloomba> <20120902165648.GB3721@kloomba> Date: Sun, 2 Sep 2012 20:33:38 +0200 Message-ID: From: Andreas Nilsson To: Roman Bogorodskiy Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-virtualization@freebsd.org Subject: Re: BHyVe: vm_setup_memory(highmem): Cannot allocate memory X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 02 Sep 2012 18:33:39 -0000 On Sun, Sep 2, 2012 at 6:56 PM, Roman Bogorodskiy wrote: > Roman Bogorodskiy wrote: > > > Peter Grehan wrote: > > > > > Hi Roman, > > > > > > > Yeah, but I'd like to leave more memory for the host system, so I > > > > specified 6GB. I have 8GB at all, so 2GB left for VMs. > > > > Should it cause any problems? > > > > > > No, that should be fine. > > > > > > > BTW, I encountered a problem with the tap0 device. I create a tap > device > > > > and assign an address to it, using 'ifconfig tap0 192.168.1.1 up'. > > > > > > > > I boot a VM and everything goes fine. When I do 'reboot' in the > guest, > > > > it reboots, but tap0 on the host goes down and its address is > dropped. > > > > Is that an expected behaviour? > > > > > > Yes - we probably need to fix the tap device to not do that :( > > > > Yeah, it would be great to get this fixed. > > > > And one question: is there a way to get a list of all running VMs on the > > host? Doesn't seem like vmmctl being able to do that. > > Oh, I've started reading the code and figured out that I can just do > `ls /dev/vmm`! > > Roman Bogorodskiy > IMHO: Please don't introduce "reading stuff in /dev" as a standard way to get info ( at least not for end user). sysctl is so much nicer to work with. Regards Andreas