Re: increasing bhyve VM_MAXCPU

2021-05-18 Thread Rodney W. Grimes
-- Start of PGP signed section. > On Tue, May 18, 2021 at 02:51:22PM -0600, John Doherty via > freebsd-virtualization wrote: > > I'm experimenting with bhyve VMs with more than 16 vCPUs on FreeBSD > > 12.2-RELEASE. > > > > As I understand it, this limit is defined as VM_MAXCPU in > >

Re: increasing bhyve VM_MAXCPU

2021-05-18 Thread Rodney W. Grimes
> I'm experimenting with bhyve VMs with more than 16 vCPUs on FreeBSD > 12.2-RELEASE. > > As I understand it, this limit is defined as VM_MAXCPU in > /usr/src/sys/amd64/include/vmm.h. I also understand that as of about two > years ago, it should be possible to increase it beyond 21[1]. > > I

Re: resizing aarch64 image on arm64

2021-04-06 Thread Rodney W. Grimes
> Rodney W. Grimes wrote this message on Tue, Apr 06, 2021 at 06:01 -0700: > > > tech-lists wrote this message on Mon, Apr 05, 2021 at 16:59 +: > > > > Can anyone tell me how to resize > > > > https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC5/a

Re: resizing aarch64 image on arm64

2021-04-06 Thread Rodney W. Grimes
> tech-lists wrote this message on Mon, Apr 05, 2021 at 16:59 +: > > Can anyone tell me how to resize > > https://download.freebsd.org/ftp/releases/VM-IMAGES/13.0-RC5/aarch64/Latest/FreeBSD-13.0-RC5-arm64-aarch64.raw > > > > on an amd64 host? > > note that this has been unxz'd already. > >

Re: Any plans to increase the maximum number of virtual CPUs above 16?

2021-02-14 Thread Rodney W. Grimes
-- Start of PGP signed section. > On Tue, Nov 27, 2018 at 10:06:52PM +, Simon Connah wrote: > > I was reading the bhyve man page and noticed that it said the maximum number > > of virtual CPUs is limited to 16. With AMD Epyc being out with 32 cores and > > 64 threads per CPU and being able to

Re: [bhyve][arm64] Number of allowed vcpus

2021-01-13 Thread Rodney W. Grimes
> On Wed, Jan 13, 2021 at 4:55 PM Rodney W. Grimes < > freebsd-...@gndrsh.dnsmgr.net> wrote: > > > > Hello, > > > > > > >From my perspective bhyve should use what is stated in the device tree > > if > > > no parameter is given and thr

Re: [bhyve][arm64] Number of allowed vcpus

2021-01-13 Thread Rodney W. Grimes
> Hello, > > >From my perspective bhyve should use what is stated in the device tree if > no parameter is given and throw an error when N is greater than the device > tree value. > > Mihai That seems to be one reasonable solution. I am not very informed on what the CPU over commit situation is

Re: bhyve with wlan0

2020-11-28 Thread Rodney W. Grimes
> As far as I remember it works just fine other than the standard caveats about > bridging over wireless interfaces which involve some odd inconsistencies that > could crop up from time to time especially with like DHCP, but a lot of that > depends on your network config as a whole. > The

Re: nbdkit on FreeBSD

2020-06-18 Thread Rodney W. Grimes
> On Wed, Jun 17, 2020 at 9:53 PM Rodney W. Grimes < > freebsd-...@gndrsh.dnsmgr.net> wrote: > > > > Does anybody use nbdkit on FreeBSD? It's a fancy NBD (Network Block > > > Device) server. It runs fine on FreeBSD, but there's no port. If > > anybod

Re: Cannot run FreeBSD 11 as a vm-bhyve guest under FreeBSD 12

2020-03-03 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On 3/3/20 11:18 AM, Andrea Venturoli wrote: > > On 2020-03-01 16:58, Rodney W. Grimes wrote: > >> One thing to try is to stop in the loader and do this: > >> boot_serial=NO > >> boot > > > > I "

Re: Cannot run FreeBSD 11 as a vm-bhyve guest under FreeBSD 12

2020-03-01 Thread Rodney W. Grimes
> Hello. > > I'd like to run a FreeBSD 11.3 VM under FreeBSD 12.1. > As I'm already using vm-bhyve to run a Windows guest, I think the best > (or possibly only) choice is to use bhyve for the FreeBSD guest too. > > I've got the following conf file: > > > guest="freebsd" > > loader="bhyveload"

Re: bhyve issues on Dell C6220 node

2020-01-08 Thread Rodney W. Grimes
> Hello, > > I've recently got hold of some Dell C6220 systems (2 servers in a single > chassis) while I was hoping to use for bhyve > The basic spec of a single server is as follows - > > Xeon(R) CPU E5-2670 (VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID) > 64GB DDR3 > LSI MegaRaid 9265-8i > FreeBSD

