Re: bhyve current windows status

2021-04-11 Thread Jason Tubnor
On Sun, 11 Apr 2021 at 20:07, Robert Crowston wrote: > nvme is faster than virtio-blk? It seems strange that a paravirtualized > driver would be slower. Is that because of the regression you mention? > > > Not saying it is slower, just not any faster than the NVMe presentation that we have

Re: bhyve current windows status

2021-04-10 Thread Jason Tubnor
Hi Matt, Further to Peter's input below, I have added what we have in production for Windows Server 2016/2019 On Fri, 9 Apr 2021 at 16:30, Peter Grehan wrote: > > > > What are the current recommended devices/options for Windows (2019 > > server in my case) - especially with ZFS. Should I be

Re: Call for testing: sysutils/uefi-edk2-bhyve update for upcoming edk2-stable202102

2021-02-15 Thread Jason Tubnor
On Mon, 15 Feb 2021 at 17:42, Rebecca Cran wrote: > I've done some more work on the sysutils/uefi-edk2-bhyve* ports, and I > think they're about ready to be updated from 2014.SP1 to this year's > code. My current plan is to use a pretty random commit from today > (2021-02-14), and in a couple of

Upcoming bhyve Office Hours 27 Jan 20201 (20210127)

2021-01-20 Thread Jason Tubnor
Hi, Just a note to let those that are interested, there will be a bhyve Office Hours Q session with grehan@ and jhb@ (plus others) on 21 January 2021 at 21:00 UTC. If you have any questions prior, but can't attend (or if you wish to propose them earlier because they are complex and require a bit

Re: After 12.1->12.2 upgrade FreeBSD bhyve guest does not start anymore

2021-01-14 Thread Jason Tubnor
On Thu, 14 Jan 2021 at 18:52, Andrea Venturoli wrote: > > > # sysctl vfs.zfs.vol.mode > vfs.zfs.vol.mode: 1 > > I.e. "geom" > > Should I change that to "dev"? > > While I know I can change only one volume at a time, how would this > impact Windows VMs? We clearly define volmode=dev on the zvol

Re: After 12.1->12.2 upgrade FreeBSD bhyve guest does not start anymore

