Re: vmmctl and vmd problem
On Sat, Nov 28, 2015 at 09:46:36AM +, freeu...@ruggedinbox.com wrote: > 26 Nov 2015 at 21:10:06, Norman Goliszwrote: > >This is expected. vmm(4) is not yet enabled in the default kernel > >configuration. > > Thanks for your hints:) > > I tried "config -e -f /bsd", then "list" & "find vm". > no result, OpenBSD amd64 snapshots in 28 Nov 2015. > > vmm, vmd, vmmctl on snapshots, and "man vmd" said "vmd_flags=" in > "/etc/rc.conf.local". > but, "/etc/rc.conf" and "/etc/rc" didn't in these codes. :< > > > I should be compile the kernel "-current" ? > This is still under active development. You would need to use a custom config to enable the option.
Re: vmmctl and vmd problem
26 Nov 2015 at 21:10:06, Norman Goliszwrote: This is expected. vmm(4) is not yet enabled in the default kernel configuration. Thanks for your hints:) I tried "config -e -f /bsd", then "list" & "find vm". no result, OpenBSD amd64 snapshots in 28 Nov 2015. vmm, vmd, vmmctl on snapshots, and "man vmd" said "vmd_flags=" in "/etc/rc.conf.local". but, "/etc/rc.conf" and "/etc/rc" didn't in these codes. :< I should be compile the kernel "-current" ?
Re: vmmctl and vmd problem
> run vmmctl and vmd: > vmmctl enable > vmmctl: connect: /var/run/vmd.sock: No such file or directory > > vmd -v > fatal in vmd: can't open vmm device node /dev/vmm: Device not configured This is expected. vmm(4) is not yet enabled in the default kernel configuration.
vmmctl and vmd problem
/etc/rc.conf.local: vmd_flags="" /etc/vmm.conf vm "vm1.example.com" { memory 512M interfaces 1 disk "/dev/sd0a" #usb flash memory kernel "/bsd" } check vmm devices: ls /dev/vmm* /dev/vmm dmesg|grep vmm vmm0 at mainbus0: initialized vmm0: 4 VMX capable CPU(s), 4 are EPT capable cd /dev ./MAKEDEV vmm0 vmm0: unknown device run vmmctl and vmd: vmmctl enable vmmctl: connect: /var/run/vmd.sock: No such file or directory vmd -v fatal in vmd: can't open vmm device node /dev/vmm: Device not configured