17:57:51 hi everyone 17:57:58 Hello. 17:58:50 quick q: I'm revisiting the bhyve vms, last time I tried is long time ago. Reading the docs I'm not sure if this is the one to choose now or still KVM. my guest is FreeBSD. Last time I tried I couldn't get freebsd booting properly IIRC 17:59:08 I saw only minimal docs for bhyve in the wiki 18:01:23 so my question is should I go for KVM or bhyve for a new BSD VM 18:01:48 In most cases, bhyve is the better option. 18:03:11 ok. for booting from iso I still have to pass the extra options? 18:07:23 as in something like this "bhyve_extra_opts": "-s 3,ahci-cd,/omniosce-r151030.iso", 18:07:34 Yeah 18:09:05 ok will check that out tnx. vnc is implemented as well by now? (yeah it's long time ago I played with it ;) 18:09:34 I'd like to get it to work like kvm does, where you can specify a "boot one time" option, but vmadm is basically a single very large, unwieldy JS file. 18:11:35 hehe 18:11:50 vnc...kind of. I think it depends on which boot rom you use 18:12:00 as in? 18:12:17 jbk: Do you remember what the deal is with bhyve and vnc? 18:13:04 ktk: It's not something I use, and I didn't implement it, so I never remember 18:14:05 ktk: So there's the bootrom parameter in the vm payload. The default is "bios" 18:15:04 vnc only works with the UEFI bootrom 18:15:14 but it does work pretty well in my experience 18:15:43 Ok, so you can specify "bootrom": "uefi" in the json payload 18:15:55 andyf: your improvements have also helped 18:15:55 And that should select the correct boot rom file. 18:16:31 ISTR something about the port used in the vm config in smartos 18:16:50 i don't think you have to explicitly set it 18:17:05 but i also vaguely recall something about it can be disabled 18:17:22 On my bhyve instances, vmadm info shows me a port, and I *can* connect to it. But it's a blank screen. 18:17:49 what are the VMs running? 18:18:09 I actually just use `zlogin -C ` 18:18:20 Mine's ubuntu 18:19:09 I can't recall if ubuntu will still spit stuff out on the fb/vga console if using a serial console 18:19:33 Yeah, I think that's just linux though. 18:19:48 It doesn't really have a concept of "no really, use serial for everything" 18:24:48 so if I manage to boot the iso with serial it might be easier then 18:25:01 I don't need vnc, I just need to get to shell to start ssh 18:25:06 Yeah. 18:26:22 regarding vmadm, the creation of the vm should still be done with the json payload & vmadm right? 18:26:25 like in the old days 18:32:15 yeh the BSDs handle console via zlogin -C just fine 18:32:31 Yes, always. 18:32:50 vmadm will always be the supported interface for creating instances. 18:34:48 ok tnx 18:34:51 will give it a try 18:36:18 I'm probably not the typical user as I really only use SmartOS as VM host for my VMs but it's still the nicest host systme out there IMO 18:36:45 as in hobby, not professional VM hosting 18:37:22 A lot of people do that actually. 18:38:37 ah really. can't even remember when I started, it's my second machine and it is reaching its end as well so I guess around 10ish years. can't even remember when SmartOS was made public 18:40:10 The first recorded commit is Oct 2010, and AFAIUI, it was always developed in the open. 18:40:43 oh ok. I think 2012 could fit for me then 18:41:53 That's about when I started using it as well. 18:42:51 I was first aware of it sometime in 2011, but I had a running OpenSolaris box that I didn't have time to replace until it died, then I went SmartOS, and never looked back. 18:44:00 yeah same. I was briefly on OpenIndiana or Illumos or however it was called back then 18:48:45 illumos is the upstream. {SmartOS,OpenIndiana,OmniOS,...} are distros of illumos. 18:55:28 bahamat: was the efi bootrom ever updated? SmartOS has had a really old one forever. Not sure anyone ever pulled in the one from OmniOS 18:56:49 No, I don't think so. 18:57:14 But, if it's well tested in OmniOS, we can probably bring it in. 18:57:19 Where is it at? 18:58:23 When I was running OpenSolaris I wanted to update to OpenIndiana, but I think I had already had a zfs update that made it incompatible, and locked me onto the Oracle side. 18:59:32 I think it's built from https://github.com/omniosorg/uefi-edk2 19:00:28 danmcd: ah ok 19:00:55 I think the releases section have the prebuilt binaries 19:01:19 andyf: did that ever get moved to illumos or does it just live under the omniosorg ? 19:01:22 Bryan Cantrill's "illumos fork yeah" talk from late-2011, or my "illumos at 5" talk from early-2016 (when it was actually 5.5 at that point) cover that history well. 19:02:02 hah could be that this is where I learned about it actually (brians talk) 19:44:54 ok I tried this for booting, don't seem to get anything on zlogin -C UUID: 19:44:55 vmadm update UUID bhyve_extra_opts="-s 3:0,ahci-cd,/FreeBSD-13.1-RELEASE-amd64-disc1.iso" 19:44:59 vmadm start UUID 19:45:10 from whatI get the current BSD images should have serial enabled by default 19:45:24 anything wrong on my extra_opts? 19:47:52 https://github.com/illumos/uefi-edk2 19:57:07 ah 19:57:41 will check that out tomorrow, early morning here. night! 20:43:20 still no support for mounting other things into bhyve zones? :) 20:44:18 nbjoerg: Depends on your definition of "things". 20:44:24 You can mount whatever the guest supports. 20:45:39 bahamat: like a null point of a /zones/iso 21:28:16 You might be able to lofi mount something manually.