2021-01-13 Thread Jason Tubnor
On Thu, 14 Jan 2021 at 05:50, Andrea Venturoli wrote: > > > > I think some changes to some of the bootstrap (pre-loader) code that is > > shared with bhyve-load, means it always prefers ZFS over UFS (normally > > for booting a real machine, you use a different bootstrap for UFS than > > for ZFS,

Re: Update to the sysutils/uefi-edk2-bhyve and related ports

2020-12-28 Thread Jason Tubnor
On Sun, 27 Dec 2020 at 04:14, MR wrote: > Hi, > > Zitat von Rebecca Cran : > > > On 12/6/20 4:45 PM, Michael wrote: > > > BTW: > I just saw a new image: > https://people.freebsd.org/~bcran/bhyve/BhyveX64-20201213/BHYVE_UEFI.fd > > This seem to work booting a windows 10 guest. > > What has

Re: Using OpenBSD guest as PF firewall

2020-11-05 Thread Jason Tubnor
On Fri, 6 Nov 2020 at 12:29, Thomas Laus wrote: > > bridge function that is not working like the Forum article. The 'vm > switch tap' creation gives me access to the OpenBSD guest, but I still > can't pass internet traffic from the FreeBSD host through the guest > OpenBSD PF and then onto the

Re: Using OpenBSD guest as PF firewall

2020-11-05 Thread Jason Tubnor
On Thu, 5 Nov 2020 at 23:40, Thomas Laus wrote: > > My question to this list was how this can be done using vm-bhyve > commands. This 'how-to' showed the traditional scripting method and I > would prefer using the 'vm' commands. The tap0 created as part of the > 'vm switch' utility, is able to

Re: Using OpenBSD guest as PF firewall

2020-11-04 Thread Jason Tubnor
On Thu, 5 Nov 2020 at 03:32, Thomas Laus wrote: > Is there a How-To or a Handbook article for using an OpenBSD guest as a > firewall for a FreeBSD host? I have enabled pci-passthru and the > OpenBSD guest can use the functional FreeBSD NIC hardware and has a > hostname.vio0 configured with an

Re: When is a switch not a switch?

2020-10-23 Thread Jason Tubnor
On Fri, 23 Oct 2020 at 23:46, D'Arcy Cain wrote: > > > Actually, I can make a TCP connection from the VM to the host. Do I have > to > set up some sort of proxy arp? How would I do that? > > > In 12.1/2, we experienced issues similar, turning off LRO (-lro) on the physical interface fixed this

Re: When is a switch not a switch?

2020-10-22 Thread Jason Tubnor
On Fri, 23 Oct 2020 at 01:03, D'Arcy Cain wrote: > > > > > > > tap0 is not a member of public so has no way to get to eth0 or public. > > Odd. I thought that vm-bhyve did that when the VM came up. > > Hmm. It looks like tap0 gets attached to vm-public if it is configured to > attach to public.

Re: When is a switch not a switch?

2020-10-21 Thread Jason Tubnor
On Thu, 22 Oct 2020 at 13:47, D'Arcy Cain wrote: > > Here is what the interfaces look like: > > eth0: flags=8943 metric 0 > mtu 1500 > options=80088 > ether 14:02:ec:31:60:d0 > media: Ethernet autoselect (1000baseT ) > status: active > nd6 options=29

Re: When is a switch not a switch?

2020-10-20 Thread Jason Tubnor
Hi, On Tue, 20 Oct 2020 at 13:02, D'Arcy Cain wrote: > I am using bhyve with vm-bhyve, I am trying to set up a virtual network > with multiple hosts. The idea is that a VM would be on the same virtual > network no matter which actual host it is on. > > Say I have a public network a.b.c.0/24.

Re: IPv6 Problem with Bhyve

2020-09-06 Thread Jason Tubnor
On Thu, 3 Sep 2020 at 01:56, Hiroshi Nishida wrote: > Problem solved. > > It was just vertio driver... > Upgrading to 0.1.189 solved everything. > Good to hear. > I think https://wiki.freebsd.org/bhyve/Windows should be updated, or I > can post how to run Win Server 2019 on bhyve to one of

Re: IPv6 Problem with Bhyve

2020-09-01 Thread Jason Tubnor
On Wed, 2 Sep 2020 at 09:12, Hiroshi Nishida wrote: > > > By the way, do you think it's possible that there's something wrong with > Linux's vertio? Maybe. We are currently using 0.1.185 in production without issue. Without going back through the release notes for each one, they may have been

Re: IPv6 Problem with Bhyve

2020-09-01 Thread Jason Tubnor
On Wed, 2 Sep 2020 at 00:20, Hiroshi Nishida wrote: > > > I could install Windows Server 2019 on FreeBSD 12.1R + bhyve by mostly > following https://wiki.freebsd.org/bhyve/Windows but have the following > problem swith TCP/IPv6: > > * All firewalls are turned off on both host FreeBSD and guest

Re: Restricting IP ranges for guests over tap devices

2020-08-01 Thread Jason Tubnor
On Sun, 2 Aug 2020 at 00:51, Mark Raynsford via freebsd-virtualization < freebsd-virtualization@freebsd.org> wrote: > Hello! > > Let's say I have a machine running a few dozen bhyve guests. Each bhyve > guest gets its own tap device, and all of the tap devices are connected > to a bridge. > >

Re: bhyve win-guest benchmark comparing

2020-04-20 Thread Jason Tubnor
On Mon., 20 Apr. 2020, 7:09 pm Felix Palmen, wrote: > > > Xeon are not affected, since they have vAPIC, so they should be already > > running as fast as possible. Correct? > > I don't know the details, but on my Xeon E3-1240L v5, it did have a huge > effect. > > > ^^^ This. Not all Xeon CPUs

Re: bhyve: passthrough SMART info from host nvme controller

2020-03-18 Thread Jason Tubnor
On Thu, 19 Mar 2020 at 14:09, Wanpeng Qian wrote: > > Can't you do what something like pci_passthru.c does in passthru_init, > > and open /dev/nvme0 in pci_nvme_init? > > Yes, you are correct. but that will make /dev/nvme0 keep open all the time. > I just thinking when guest fire a logpage

Re: bhyve issues on Dell C6220 node

2020-01-08 Thread Jason Tubnor
On Thu, 9 Jan 2020 at 08:37, Rodney W. Grimes wrote: > > > > Loading kernel... > > /boot/kernel/kernel text=0x168fdf1 data=0x1d0a68+0x768d80 > syms=[0x8+0x178bc0+0x8+0x1969d5] > > Loading configured modules... > > can't find '/boot/entropy' > > / > > " > > > > I get either a "|" or "/"

Re: Need X-server to run in bhyve guest

2019-12-04 Thread Jason Tubnor
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 vnc display > if you drop to the loader prompt during the boot process and > set serial_boot="NO" > then you get the

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

2019-04-20 Thread Jason Tubnor
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 checking but to force an instant power off of a guest simply execute: vm poweroff {guest}

Re: Windows 2019 server

2019-04-03 Thread Jason Tubnor
On Wed, 3 Apr 2019 at 19:57, Michael Reifenberger wrote: > Hi, > do you mean: > https://reviews.freebsd.org/D19695 > if yes I can confirm that with the patch I get ltsc-2019 installed and > running. Yes, that is the patch. ___

Re: Windows 2019 server

2019-04-02 Thread Jason Tubnor
s has fixed issues with NVMe and Windows, current snaps/stable don't work with Windows and NVMe. They should be imported shortly. Cheers > On Sun, Mar 3, 2019 at 8:19 AM Victor Sudakov wrote: > > > Jason Tubnor wrote: > > > > > > > Which kind of storage did you present

Re: emulated PCI device BAR size

2019-03-24 Thread Jason Tubnor
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 BAR size calculation in pci_nvme.c along the lines of: > > #define NVME_MMIO_SPACE_MIN

Re: Windows 2019 server

2019-03-03 Thread Jason Tubnor
On Sat., 2 Mar. 2019, 8:48 pm Victor S Which kind of storage did you present to the Windows 2019 guest, paravirtualized or ahcd-hd ? ahci-hd is what you want with bhyve and uefi Cheers ___ freebsd-virtualization@freebsd.org mailing list

Re: Windows 2019 server

2019-03-03 Thread Jason Tubnor
On Sun., 3 Mar. 2019, 12:06 pm The Doctor via freebsd-virtualization, < freebsd-virtualization@freebsd.org> wrote: > > > I was able to install in bhyve FreeBSD 11.2 hoever, the ethernet Driver > is not picking up. > > hints please. > Once you are installed, boot again with the virtio cd on an

Re: NVMe and Bhyve

2019-02-17 Thread Jason Tubnor
On Mon, 18 Feb 2019 at 12:09, Victor Sudakov wrote: > > Well, disk0 will be the guest HDD to install to, disk1 will be the ISO with > drivers, and which disk will be the ISO attached by the "vm install" > command? > > From a user perspective, this is not of any value to know. vm-bhyve manages

Re: NVMe and Bhyve

2019-02-17 Thread Jason Tubnor
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: Windows 2019 server

2019-02-17 Thread Jason Tubnor
On Sun, 17 Feb 2019 at 23:35, The Doctor via freebsd-virtualization < freebsd-virtualization@freebsd.org> wrote: > On Sun, Feb 17, 2019 at 08:31:58AM +0100, Florian Smeets wrote: > > On 16.02.19 13:38, The Doctor via freebsd-virtualization wrote: > > > Anyone got Windows 2019 server running in

Re: NVMe and Bhyve

2019-02-12 Thread Jason Tubnor
On Wed, 13 Feb 2019 at 00:57, Marcelo Araujo wrote: > If you have Nvme devices or you want store disks in ram yes, otherwise no. > > > > > Is it worth it? I mean upgrading from 11.2-RELEASE to 12.0-RELEASE for > > the sake of nvme, is it useful for running FreeBSD, Linux (Mint, > > Centos) and

Re: NVMe and Bhyve

2019-02-12 Thread Jason Tubnor
On Tue, 12 Feb 2019 at 19:43, Victor Sudakov wrote: > What's that disk0_type="nvme" thing? > > I'm curious. In 11.2-RELEASE there is nothing about nvme in bhyve(8). > Should I be running CURRENT or what? > > > It is valid on hosts 12.0-RELEASE and newer.

Re: Seeking advice on virtualization

2018-08-05 Thread Jason Tubnor
On Mon, 6 Aug 2018 at 07:12, Steven Friedrich wrote: > I am looking for advice on which virtualization to experiment with first. > What are the pros and cons of bhyve vs xen? > I want to use FreeBSD as a host and have maximum flexibility with guests > (mostly Linux distros). > > I'd look at your

Re: Overcommitting CPUs with BHyve?

2018-07-24 Thread Jason Tubnor
On Wed, 25 Jul 2018 at 08:12, Shawn Webb wrote: > On Tue, Jul 24, 2018 at 03:30:32PM -0600, Alan Somers wrote: > > 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

Re: bhyve server 2016 lockup

2018-07-06 Thread Jason Tubnor
Hi sorry on mobile so replying top. I've got some 2016 guests running close to 12 months uptime. Just some ideas below: RAM allocation a little low for 2016 so bump that a little. I use zvol for ahci storage with 4k blocks but have run 8k blocks as well. MSSQL doesn't like anything more than

Re: Centos7 uefi boot problem with bhyve after update

2018-05-02 Thread Jason Tubnor
On 2 May 2018 at 19:58, Michael Reifenberger wrote: > > Hi, > Im running a Centos7 bhyve VM under FreeBSD-11 (latest stable). > The VM boots using UEFI: uefi-edk2-bhyve-0.1 > Centos was installed and ist booting fine: CentOS Linux release 7.3.1611 > (Core) > > What Kernel

Re: bhyve manager

2018-02-25 Thread Jason Tubnor
On 26 February 2018 at 00:14, tech-lists wrote: > Hi, > > What do folks use for their bhyve guest management? > > I have always spun bhyve guests up by hand but now I'm considering > streamlining the process. What do you use? > > We were using chyves with ugly hacks to play

Re: Question about bhyve

2018-01-11 Thread Jason Tubnor
On 12 January 2018 at 12:51, Manish Jain wrote: > Hi, > > I have a Win 10 vm under bhyve on my FreeBSD 11.1 box. Is there some way > I can share clipboards between FreeBSD X and Windows ? > > If you are referring to copying data from X to a VNC console for your Win

Re: bhyve uses all available memory during IO-intensive operations

2017-12-02 Thread Jason Tubnor
On 3 Dec. 2017 12:21, "K. Macy" wrote: > > Storage amplification usually has to do with ZFS RAID-Z padding. If your > ZVOL block size does not make sense with your disk sector size, and > RAID-Z level, you can get pretty silly numbers. That's not what I'm talking about here.

Re: Linux lockups inside bhyve VM on FreeBSD 11.1

2017-11-30 Thread Jason Tubnor
On 1 December 2017 at 08:29, Kai Gallasch wrote: > Hello. > > Last day an apache 2.4 running inside a Debian9 linux bhyve VM locked up > on one of my servers (FreeBSD 11.1-RELENG, GENERIC kernel) overloading > the VM. > > The VM uses a ZFS zvol blockdevice on top of a zpool,

Re: Bhyve and Chromecast

2017-11-29 Thread Jason Tubnor
On 30 November 2017 at 09:58, Rajil Saraswat wrote: > Hi, > > I would like to cast a Youtube video to chromecast sitting on the > network. The VM is running Gentoo linux. Unfortunately, google chrome > doesnt find the chromecast. Any idea how to make it to work? > > I don't

Re: openbsd 6.0 or 6.1 guest on freebsd-12 (current) host

2017-09-07 Thread Jason Tubnor
On 8 September 2017 at 00:28, Alan Somers wrote: > > > Do you have a semiautomated way to move bhyve instances between > different hosts? Without such a feature, we can't replace all of our > ESXi machines. > We are not using bhyve for those workloads (yet). Our vsphere

Re: openbsd 6.0 or 6.1 guest on freebsd-12 (current) host

2017-09-06 Thread Jason Tubnor
On 6 September 2017 at 22:15, tech-lists wrote: > > > Have you encountered anything on openbsd in a bhyve that you've found > not to work? > > As Thomas mentioned, there is/was a bug with certain CPUs, but this was due to the strict checking of CPU features that OpenBSD

Re: openbsd 6.0 or 6.1 guest on freebsd-12 (current) host

2017-09-05 Thread Jason Tubnor
On 6 September 2017 at 03:21, tech-lists wrote: > > > I'd like to run openbsd 6.0 or 6.1 guest under a 12-current bhyve > system. I'd like it to run two cpus, so to use the openbsd smp kernel. I > can see, from searching various mailing lists that there have been > issues

Re: bhyve VM drive size limit?

2017-09-02 Thread Jason Tubnor
Hi Ruben, On 3 September 2017 at 00:52, Ruben wrote: > > Perhaps slightly off-topic, but might you have any recommendations > regarding those blocksizes? > I use 8k zvol block sizes. This seems to work consistently for me with OpenBSD and Windows Server 2016 guests. While you

Re: bhyve VM drive size limit?

2017-09-01 Thread Jason Tubnor
Try chyves and use UEFI booting. I think you might have hit a grub limit. For chyves, it is a fork of iohyve so it will be familiar for you. Follow the documentation for a Windows UEFI install. You need the UEFI blobs as well and import them into chyves, see bhyve-firmware in packages. Make sure

Re: Error running OpenBSD 6.1 as bhyve guest

2017-06-03 Thread Jason Tubnor
Sorry for the bad post, on the road. This has been known since the 6.1 release. There was discussion on the OpenBSD misc@ list. This is due to strict features check on CPUs in 6.1 and above. From memory it is a -w addition when starting bhyve to get around it. It only applies to certain Intel

Re: OpenBSD 6.1-snapshot no longer works in bhyve

2017-04-06 Thread Jason Tubnor
On 5 April 2017 at 14:55, Peter Grehan wrote: You can use bhyve's "-w" option to workaround this. > > I'll cherrypick the hardened BSD commit which fixes this in the meantime > > https://github.com/HardenedBSD/hardenedBSD/commit/cc91b57f4d > 1dabddfbf8b1e7655bc19908f24f78 >

OpenBSD 6.1-snapshot no longer works in bhyve

2017-04-04 Thread Jason Tubnor
I thought I would raise the above on the m...@openbsd.org mail list as I was concluding my testing for the upcoming 6.1 release. Here is my initial email: http://marc.info/?l=openbsd-misc=149136052120277=2 Based on the responses: http://marc.info/?l=openbsd-misc=149136160420488=2 and

Re: Autostart and autoshutdown bhyve guests

2017-03-04 Thread Jason Tubnor
I use chyves (http://chyves.org/) in production. The auto-start feature for guests on host boot works great and overall management is simple for the team. A descendent of iohyve and has UEFI GOP support so works great for us with Windows guests. A fix in 11-stable (that I wish would be back

Re: Bhyve / Windows Server 2016 Issue

2017-02-14 Thread Jason Tubnor
On 15 Feb 2017 1:47 a.m., "The Doctor" wrote: I can log into my virtual W2k16 boxes , but remotely, I get an error. Even using VNC the Password seems not to work. Wondering if this was w2k16/bhyve realted. Sounds like a Windows config error. Mine are vanilla

Re: Bhyve / Windows Server 2016 Issue

2017-02-14 Thread Jason Tubnor
On 14 Feb 2017 3:33 p.m., "The Doctor" wrote: Has anyone tried to RPC into a Virtual Windows 2016 server box in FreeBSD Successfully? I've had no problems with rdp into w2k16, w2k12r2 or win10. Works like bare metal, even tunnelled over SSH.

Re: bhyve /Xen

2017-01-15 Thread Jason Tubnor
On 16 January 2017 at 09:45, The Doctor wrote: > > > Seems that yes 6 Vms are running and are crashing at the same time. > > > > > > 2) Windows 2016 and bhyve > > > > > > > > > Why can Widnows 2016 rpc not work with bhyve? > > > > Can you describe the case that isn't

Re: bhyve graphics support

2016-05-27 Thread Jason Tubnor
On 27 May 2016 8:44 PM, "Lars Engels" wrote: > > > downloading the UEFI image I start Ubuntu like this: > > grub-bhyve -m device.map -r hd0,msdos1 -M 4G ubuntu > ~lars/dev/bhyve_graphics/bhyve \ > -s 0:0,hostbridge \ > -s 1:0,lpc \ > -s 2:0,virtio-net,tap1 \ >

Re: bhyve with Linuxes as guests - shared filesystem

2016-04-07 Thread Jason Tubnor
1. Won't work if you want them to access concurrently (unless there is some new funky cluster feature I'm not aware of) 2. Probably best option for compatibility across the board without 'extra' drivers needed, maybe an issue if you have a Windows guest later on. Performance considerations needed

Re: bhyve virtio-net MTU

2015-03-12 Thread Jason Tubnor
Hi Noah, The patch will only let you go to 2k frames reliably. Peter has mentioned before that some re-design work will be needed to fix this as it isn't just a 'quick fix'. I have the same issue when connecting a guest up to a storage network, jumbo is configured up to the tap but then it is

Re: OpenBSD guest in bhyve on AMD CPU

2015-02-23 Thread Jason Tubnor
On 24 February 2015 at 16:37, Neel Natu neeln...@gmail.com wrote: I suspect that the guest is getting a #GP exception when accessing an MSR that is not emulated by bhyve. Can you start the guest with the -w option passed to bhyve? r279227 has a fix for this and should allow booting without