Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2016 14:06:58 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        Grzegorz Junka <list1@gjunka.com>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve and dynamic allocation
Message-ID:  <8034e078-1d5a-7269-428a-0155c4a271b2@ShaneWare.Biz>
In-Reply-To: <0553cd28-02da-ea34-19fc-340f8bfa6e23@freebsd.org>
References:  <862088a4-6934-4a03-cc1c-4b27154b9bb2@gjunka.com> <0553cd28-02da-ea34-19fc-340f8bfa6e23@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/09/2016 01:18, Peter Grehan wrote:
> Hi Grzegorz,
>
>> Is it possible / supported / planned to run a client OS without
>> specifying RAM/HDD up-front but with dynamically allocated resources?
>
>  The amount of RAM specified is just the maximum allowed, and by default
> is demand-paged without any pre-allocation.
>
>  For disk, the same effect can be achieved by using a sparse volume,
> e.g. 'truncate -s <disk-siz>' on UFS.
>

And if your using ZFS on the host you can create a sparse zvol with

zfs create -sV <disk-size> zpool/guestvol


-- 
FreeBSD - the place to B...Sharing Devices

Shane Ambler




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8034e078-1d5a-7269-428a-0155c4a271b2>