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

2017-09-05 Thread tech-lists
Hello freebsd-virtualization@

[also cc'd to freebsd-current],

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 in getting openbsd to boot. Have these issues been fixed?

Also, is there a howto for this? I found one here:
http://www.allanjude.com/bsd/virtualization-host-bhyve.html but there's
no date on the document, it's not on the official freebsd sites and so
have no idea if the information is still current.

I realise that HardenedBSD has fixed some issues with this, but I can't
easily change the host to that OS unfortunately.

thanks,
-- 
J.
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


Re: bhyve live migration and auto balance

2017-09-05 Thread Matthew Grooms
Support for suspend/resume ( prerequisite for migration ) is currently a 
work in progress ...


https://github.com/FreeBSD-UPB/freebsd/tree/projects/bhyve_save_restore

This only includes support for Intel systems and VMs with virtio devices 
at present. Support for AMD systems is next. Support for ZFS+snapshots 
will come soon after that. Live migration will hopefully come later.


-Matthew

On 9/4/2017 7:15 AM, Sami Halabi wrote:

hello,

I had a look at thr wiki but dont know really the state of live migration..
anyone?

I also want to ask if there is any ongoing work for clusters of bhyve that
auto balances resources, aka cpu and memory usage of vms between different
hosts within the same cluster if they have accesd to the same storage?

Thanks in advance,
Sami
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"



___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


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 in getting openbsd to boot. Have these issues been fixed?
>

I'm not sure of the exact issue you are referring to but I run a lot of
OpenBSD 6.1 hosts under bhyve with GENERIC.MP.  You can use either the
grub-bhyve style boot or UEFI, both work fine.

I have found the chyves framework (it is in packages) good for standing up
and managing bhyve guests - with ZFS, especially for a team that are new to
the platform.  You have to hack the following /usr/local/lib/chyves files:

chyves-guest-start
chyves-properties
chyves-resources

to get 6.1 to install and boot (I yet to push those patches upstream).

So to answer your question directly, there is currently no known issue in
getting bhyve to run OpenBSD 6.1 on Intel or AMD platforms.  Enjoy!

Cheers,

Jason.
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


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

2017-09-05 Thread Thomas Laus
Jason Tubnor [ja...@tubnor.net] wrote:
> 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 in getting openbsd to boot. Have these issues been fixed?
> >
>
There is a bug in the early Intel Skylake CPU series.  The Silicon
Debug (SDBG) flag is turned on as a default and this causes the
OpenBSD 6.1 .iso to refuse installation.  This issue was fixed for the
later production Skylake and the Kabylake processors that
followed. Look at the CPU flags in your computer.  If one of them is
SDBG, you won't be able to install OpenBSD 6.1.  OpenBSD 6.0 doesn't
check for this CPU feature and should install OK.  The HardenedBSD
project has a fix, but it has not been brought into FreeBSD CURRENT.
Intel has provided a fix for the BIOS companies but mine (ASUS) has
not updated their BIOS.  I have a Kabylake processor and a new
motherboard on order and will re-purpose my Skylake sytem.

Tom

-- 
Public Keys:
PGP KeyID = 0x5F22FDC1
GnuPG KeyID = 0x620836CF
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"


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

2017-09-05 Thread Peter Grehan

There is a bug in the early Intel Skylake CPU series.  The Silicon
Debug (SDBG) flag is turned on as a default and this causes the
OpenBSD 6.1 .iso to refuse installation.


 The '-w' option for bhyve can be used to work around this.

later,

Peter.
___
freebsd-virtualization@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"