Date: Sat, 9 Jan 2016 14:57:31 -0500 From: Allan Jude <allanjude@freebsd.org> To: freebsd-virtualization@freebsd.org Subject: Re: bhyve won't let go Message-ID: <5691662B.30006@freebsd.org> In-Reply-To: <000001d14b17$478b0840$d6a118c0$@com> References: <000001d14b17$478b0840$d6a118c0$@com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 2016-01-09 14:52, barasingha wrote: > I am running 10.2 Release. > > > > I am running pfsense as a guest of bhyve. Using passthru, pfsense is given > 2 nics. I wish to run the vm headless. > > > > I have written a rc script and can use the script to manually control the vm > or enable it to run at bootup. > > > > The problem is that I can't get both the guest and host to run at boot. If > vm is enabled, bootup hangs once bhyve is called. In this scenario I can > ssh into pfsense but not into the host. If I halt the vm the host will > finally continue to boot. > > > > When controlled manually the same thing happens, however I can then open > another shell to provide host control. > > > > sample: > > bhyveload -m 4G -c /dev/nmdm0A -d /directory/to/boot/disk name > > bhyve -c 2 -m 4G -A -H -P \ > > -s 0,hostbridge \ > > -s 1,lpc \ > > -s n,others \ > > -l com1, /dev/nmdm0A \ > > name > > > > Any ideas? I think I have a problem in /etc/ttys on either the host or vm. > > > > Thanks, > > Barasingha > > > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@freebsd.org" > The bhyve command doesn't exit until the VM shuts down. Have your rc script that runs at startup, run vmrun or whatever you are doing via 'daemon' or something, so it goes into the background. -- Allan Jude [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJWkWYuAAoJEBmVNT4SmAt+QOMP/1X3BLh3tcbVeyquylnhxXsM cskxaRh2P1WZUTyfkwm2gEhyJcyfncCvX9zCBYkgVJHdKyTvFl/lkf2JYKXR9ezF PAVkDsmB3p/d/USaRmeQywvaOlfFcJU0mwiNk60SuoU/c57K2WuRuYyfyn7mp3ZC FRUzpnO3ObRknUI1tV6Ot7yAqBEQbaYcVhnfueuXHkSjV8fE5o9e4RnsijhgXRv2 JN28DNV+cdSSatbAjZ2EDlcW94dKIAIXhnD+ggWJrmijY+VzoHWnoKXhU9Nea2KI QvvJIMtniLxE4iDPcCjy6WAmDJjn5wF60L27JJSvGR/6l0l3PEzrlXrETBO216Zg 3++TW+xWRgrM1TyoAbyPf0kWlioQRQcdCZff3MSGogimDwEqgTyowcMRYiykgKnr wziMI1WMmlAyplegz4V23DVYL3+DX+Y4AfeVNsyKZR24110q4oLDYwhrLtGOiVpe zf8ZGHaQd9YFSHqZWq/jiNi56SoUHUqFoh5/XxO6M3ultNDAqLAXav7AuInftfYV bYxjseX6ptZbvdDI19rREqn4KD+4yTl19inpNbsBKaNpmAHI10Bw2DnDQ9e0txZU y8X29ZCrTcR9dwLl1+fdIz6QOxhq5nvvUQfnycFoya2CPbg9EkncxbfklWB2Ri9b NK2Y0SEDfshP5DJwO5KQ =lXzE -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5691662B.30006>
