Date: Mon, 20 Aug 2012 17:36:14 +0400 From: Roman Bogorodskiy <novel@FreeBSD.org> To: Peter Grehan <grehan@freebsd.org> Cc: freebsd-virtualization@freebsd.org Subject: Re: BHyVe: vm_setup_memory(highmem): Cannot allocate memory Message-ID: <20120820133613.GA1701@kloomba> In-Reply-To: <5031C58C.40108@freebsd.org> References: <20120815155222.GA46502@kloomba> <20120819191127.GA1733@kloomba> <5031C58C.40108@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Peter Grehan wrote: > Hi Roman, >=20 > > I have managed to boot a VM. >=20 > Great ! >=20 > > The 4GB thing is hardcoded in the vmrun.sh script: >=20 > The bhyve memory parameters mirror standard PC architecture. RAM is=20 > usually contiguous below 4GB, with the region from top-of-RAM to 4GB=20 > reserved for PCI memory-mapped i/o space. Additional RAM is usually=20 > contiguous and starts from 4GB. 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? 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? Roman Bogorodskiy --FCuugMFkClbJLl1L Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iQEcBAEBAgAGBQJQMj1NAAoJEMltX/4IwiJqTrgH/jDHla8vyMHJjCjkfLiNMPRJ 2NbutW833Dc4KQinc2iJ0Npk28cHzYdOCvxt6NjLBl0nc+kOCBM/QbxzKGsmdHg2 SaP14Rba/6MlnEr06ya24oFIFsr0Uocx6INMZj6LKMzgKiy9S3tGM0pWFYDeXIUe MkWz2Td1GC7wWLFcl47kA6JlOl5Arr9ngPszo/1J420A8MlB10QtxT8RoZHiLT1r Po6ah4QmHnMPetzNkH8+NwYqYkbKfl2jiYxNto3G+/DE0FxZbzJEeWxS6Fxz4C3x RwRQNhxNNVXX+SkkVAbZ32UMalGNaOMUJpB12IywhiHrtgw/flSfPm3YkV/Rq5g= =Cq++ -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120820133613.GA1701>