Re: bhyve device emulation initialization error

2019-12-20 Thread Rodney W. Grimes
-- Start of PGP signed section. > Hi, > > I'm trying to install an old 11.1-release like this: > > vmrun.sh -c 4 -m 32768M -tap2 -d test-host.img -i -I ^ is this a typo? Should be -t tap2 > FreeBSD-11.1-RELEASE-amd64-dvd1.iso test-host > > I get the boot screen

Re: Need X-server to run in bhyve guest

2019-12-07 Thread Rodney W. Grimes
-- Start of PGP signed section. > Jason Tubnor wrote: > > On Thu, 5 Dec 2019 at 12:32, Rodney W. Grimes > > > > wrote: > > > > > > TO fix some of your issues, ie the fact that the kernel boot > > > messages and the installer do not appear in the vn

Re: Need X-server to run in bhyve guest

2019-12-05 Thread Rodney W. Grimes
-- Start of PGP signed section. > Jason Tubnor wrote: > > On Thu, 5 Dec 2019 at 12:32, Rodney W. Grimes > > > > wrote: > > > > > > TO fix some of your issues, ie the fact that the kernel boot > > > messages and the installer do not appear in the vn

Re: Need X-server to run in bhyve guest

2019-12-04 Thread Rodney W. Grimes
> Victor Sudakov wrote: > > > > Fine, I will experiment with that. Maybe Gnome or xfce will recognize > > this console as a monitor. > > > > Thank you for the hint, Rodney! > > Nope, would not run for me in the VNC console (see below). Did you do > anything special? > >

Re: Need X-server to run in bhyve guest

2019-12-03 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > > > > > > > > > > > > > > Second, unless I select ZFS, there is no option to install on > > > > > GPT+UEFI. > > > > > Fine, let's install on ZFS. > > > > > > > > Do

Re: Need X-server to run in bhyve guest

2019-12-03 Thread Rodney W. Grimes
-- Start of PGP signed section. > Rodney W. Grimes wrote: > > [dd] > > > > > > > > > Second, unless I select ZFS, there is no option to install on GPT+UEFI. > > > Fine, let's install on ZFS. > > > > Do you mean GPT+UFS? > > I m

Re: Need X-server to run in bhyve guest

2019-12-03 Thread Rodney W. Grimes
> On Tue, Dec 03, 2019 at 12:23:55AM -0800, Rodney W. Grimes wrote: > > -- Start of PGP signed section. > > > Victor Sudakov wrote: > > > > > > > > Fine, I will experiment with that. Maybe Gnome or xfce will recognize > > > > this console

Re: Need X-server to run in bhyve guest

2019-12-03 Thread Rodney W. Grimes
-- Start of PGP signed section. > Victor Sudakov wrote: > > > > Fine, I will experiment with that. Maybe Gnome or xfce will recognize > > this console as a monitor. > > > > Thank you for the hint, Rodney! > > Nope, would not run for me in the VNC console (see below). Did you do > anything

Re: Need X-server to run in bhyve guest

2019-12-03 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > > > Henrik Gulbrandsen wrote: > > > > On 2019-12-01 06:35, Victor Sudakov wrote: > > > > > If I were to test different desktop environments (gnome, xfce etc) in > > > > > a > > > > > FreeBSD guest

Re: Need X-server to run in bhyve guest

2019-12-01 Thread Rodney W. Grimes
-- Start of PGP signed section. > Henrik Gulbrandsen wrote: > > On 2019-12-01 06:35, Victor Sudakov wrote: > > > If I were to test different desktop environments (gnome, xfce etc) in a > > > FreeBSD guest in bhyve, what X server (probably with vnc access, or rdp > > > access, or whatever?) would

Re: Inter-VM networking with FreeBSD under bhyve

2019-08-21 Thread Rodney W. Grimes
> Thanks for the replies, everyone. > > > Do you have any desired parameters? > > Performance Driven? Simplicity? > I failed to mention that. I'm interested in performance, especially low > CPU overhead. Then a netmap based solution is probably in line with your goal. > I had tried vale+tap

Re: Severely broken bhyve console

2019-08-21 Thread Rodney W. Grimes
> On 2019-08-20T14:34:02 -0700 > "Rodney W. Grimes" wrote: > > > > What it looks as if is happened is you have disconnected from > > a session while it was in grub and had sent specific control > > sequences, possibly even expecting scroll regions and su

Re: Severely broken bhyve console

