On Wed, Sep 07, 2016 at 09:43:47PM +0300, Mart T??nso wrote:
> Hello,
> 
> I'm trying to get vmd working, but am failing so far.
> 
> What I've done:
> 
> Custom kernel config to enable vmm:
> 
> include "arch/amd64/conf/GENERIC"
> 
> option  MULTIPROCESSOR
> #option MP_LOCKDEBUG
> 
> cpu*            at mainbus?
> 
> # enable vmm
> vmm0   at mainbus0
> # EOF
> 
> 
> /etc/vm.conf:
> # vm.conf
> sets="/var/www/htdocs/pub/OpenBSD/snapshots/amd64/"
> 
> # OpenBSD snapshot install test
> vm "openbsd.vm" {
>         memory 512M
>         kernel $sets "bsd.rd"
> 
>         # First disk from 'vmctl create "/home/vm/OpenBSD.img" -s 4G'
>         disk "/home/vm/OpenBSD.img"
> 
>         # Second disk from OpenBSD contains the install sets
>         disk $sets "install59.fs"
> 
>         # Interface will show up as tap(4) on the host and as vio(4) in the VM
>         interfaces 1
> }
> # EOF
> 
> 
> And this is where it all falls apart:
> 
> # vmd -vd
> vmd: /dev/vmm: Operation not supported by device
> 
> 
> What am I missing here?
> 
> ---
> Regards,
> 
> Mart
> 

Probably unsupported cpu. But you didn't give us even a dmesg, so who knows.

Reply via email to