2019-08-20 Thread Rodney W. Grimes
> Hello! > > For reasons I'm unable to explain, my ability to access the nmdm > consoles of bhyve guests has suddenly broken. It may have been caused > by a recent 11.2 update - I keep this machine on 11.2-RELEASE plus > freebsd-update patches but, as it's not a publically accessible machine, > I

Re: Inter-VM networking with FreeBSD under bhyve

2019-08-20 Thread Rodney W. Grimes
> freebsd-virtualization: > > What is my best option for inter-VM networking with FreeBSD guests under > bhyve? I'm only concerned with networking between VMs, not with the > host or physical network. I imagine some form of netmap is my best bet, > but what exactly? > > Thanks in advance, Do

Re: New video BIOS for bhyve

2019-08-01 Thread Rodney W. Grimes
> On 7/19/19 3:02 AM, Henrik Gulbrandsen wrote: > > In the last few months, I have been extending the video support in bhyve > > to allow booting from live ISO images, which sometimes lack UEFI > > loaders. > > There was already a video BIOS with dormant support for VGA, but I could > > not use

Re: ARMv8 development board with GICv3

2019-06-24 Thread Rodney W. Grimes
> If anyone finds any information on raspberry pi4 and it's bcm2711 that just > released I will be very interested to see if it's a suitable testing > platform. Not able to find documentation yet to validate that the interrupt > controller. Rest looks good. A little bit of foot work and things

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-21 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On 5/21/19 9:48 AM, Rodney W. Grimes wrote: > >> On 5/19/19 6:24 AM, Rodney W. Grimes wrote: > >>>> Does the card have multiple BARs? Can you send us the output of pciconf > >>>> -lvb for the card? &

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-21 Thread Rodney W. Grimes
> On 5/19/19 6:24 AM, Rodney W. Grimes wrote: > >> Does the card have multiple BARs? Can you send us the output of pciconf > >> -lvb for the card? > >> > >> There is a bug in bhyve where if the OS assigns the 0x sentinel to > >> more

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-19 Thread Rodney W. Grimes
e Chelsio card with > > both interfaces. I'm not sure if it would fall over once I started actually > > using it or not. > > > > `nap > > > > On Sat, May 18, 2019 at 4:06 PM Rodney W. Grimes < > > freebsd-...@gndrsh.dnsmgr.net> wrote: > > > >> > I have

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-19 Thread Rodney W. Grimes
> using it or not. I would go forward with testing, worst that happens is a host panic. > `nap > > > On Sat, May 18, 2019 at 4:06 PM Rodney W. Grimes < > freebsd-...@gndrsh.dnsmgr.net> wrote: > > > > I have noticed that Windows 10 guests fail to boot when att

Re: Windows 10 guests fail to boot when attempting to passthrough network card

2019-05-18 Thread Rodney W. Grimes
> I have noticed that Windows 10 guests fail to boot when attempting to pass > through a network card. I believe I have observed this with both cxgbe > (t580) and mlx5en cards, but only have a cxgbe to test with now. Without > passthrough, the Windows 10 guest boots and operates normally. > >

Re: [vm-bhyve] adding existing vm instances to the vm-bhyve system

2019-05-12 Thread Rodney W. Grimes
> Hi, > > How would one import a freebsd or linux vm currently running on a > freebsd-12 server into vm-bhyve management? I can see lots of > instructions for starting from fresh, but none for import of existing. > Is this possible? > > The guests are currently running as per >

Re: [vm-bhyve] Windows 2012 and 2016 servers guests would not stop

2019-04-24 Thread Rodney W. Grimes
> Victor Sudakov wrote: > > > > I've noticed that it takes too long for Windows 2012 and 2016 servers > > guests to shutdown when I issue "vm stopall," several minutes even. > > > > Does vm-bhyve provide a way to power them off ungracefully if they would > > not stop within a predefined time? >

Re: bhyve, sparse disk image and trim support?

2019-04-23 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Hi! > > > Am 21.04.2019 um 19:01 schrieb Bjoern A. Zeeb > > : > > Do we support this? Has anyone worked on this? How do people deal with > > these problems? > > I?m actually surprised this is supported for some configurations - thanks > for

Re: [vm-bhyve] Windows 2012 and 2016 servers guests would not stop

2019-04-22 Thread Rodney W. Grimes
-- Start of PGP signed section. > Paul Vixie wrote: > > > > Victor Sudakov wrote on 2019-04-22 19:43: > > ... > > >> And the implementation is pretty brutal: > > >> # 'vm stopall' > > >> # stop all bhyve instances > > >> # note this will also stop instances not started by vm-bhyve > > >> # > > >>

Re: [vm-bhyve] Windows 2012 and 2016 servers guests would not stop

2019-04-22 Thread Rodney W. Grimes
> Victor Sudakov wrote on 2019-04-22 19:43: > ... > >> And the implementation is pretty brutal: > >> # 'vm stopall' > >> # stop all bhyve instances > >> # note this will also stop instances not started by vm-bhyve > >> # > >> core::stopall(){ > >> local _pids=$(pgrep -f 'bhyve:') > >> > >>

Re: [vm-bhyve] Windows 2012 and 2016 servers guests would not stop

2019-04-21 Thread Rodney W. Grimes
-- Start of PGP signed section. > Rodney W. Grimes wrote: > > -- Start of PGP signed section. > > > Jason Tubnor wrote: > > > > On Sun., 21 Apr. 2019, 2:51 pm Victor Sudakov, > > > > wrote: > > > > > > > > > > >

Re: [vm-bhyve] Windows 2012 and 2016 servers guests would not stop

2019-04-21 Thread Rodney W. Grimes
-- Start of PGP signed section. > Jason Tubnor wrote: > > On Sun., 21 Apr. 2019, 2:51 pm Victor Sudakov, wrote: > > > > > > > > > > > Does vm-bhyve provide a way to power them off ungracefully if they would > > > not stop within a predefined time? > > > > > > > You'd have to do your own

Re: Windows 2019 server

2019-04-12 Thread Rodney W. Grimes
> On Thu, Apr 11, 2019 at 10:10:03PM -0500, Dustin Marquess wrote: > > It's worth a shot at least to see if it works! > > > > But ya, basically the same as mine: > > > > bhyve -A -H -P -w -S -u -c sockets=1,cores=4,threads=2 -m ${RAM} \ > > -s 0,hostbridge \ > > -s

Re: running FreePBX SNG7 Official Distro

2019-04-08 Thread Rodney W. Grimes
> Victor Sudakov wrote: > > > > > > As I stated earlier bhyve is missing percistant efi variables, > > > and that is most likely the reason that VirtualBox just works > > > and bhyve does not. > > > > > > Probably you well find in your VirtualBox directory a > > > file that is used to store

Re: running FreePBX SNG7 Official Distro

2019-04-07 Thread Rodney W. Grimes
> On Sun, Apr 7, 2019 at 11:15 AM Victor Sudakov wrote: > > > I'll look into the VirtualBox directory tomorrow and report here. I was > > under the impression that efivars are stored in a configuration file in > > the EFI partition but I was probably wrong, they are kept in NVRAM > > somewhere,

Re: running FreePBX SNG7 Official Distro

2019-04-06 Thread Rodney W. Grimes
> Victor Sudakov wrote: > > > > > > I can guess that it looks for a FAT16 partition in the GPT with the > > > > > > type > > > > > > "efi" but the rest is a mystery for me. Why is it trying to find > > > > > > "grubx64.efi" and not the default "boot64.efi" (which is present), > > > > > > for > >

Re: running FreePBX SNG7 Official Distro

2019-04-06 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > > > > > > > > You can usually use the host by doing mdconfig -f > > > > > > Unfortunately mdconfig does not work with zvols: > > > > > > root@vas:~ # mdconfig -a -f /dev/zvol/d02/vm/freepbx/disk0 >

Re: running FreePBX SNG7 Official Distro

2019-04-06 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > > > > > > [dd] > > > > > > > > > > > > > root@mfsbsd:~ # find /mnt/ -name grubx64.efi > > > > > /mnt/EFI/centos/grubx64.efi > > > > > > > > > > Who is to blame,

Re: running FreePBX SNG7 Official Distro

2019-04-06 Thread Rodney W. Grimes
-- Start of PGP signed section. > Rodney W. Grimes wrote: > > [dd] > > > > > > > root@mfsbsd:~ # find /mnt/ -name grubx64.efi > > > /mnt/EFI/centos/grubx64.efi > > > > > > Who is to blame, bhyve or FreePBX's installer? > > >

Re: emulated PCI device BAR size

2019-04-05 Thread Rodney W. Grimes
> On Sat, Mar 23, 2019 at 6:44 PM Jason Tubnor wrote: > > > > > > > > On Sun., 24 Mar. 2019, 6:35 am Chuck Tuffli, wrote: > >> > >> On Mon, Mar 18, 2019 at 10:15 AM Chuck Tuffli wrote: > >> > >> > > >> > So my question is how to best fix this. The easiest would be to add a > >> > check to the

Re: running FreePBX SNG7 Official Distro

2019-04-05 Thread Rodney W. Grimes
-- Start of PGP signed section. > Victor Sudakov wrote: > > > > Has anyone tried to run FreePBX under bhyve? That's what I get trying to > > start the vm after a successful automatic install from the ISO image: > > > > Boot Failed. EFI DVD/CDROM > > Failed to set MokListRT: Invalid Parameter > >

Re: Bhyve with UEFI edk2-stable201903 and CSM support - debugging the crash

2019-04-04 Thread Rodney W. Grimes
> I've spent some time trying to figure out where and why the UEFI 2.70 > firmware is crashing when built with CSM support under Bhyve. > > The first thing I noticed is that the code that builds the E820 table > doesn't appear to be finding the location of the EBDA at 0x40E: the > first entry

Re: Updating uefi-edk2-bhyve

2019-03-31 Thread Rodney W. Grimes
> > On 3/30/19 2:37 PM, Rodney W. Grimes wrote: > >> On 3/30/19 1:08 AM, Rodney W. Grimes wrote: > >>> > >>> So it is a edk2 implementation, and can you point me at > >>> the bhyve version of it? The Qemu/KVM version is rather > >>

Re: Updating uefi-edk2-bhyve

2019-03-30 Thread Rodney W. Grimes
> On 3/30/19 1:08 AM, Rodney W. Grimes wrote: > > > > I do not know what the above is, could you elaborate for me? > > What is OVMF and what is its relation to bhyve? > > > OVMF is the Open Virtual Machine Firmware: it's open source (BSD > licensed) firmwar

Re: Updating uefi-edk2-bhyve

2019-03-30 Thread Rodney W. Grimes
> On 3/29/19 9:29 PM, Rodney W. Grimes wrote: > > > > That, iirc, would be the SMBIOS version of ed2k, which yes should > > be updated if infact the newer ed2k has a new SBIOS implementation, > > if it is still 1.00 implementaton then this needs to be left &g

Re: Updating uefi-edk2-bhyve

2019-03-29 Thread Rodney W. Grimes
> On 3/25/19 3:59 PM, D Scott Phillips wrote: > > > > Yep, makes sense to me. For either of these changes we would want to get > > test converage on basically all functionality, so might as well take > > both changes at once. > > > One thing I noticed is that the SMBIOS information claims it's

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Rodney W. Grimes
> > This branch is 8930 commits behind tianocore:master. > > And depends on an external git belonging to Peter Grehan, > > No, it isn't. > > https://github.com/freebsd/uefi-edk2 > > Under FreeBSD project control since Oct 16, 2015. My appologies, the page does not clearly show who owns

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Rodney W. Grimes
> Hi all, > > > Am 11.03.2019 um 19:09 schrieb Rodney W. Grimes > > : > > I have no love for them either, but until we get our UEFI updated > > it is a rather sad state of affairs. > > I routinely boot FreeBSD, Ubuntu and Windows 10 with > UEFI, so I don?

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Rodney W. Grimes
> On Mon, Mar 11, 2019 at 10:58:55AM -0700, Rodney W. Grimes wrote: > > -- Start of PGP signed section. > > > On 2019-03-11T13:08:53 -0400 > > > Shawn Webb wrote: > > > > > > > > If your guest OS supports it, you could probably write t

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Rodney W. Grimes
> On 2019-03-11T13:27:23 -0400 > Shawn Webb wrote: > > > > Both FreeBSD and Linux supports virtio_console(4). I have no idea > > about OpenBSD, but I'm sure they'd be open to an implementation if > > asked. > > Right. > > > > > The NFS solution would work, but it would be somewhat fragile.

Re: bhyve: Detecting that a guest kernel has booted

2019-03-11 Thread Rodney W. Grimes
-- Start of PGP signed section. > On 2019-03-11T13:08:53 -0400 > Shawn Webb wrote: > > > > If your guest OS supports it, you could probably write two scripts that > > uses virtio_console(4), one for the guest to tell the host "HELLO" and > > one for the host to say "NICE TO SEE YOU!" once the

Re: bhyve PCIe passthrough on AMD Epyc

2019-02-27 Thread Rodney W. Grimes
> > On Feb 27, 2019, at 12:32 AM, Rodney W. Grimes > > wrote: > > > >> I'm trying to get PCIe device (video card) passthrough working to a > >> Windows bhyve VM, should this work now? > > > > No, this should not work now. > > Ok, easy en

Re: bhyve PCIe passthrough on AMD Epyc

2019-02-26 Thread Rodney W. Grimes
> I'm trying to get PCIe device (video card) passthrough working to a Windows > bhyve VM, should this work now? No, this should not work now. > I have the device blocked off in loader.conf, and added > hw.vmm.amdvi.enable="1". After doing so this is how it appears in pciconf: > >

Re: NVMe and Bhyve

2019-02-17 Thread Rodney W. Grimes
> On Mon, 18 Feb 2019 at 02:58, Victor Sudakov wrote: > > > > > Or at least please tell me how I can attach another iso image (with > > drivers) when running "vm install myhost windows.iso" > > > Technically, you should be able to define something like: > > disk1_type="ahci-cd" >

Re: Multiple bhyve hosts under Linux KVM

2019-02-15 Thread Rodney W. Grimes
> Good day, > > I have found the question on the FreeBSD wiki about running bhyve hosts > under Linux KVM on the bhyve's wiki: > https://wiki.freebsd.org/bhyve#Q:_Can_I_run_multiple_bhyve_hosts_under_Linux_KVM_with_nested_VT-x_EPT.3F > > > During the study work about virtualization I have

Re: The status of docker

2019-01-22 Thread Rodney W. Grimes
> On 22/01/2019 20:01, Patrick M. Hausen wrote: > > Hi all, > > > >> Am 22.01.2019 um 20:48 schrieb Grzegorz Junka >> >: > >> 2. A docker container in a jail with no native linux kernel, docker > >> is running completely in FreeBSD environment > >> > >> 2 would be most

Re: Any plans to increase the maximum number of virtual CPUs above 16?

2018-11-27 Thread Rodney W. Grimes
> I was reading the bhyve man page and noticed that it said the maximum > number of virtual CPUs is limited to 16. With AMD Epyc being out with 32 > cores and 64 threads per CPU and being able to have 2 of them in one > system this number seems rather low by modern standards. So you can run 4

Re: vmrun.sh - how to pin vcpu to realcpu?

2018-11-22 Thread Rodney W. Grimes
> Hi, > > As subject - how can I pin a VM that used 4x cpu (-c 4) to realcpu? > I know that it's the -p option but am unclear on the syntax. > > vmrun.sh gives the following for -p > > -p: pass-through a host PCI device at bus/slot/func (e.g. 10/0/0) > > but how to express this for vcpus and

Re: vm-bhyve swap space usage

2018-11-14 Thread Rodney W. Grimes
> Hi Folks, > > I've recently started using vm-bhyve-1.2.3, on FreeBSD 11.2-RELEASE-p4 and > noticed three processes, one for each VM, using swap as indicated by top -w. > The processes are running the "vm" script as follows - /bin/sh > /usr/local/sbin/vm -tf _run {vm name}. > Is this

Re: UEFI GOP: screen goes blank during boot after loader is finished

2018-11-14 Thread Rodney W. Grimes
> On Wed, Nov 14, 2018 at 3:49 PM Kyle Evans wrote: > > > Good, good, so the loader <-> kernel transition would appear to be > > intact and information appears good at first blush. If you don't have > > time to dig into this, I'll try poking at it this weekend, but it > > looks to be either

Re: UEFI GOP: screen goes blank during boot after loader is finished

2018-11-14 Thread Rodney W. Grimes
> On Tue, Nov 13, 2018 at 5:15 PM Subbsd wrote: > > > > Hi, > > > > > > > > On Tue, Nov 13, 2018 at 7:22 PM Rodney W. Grimes > > wrote: > > > > > > Uh oh, ok, thats not what I was thinking of then. I do not have any >

Re: UEFI GOP: screen goes blank during boot after loader is finished

2018-11-13 Thread Rodney W. Grimes
> > > > On November 13, 2018 at 8:36:34 AM, Rodney W. Grimes > (freebsd-...@pdx.rh.cn85.dnsmgr.net) wrote: > > > Since you are using uefi and specifying a graphics console with tcp=,wait? > your vm is waiting for a vnc connection to port 5900 to display the? > c

Re: UEFI GOP: screen goes blank during boot after loader is finished

2018-11-13 Thread Rodney W. Grimes
> I'm just getting started using bhyve (on a 13-CURRENT host from Oct 28), and > for the work I'm doing need to use UEFI. However, I'm finding that when > booting > FreeBSD 12.0-BETA4 the screen goes blank as FreeBSD takes over the console > after the loader is finished. > > The command I'm

Re: is there a vCPU hard limit for bhyve guests?

2018-11-06 Thread Rodney W. Grimes
> Hi, > > On a host with hw.ncpu=48 I tried to start a bhyve guest with -c 24 and > it failed to start. So I tried -c 16 and it starts and runs as > expected. Any more than -c 16 fails to run. > > Is a maximum of 16 vCPU hardwired somewhere, and if so, why? Is there a > way to overcome the

Re: bhyve uefi="csm"

2018-10-22 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > >> Rodney W. Grimes wrote: > >> > > Can you tell us a bit about your set up, like are you using helper > >> > > scripts like libvirt? > >> > > To answer the question you asked when I run a vm with the CSM fir

Re: bhyve uefi="csm"

2018-10-22 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > > > Can you tell us a bit about your set up, like are you using helper > > > scripts like libvirt? > > > To answer the question you asked when I run a vm with the CSM firmware it > > > works for me. > > > &g

Re: bhyve uefi="csm"

2018-10-21 Thread Rodney W. Grimes
> Can you tell us a bit about your set up, like are you using helper scripts > like libvirt? > To answer the question you asked when I run a vm with the CSM firmware it > works for me. You should always be able to boot a vm that uses and boots with the non CSM uefi firmware with the CSM version

Re: New bhyve user

2018-09-28 Thread Rodney W. Grimes
> > > > ?So if one guest launch a lot of cpu hungry thread it could "starve" > > the others guests with less thread usgin cpu time. > > As far as what I heard here on this forum, you should NOT overcommit the > vCPUs. You seemed to have heard incorrectly. There is little to no issues

Re: on bhyve statistics

2018-08-28 Thread Rodney W. Grimes
> On 8/28/18 3:37 PM, Rodney W. Grimes wrote: > >>>> Currently, bhyve does not expose any of these statistics. All the stats > >>> available through bhyvectl --get-stats seem to be coming from the VMM, > >>> not from the userspace emulation. > >&g

Re: on bhyve statistics

2018-08-28 Thread Rodney W. Grimes
> On Tue, Aug 28, 2018, 9:38 PM Rodney W. Grimes < > freebsd-...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > >> Currently, bhyve does not expose any of these statistics. All the > > stats > > > > available through bhyvectl --get-stats seem to be com

Re: on bhyve statistics

2018-08-28 Thread Rodney W. Grimes
t;From conversations with Peter Grehan he expressed that bhyvectl is purely a diagnostics tool that should not be depended on by any other tools. If you want to do similiar things you should program to the libvmmapi interface, not bhyvectl. > -Anish > > On Mon, Aug 27, 2018 at 8:20 AM Ro

Re: on bhyve statistics

2018-08-27 Thread Rodney W. Grimes
> Hi list, > > I'm currently looking at getting the libvirt prometheus exporter[1] to > work with libvirt+bhyve. In its current state this doesn't work because > at least one of the API calls exposed by libvirt isn't implemented by > the libvirt bhyve driver - so I started looking at implementing

Re: access usb device from bhyve vm

2018-08-24 Thread Rodney W. Grimes
> I asked this on usb@, but might get a better bhyve perspective on this > list... > > Does anyone have thought about what it would take to support access to > individual usb devices "natively" from a bhyve vm? The best though on this, and note I have not done this with bhyve, but have done it

Re: Checking bhyve supported features (sysctls)

2018-08-17 Thread Rodney W. Grimes
> From: owner-freebsd-virtualizat...@freebsd.org > On Behalf Of Rodney W. Grimes > Sent: 16 August 2018 18:31 > To: Allan Jude > Cc: Matt Churchyard ; > freebsd-virtualization@freebsd.org > Subject: Re: Checking bhyve supported features (sysctls) > > > On August

Re: Checking bhyve supported features (sysctls)

2018-08-16 Thread Rodney W. Grimes
> On August 16, 2018 5:28:05 PM GMT+01:00, "Rodney W. Grimes" > wrote: > >> > >> Text manually wrapped to 80, any broken quoting is my fault - rwg > >> > >> > > Hello, > >> > > > >> > > I'm looking for

Re: Checking bhyve supported features (sysctls)

2018-08-16 Thread Rodney W. Grimes
> > Text manually wrapped to 80, any broken quoting is my fault - rwg > > > > Hello, > > > > > > I'm looking for better ways to check for bhyve support / available > > > features without trying to scan through dmesg output. > > > > >Yes, it would be very good to remove that, as it usually

Re: Checking bhyve supported features (sysctls)

2018-08-16 Thread Rodney W. Grimes
Text manually wrapped to 80, any broken quoting is my fault - rwg > > Hello, > > > > I'm looking for better ways to check for bhyve support / available > > features without trying to scan through dmesg output. > > >Yes, it would be very good to remove that, as it usually tries > >to grep a

Re: Checking bhyve supported features (sysctls)

2018-08-16 Thread Rodney W. Grimes
> Hello, > > I'm looking for better ways to check for bhyve support / available features > without trying to scan through dmesg output. Yes, it would be very good to remove that, as it usually tries to grep a non-existent file /var/run/dmesg.boot that is not created until after vm_bhyve has

Re: Curent Centos 7 and bhyve

2018-08-13 Thread Rodney W. Grimes
> > Rodney W. Grimes wrote: > > [dd] > > > > > > > > > > > > > Though it has a lot of features, it also has some short > > > > > > comings, like you can not spec a vm to be wired in memory, > > > > > > wh

Re: Curent Centos 7 and bhyve

2018-08-13 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > > [dd] > > > > > > > > > > > > > Though it has a lot of features, it also has some short comings, > > > > > > like you can not spec a vm to be wired in memory, which IMHO is > > > > >

Re: Curent Centos 7 and bhyve

2018-08-12 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > > > Rodney W. Grimes wrote: > > > > > > > > > > Are there issues with Current CEntos and bhyve? > > > > > > > > > > > > > > > > > > Sure ther

Re: Curent Centos 7 and bhyve

2018-08-11 Thread Rodney W. Grimes
> Rodney W. Grimes wrote: > > > > > > > > Are there issues with Current CEntos and bhyve? > > > > > > > > > > > > > > Sure there are, please look at > > > > > > > https://bugs.freeb

Re: Curent Centos 7 and bhyve

2018-08-11 Thread Rodney W. Grimes
> Shawn Webb wrote: > > > > > > Are there issues with Current CEntos and bhyve? > > > > > > > > > > Sure there are, please look at > > > > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230453 > > > > > > > > Booting in UEFI mode works. > > > > > > This means we need an update to > > >

Re: Overcommitting CPUs with BHyve?

2018-07-24 Thread Rodney W. Grimes
> What are people's experiences with overcommitting CPUs in BHyve? I have an > 8-core machine that often runs VMs totalling up to 5 allocated CPUs without > problems. But today I got greedy. I assigned 8 cores to one VM for a big > build job. Obviously, some of those were shared with the host.

Re: bhyve and freebsd memstick installer

2018-07-06 Thread Rodney W. Grimes
> Hello, > > context: freebsd-12-current server, amd64 > > I usually install a freebsd guest like this: > > sh /usr/share/examples/bhyve/vmrun.sh -c 2 -m 4096M -t tap0 -d guest.img > -i -I FreeBSD-installation-dvd1.iso guestname > > I only have memstick.img - how do I either: > > 1. convert

Re: freebsd bhyve instance does not show kernel messages after boot screen

2018-06-15 Thread Rodney W. Grimes
> On 14/06/2018 23:26, David P. Discher wrote: > > Try in /boot/loader.conf of the VM : > > > > console=userboot > > > > or after beastie drop to loader OK promot ?and try : > > > > set console=userboot > > > > I think 11.x should fall back to userboot in?bhyve if vidconsole of > > comconsole

Re: ARMv8 development board with GICv3

2018-06-13 Thread Rodney W. Grimes
> On 2018-06-13 09:06, Marcelo Araujo wrote: > > 2018-06-13 14:54 GMT+08:00 Alexandru Elisei > > : > > > >> Hello, > >> > >> I have been working on porting bhyve to ARMv8 and the hypervisor is > >> able to successfully boot a FreeBSD virtual machine on the Foundation > >> Emulator provided by

Re: ARMv8 development board with GICv3

2018-06-13 Thread Rodney W. Grimes
> Hello, > > I have been working on porting bhyve to ARMv8 and the hypervisor is > able to successfully boot a FreeBSD virtual machine on the Foundation > Emulator provided by ARM. > > I plan to submit the project for review, but before that I need to > validate the hypervisor on a hardware

Re: bhyve networking

2018-04-26 Thread Rodney W. Grimes
> inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet 127.0.0.1 netmask 0xff00 > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> > groups: lo > $ ping 172.16.92.11 > PING 172.16.92.11 (172.16.92.11): 56 data

Re: bhyve networking

2018-04-26 Thread Rodney W. Grimes
1 netmask 0xff00 > nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> > groups: lo > $ ping 172.16.92.11 > PING 172.16.92.11 (172.16.92.11): 56 data bytes > 64 bytes from 172.16.92.11: icmp_seq=0 ttl=64 time=0.416 ms > 64 bytes from 172.16.92.11: icmp_seq=1 ttl=6

Re: bhyve networking

2018-04-25 Thread Rodney W. Grimes
> > > Paul Esson | Redstor Limited > t +44 (0)118 951 5235 > m +44 (0)776 690 6514 > e paul.es...@redstor.com > > > From: Rodney W. Grimes <freebsd-...@pdx.rh.cn85.dnsmgr.net> > Sent: Wednesday, April 25, 2018 9:33:57 PM > To:

Re: bhyve networking

2018-04-25 Thread Rodney W. Grimes
[ Charset windows-1252 unsupported, converting... ] > Hi Harry, > I?m simply using the ?vm? utility as in > > vm switch create public > vm switch add public igb1 > > That must make underlying calls to if config or equivalent as the bridge and > tap interfaces are created automatically. > > The

  1   2   >