Re: The status of docker

2019-01-21 Thread Craig Rodrigues
On Mon, Jan 21, 2019 at 4:50 AM Jochen Neumeister wrote: > > Not quite. I took over the docker freebsd port. Currently I am trying to > change him to moby project on GH. > > Also, I'll take a closer look at Kubernetes for FreeBSD in the near future. > > > Jochen, Thank you for taking on the Dock

Re: bhyve: unhandled inl 0x402

2016-04-29 Thread Craig Rodrigues
On Fri, Apr 29, 2016 at 12:06 PM, Peter Grehan wrote: > Hi Craig, > > I am seeing this errors in in the latest bhyve code in CURRENT: >> >> acpi0: on motherboard >> Unhandled inl 0x0402 at 0x8039c2bd >> > > Hmmm, that's a 4-byte read from the ACPI PM1 control register, which is > advert

bhyve: unhandled inl 0x402

2016-04-29 Thread Craig Rodrigues
Hi, I am seeing this errors in in the latest bhyve code in CURRENT: acpi0: on motherboard Unhandled inl 0x0402 at 0x8039c2bd This is from: https://jenkins.freebsd.org/job/FreeBSD_HEAD/219/console -- Craig ___ freebsd-virtualization@freebsd.org

Re: ATTN Docker, Jetpack users (was: Re: Docker on FreeBSD)

2016-01-29 Thread Craig Rodrigues
On Fri, Jan 29, 2016 at 9:36 AM, Clint Armstrong wrote: > I had to give up on Docker on FreeBSD because the latest versions of docker > are now very dependent on netlink APIs for networking. The new network > driver API for docker may allow creating a network driver for FreeBSD that > would bypas

[Differential] [Commented On] D1944: PF and VIMAGE fixes

2015-12-03 Thread rodrigc (Craig Rodrigues)
rodrigc added a comment. @glebius : if you have time can you review this? you have expressed interest in PF + VIMAGE fixes in the past. @bz : do you have time to review this? I understand you are going to be doing some VIMAGE work REVISION DETAIL https://reviews.freebsd.org/D1944 E

Re: C bhyve administration tool

2015-11-05 Thread Craig Rodrigues
Shawn, Go forth and conquer and happy hacking! It is quite clear that vmrun.sh, /usr/sbin/bhyve, /usr/sbin/bhyveload are very simplistic and fall apart under more advanced usage. It looks like there are many parallel efforts where people are writing their own scripts and utilities on top of bhyve

[Differential] [Commented On] D1944: PF and VIMAGE fixes

2015-11-02 Thread rodrigc (Craig Rodrigues)
rodrigc added a comment. @mmoll : It would be nice if @glebius could review this patch. He previously committed some patches I committed to FreeBSD which attempted to fix this problem, so he has an interest in this area. REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES

Re: Windows support in bhyve

2015-10-07 Thread Craig Rodrigues
On Sun, Oct 4, 2015 at 1:11 PM, Peter Grehan wrote: > ISO repack instructions at: > http://people.freebsd.org/~grehan/bhyve_uefi/windows_iso_repack.txt > > Install/run instructions at: > http://people.freebsd.org/~grehan/bhyve_uefi/windows_install.txt > > Microsoft provides free virtual m

Re: passthru requires guest memory to be wired

2015-08-29 Thread Craig Rodrigues
On Thu, Aug 27, 2015 at 8:27 PM, Peter Grehan wrote: > http://people.freebsd.org/~grehan/grub-bhyve-S.diff > I confirmed, that patch works. Thanks! -- Craig ___ freebsd-virtualization@freebsd.org mailing list https://lists.freebsd.org/mailman/li

Re: passthru requires guest memory to be wired

2015-08-27 Thread Craig Rodrigues
On Tue, Aug 25, 2015 at 5:29 PM, Peter Grehan wrote: > Hi Craig, > > '-S' needs to be passed to bhyveload *and* bhyve if PCI passthru is used. >>> >>> >>> Does grub-bhyve need this as well? >> > > It does: I need to commit the change for this. > > Do you have a patch for this that I can use? I

Re: passthru requires guest memory to be wired

2015-08-25 Thread Craig Rodrigues
On Tue, Aug 25, 2015 at 11:53 AM, Craig Rodrigues wrote: > > According to this commit: > https://reviews.freebsd.org/rS284539 > > '-S' needs to be passed to bhyveload *and* bhyve if PCI passthru is used. > > Does grub-bhy

Re: passthru requires guest memory to be wired

2015-08-25 Thread Craig Rodrigues
On Tue, Aug 25, 2015 at 3:45 PM, Neel Natu wrote: > Hi Craig, > > > No, there are no plans to MFC the change. > > > Should this info be added to: > https://wiki.freebsd.org/bhyve/pci_passthru > > > > Yup, added it just now. Thanks for pointing it out. > > Thanks. I would recommend that you also

passthru requires guest memory to be wired

2015-08-25 Thread Craig Rodrigues
Hi, I updated one of my FreeBSD boxes to latest CURRENT, and when I started a bhyve VM which uses PCI passthru, I got this error: passthru requires guest memory to be wired According to this commit: https://reviews.freebsd.org/rS284539 '-S' needs to be passed to bhyveload *and* bhyve if PCI pas

[Differential] [Commented On] D1944: PF and VIMAGE fixes

2015-07-29 Thread rodrigc (Craig Rodrigues)
rodrigc added a comment. @glebius: Nikos updated the patch. Can you review it? REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: nvass-gmx.com, bz, trociny, kristof, gnn, zec, rodrigc, glebius, eri Cc: farr

xhyve: bhyve for OS X?

2015-06-10 Thread Craig Rodrigues
Hi, Has anyone here tried xhyve (bhyve port for OS X)? http://www.pagetable.com/?p=831 -- Craig ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "free

Re: bhyve: bhyveload, bhyve, bhyvectl --destroy

2015-06-03 Thread Craig Rodrigues
On Wed, Jun 3, 2015 at 9:18 AM, Andriy Gapon wrote: > On 03/06/2015 18:53, John-Mark Gurney wrote: > > JIMO, bhyveload(8) could be just merged into bhyve(8) and the latter should > behave like vmrun.sh does. bhyve(8) should retain an option to run a > preloaded > kernel, so that things like bhyv

Re: can we get some interaction between halt/reboot and bhyve?

2015-05-26 Thread Craig Rodrigues
On Sun, May 24, 2015 at 8:08 PM, John-Mark Gurney wrote: > > Shouldn't shutdown be used instead of reboot/halt? This allows > various rc.d scripts to run, and you can use that to make sure all > your bhyve instances are shutdown... > I wrote these rc.d scripts to start and stop bhyve VM's, so t

[Differential] [Accepted] D1944: PF and VIMAGE fixes

2015-05-18 Thread rodrigc (Craig Rodrigues)
rodrigc accepted this revision. rodrigc added a comment. This revision has a positive review. Looks OK to me. We can hopefully fix some of the LOR's later. @glebius : can you provide your feedback on this patch? REVISION DETAIL https://reviews.freebsd.org/D1944 EMAIL PREFERENCES https://r

[Differential] [Commented On] D1944: PF and VIMAGE fixes

2015-05-16 Thread rodrigc (Craig Rodrigues)
rodrigc added a comment. I can confirm that: kldunload -f pf.ko does work to unload the module. That is good. I saw this warning message in dmesg: lock order reversal: (sleepable after non-sleepable) 1st 0x823b72e0 pf rulesets (pf rulesets) @ /opt2/branches/head/sys/modules/pf

[Differential] [Commented On] D1944: PF and VIMAGE fixes

2015-05-15 Thread rodrigc (Craig Rodrigues)
rodrigc added a comment. I tested this patch. # kldload pf # kldunload pf kldunload: can't unload file: Device busy The fact that the pf module cannot be unloaded was one of the reasons that @glebius used to back out the entire changeset last time I committed your pf changes. Can you fix

[Differential] [Commented On] D1944: PF and VIMAGE fixes

2015-05-12 Thread rodrigc (Craig Rodrigues)
rodrigc added a comment. In https://reviews.freebsd.org/D1944#46127, @julian wrote: > in case I didn't point you at this before... > > http://p4web.freebsd.org/@md=d&cd=//depot/projects/vimage/&cdf=//depot/projects/vimage/porting_to_vimage.txt&c=win@//depot/projects/vimage/porting_to_vimage.tx

Re: available hypervisors in FreeBSD

2015-04-01 Thread Craig Rodrigues
On Wed, Apr 1, 2015 at 9:41 AM, Paul Vixie wrote: > > > > there's no libvirt for bhyve yet, which turns some people off. > Wrong. See: https://libvirt.org/drvbhyve.html http://www.slideshare.net/CraigRodrigues1/libvirt-bhyve libvirt/bhyve is definitely not as polished as libvirt/KVM. It defini

[Differential] [Updated] D1944: PF and VIMAGE fixes

2015-03-26 Thread rodrigc (Craig Rodrigues)
rodrigc added a reviewer: kristof. REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, gnn, bz, zec, trociny, glebius, rodrigc, kristof Cc: freebsd-virtualization, freebsd-pf, freebsd-net ___ freebsd-virtualization@freebsd.org mailing

Re: bhyve failure: vm_run error -1, errno 25

2015-03-05 Thread Craig Rodrigues
On Sun, Mar 1, 2015 at 5:47 PM, Neel Natu wrote: > Hi Craig, > > I think that this is due to world and kernel not being in sync: > > [neel@wreck ~]$ uname -K > 1100062 > [neel@wreck ~]$ uname -U > 1100039 > > Can you update world and see if the issue persists? > > I updated and recompiled everyth

bhyve failure: vm_run error -1, errno 25

2015-03-01 Thread Craig Rodrigues
Hi, I recently did the following: (1) Updated to svn r279489, rebuilt world/kernel and rebooted. (2) Ran this: sh /usr/share/examples/bhyve/vmrun.sh -m 4G -d /vm/ scan-ci.FreeBSD.org/disk.img vmtest1 (3) Got this error: vm_run error -1, errno 25 See attached log. Any idea what is go

[Differential] [Updated] D1944: PF and VIMAGE fixes

2015-02-22 Thread rodrigc (Craig Rodrigues)
rodrigc added a comment. Nikos has posted these patches to improve VIMAGE support in PF. If some of the folks who are experienced with PF and VIMAGE could take a look, that would be really great. REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, glebius, gnn, bz, zec, tro

[Differential] [Updated] D1944: PF and VIMAGE fixes

2015-02-22 Thread rodrigc (Craig Rodrigues)
rodrigc added reviewers: bz, zec, trociny. REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, glebius, rodrigc, gnn, bz, zec, trociny Cc: freebsd-virtualization, freebsd-pf, freebsd-net ___ freebsd-virtualization@freebsd.org mailing

[Differential] [Updated] D1944: PF and VIMAGE fixes

2015-02-22 Thread rodrigc (Craig Rodrigues)
rodrigc added a reviewer: gnn. REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, glebius, rodrigc, gnn Cc: freebsd-virtualization, freebsd-pf, freebsd-net ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/

[Differential] [Changed Subscribers] D1944: PF and VIMAGE fixes

2015-02-22 Thread rodrigc (Craig Rodrigues)
rodrigc added a subscriber: freebsd-virtualization. REVISION DETAIL https://reviews.freebsd.org/D1944 To: nvass-gmx.com, glebius, rodrigc Cc: freebsd-virtualization, freebsd-pf, freebsd-net ___ freebsd-virtualization@freebsd.org mailing list http://li

Re: How to connect ssh and /dev/nmdm devices

2015-01-20 Thread Craig Rodrigues
On Tue, Jan 20, 2015 at 8:37 AM, Willem Jan Withagen wrote: > > Now in a continuance from this... > > What is the easiest way to "propagate" the full-duplex tty stream from a > SSH-login to a /dev/nmdmA. > I've used http://www.freshports.org/comms/conserver-com/ to set up a "terminal server

Re: Attaching block devices to a VM in bhyve

2015-01-13 Thread Craig Rodrigues
On Tue, Jan 13, 2015 at 5:05 PM, Jonathan Wong wrote: > > Thanks. Last question. I also noticed that iSCSI targets are supported. I > might have missed it, but is there a link to documentation somewhere iSCSI Initiator and Target Configuration: https://www.freebsd.org/doc/handbook/network-iscsi.

[Differential] [Closed] D1315: VIMAGE PF fixes #4

2015-01-06 Thread rodrigc (Craig Rodrigues)
rodrigc closed this revision. REVISION DETAIL https://reviews.freebsd.org/D1315 To: rodrigc, bz, glebius, trociny, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwatson, zec Cc: zec, freebsd-virtualization, freebsd-pf, freebsd-net _

[Differential] [Accepted] D1315: VIMAGE PF fixes #4

2015-01-06 Thread rodrigc (Craig Rodrigues)
rodrigc accepted this revision. rodrigc added a reviewer: rodrigc. rodrigc added a comment. This revision is now accepted and ready to land. Committed in rS276747 REVISION DETAIL https://reviews.freebsd.org/D1315 To: rodrigc, bz, glebius, trociny, np, melifaro, hrs, wollman, bryanv, rpaulo, a

[Differential] [Abandoned] D1313: VIMAGE PF fixes #3

2015-01-06 Thread rodrigc (Craig Rodrigues)
rodrigc abandoned this revision. rodrigc added a comment. Committed as part of D1309 REVISION DETAIL https://reviews.freebsd.org/D1313 To: rodrigc, bz, glebius, trociny, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwatson, zec Cc: freebsd-virtualization, freebsd-pf, freebs

[Differential] [Abandoned] D1312: VIMAGE PF fixes #2

2015-01-06 Thread rodrigc (Craig Rodrigues)
rodrigc abandoned this revision. rodrigc added a comment. Committed as part of D1309 REVISION DETAIL https://reviews.freebsd.org/D1312 To: rodrigc, bz, glebius, trociny, zec, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwatson Cc: freebsd-pf, freebsd-virtualization, freebs

[Differential] [Closed] D1309: VIMAGE PF fixes #1

2015-01-06 Thread rodrigc (Craig Rodrigues)
rodrigc closed this revision. rodrigc added a comment. Committed REVISION DETAIL https://reviews.freebsd.org/D1309 To: rodrigc, bz, glebius, trociny, zec, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwatson Cc: freebsd-virtualization, freebsd-pf, freebsd-net __

[Differential] [Updated] D1313: VIMAGE PF fixes #3

2014-12-14 Thread rodrigc (Craig Rodrigues)
rodrigc added a reviewer: zec. REVISION DETAIL https://reviews.freebsd.org/D1313 To: rodrigc, bz, glebius, trociny, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwatson, zec Cc: freebsd-virtualization, freebsd-pf, freebsd-net ___ f

[Differential] [Updated] D1312: VIMAGE PF fixes #2

2014-12-14 Thread rodrigc (Craig Rodrigues)
rodrigc added reviewers: zec, network. REVISION DETAIL https://reviews.freebsd.org/D1312 To: rodrigc, bz, glebius, trociny, zec, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwatson Cc: freebsd-pf, freebsd-virtualization, freebsd-net _

[Differential] [Updated] D1315: VIMAGE PF fixes #4

2014-12-14 Thread rodrigc (Craig Rodrigues)
rodrigc added a reviewer: zec. REVISION DETAIL https://reviews.freebsd.org/D1315 To: rodrigc, bz, glebius, trociny, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwatson, zec Cc: zec, freebsd-virtualization, freebsd-pf, freebsd-net

[Differential] [Updated] D1309: VIMAGE PF fixes #1

2014-12-14 Thread rodrigc (Craig Rodrigues)
rodrigc added a reviewer: zec. REVISION DETAIL https://reviews.freebsd.org/D1309 To: rodrigc, bz, glebius, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwatson, trociny, zec Cc: freebsd-virtualization, freebsd-pf, freebsd-net ___ f

[Differential] [Request, 100 lines] D1315: VIMAGE PF fixes #4

2014-12-14 Thread rodrigc (Craig Rodrigues)
rodrigc created this revision. rodrigc added reviewers: bz, glebius, trociny, network. rodrigc added subscribers: freebsd-net, freebsd-pf, freebsd-virtualization. REVISION SUMMARY Instead of creating a purge thread for every vnet, create a single purge thread and clean up all vnets from this t

[Differential] [Request, 26 lines] D1313: VIMAGE PF fixes #3

2014-12-13 Thread rodrigc (Craig Rodrigues)
rodrigc created this revision. rodrigc added reviewers: bz, glebius, trociny, network. rodrigc added subscribers: freebsd-net, freebsd-pf, freebsd-virtualization. REVISION SUMMARY Only register attach/detach event handlers if the current vnet is vnet0. Submitted by: Nikos Vassiliadis

[Differential] [Updated] D1312: VIMAGE PF fixes #2

2014-12-13 Thread rodrigc (Craig Rodrigues)
rodrigc retitled this revision from "VNET PF fixes #2" to "VIMAGE PF fixes #2". REVISION DETAIL https://reviews.freebsd.org/D1312 To: rodrigc, bz, glebius, trociny Cc: freebsd-pf, freebsd-virtualization, freebsd-net ___ freebsd-virtualization@freebsd.

[Differential] [Request, 46 lines] D1312: VNET PF fixes #2

2014-12-13 Thread rodrigc (Craig Rodrigues)
rodrigc created this revision. rodrigc added reviewers: bz, glebius, trociny. rodrigc added subscribers: freebsd-net, freebsd-virtualization, freebsd-pf. REVISION SUMMARY Virtualize the pfr_ktables variable. Submitted by: Nikos Vassiliadis REVISION DETAIL https://reviews.freebsd.org

[Differential] [Updated] D1309: VIMAGE PF fixes #1

2014-12-13 Thread rodrigc (Craig Rodrigues)
rodrigc added a reviewer: trociny. REVISION DETAIL https://reviews.freebsd.org/D1309 To: rodrigc, bz, glebius, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwatson, trociny Cc: freebsd-virtualization, freebsd-pf, freebsd-net ___ fr

[Differential] [Updated] D1309: VIMAGE PF fixes #1

2014-12-13 Thread rodrigc (Craig Rodrigues)
rodrigc added a reviewer: network. REVISION DETAIL https://reviews.freebsd.org/D1309 To: rodrigc, bz, glebius, np, melifaro, hrs, wollman, bryanv, rpaulo, adrian, gnn, hiren, rwatson Cc: freebsd-virtualization, freebsd-pf, freebsd-net ___ freebsd-vir

[Differential] [Request, 70 lines] D1309: VIMAGE PF fixes #1

2014-12-13 Thread rodrigc (Craig Rodrigues)
rodrigc created this revision. rodrigc added reviewers: bz, glebius. rodrigc added subscribers: freebsd-net, freebsd-pf, freebsd-virtualization. REVISION SUMMARY Merge: r258322 from projects/pf branch - Split functions that initialize various pf parts into their vimage parts and global

Re: backups of bhyve images

2014-12-08 Thread Craig Rodrigues
On Dec 8, 2014, at 8:33 AM, John wrote: > > I have each image on its own (external to the image) ZFS filesystem. > Internally the image is using ufs if freebsd, ext3fs if linux. Would > using some ZFS method of duplication be better? In this case, would the > image become inconsistent? I recommen

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-29 Thread Craig Rodrigues
On Sat, Nov 29, 2014 at 10:45 AM, Nikos Vassiliadis wrote: > There are very few setting in the BIOS setup and nothing related to VT-d. > My CPU and CPU settings are these: > > CPU: Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz (2394.61-MHz K8-class CPU) >> > I'm not sure, but according to this datas

Re: RFC: Enabling VIMAGE in GENERIC

2014-11-29 Thread Craig Rodrigues
On Mon, Nov 24, 2014 at 9:03 AM, Julian Elischer wrote: > > > also look at the following: (a little dated) > > http://p4web.freebsd.org/@md=d&cd=//depot/projects/vimage/&cdf=//depot/projects/vimage/porting_to_vimage.txt&c=tO0@//depot/projects/vimage/porting_to_vimage.txt?ac=22 This is a useful

Re: bhyve: Unsupported MSI-X configuration: 2/0/0

2014-11-28 Thread Craig Rodrigues
On Fri, Nov 28, 2014 at 1:10 PM, Nikos Vassiliadis wrote: > Hi, > > I am trying to use PCI passthrough to pass the bge device to a guest but I > am doing something wrong. I have tried several combinations of pptdevs like > "2/0/0 2/0/1 2/0/2 2/0/3" but it always fails on 2/0/0. Any ideas what I >

Re: cu -l /dev/nmdm not setting rows and columns

2014-11-26 Thread Craig Rodrigues
On Wed, Nov 26, 2014 at 3:44 PM, John-Mark Gurney wrote: > > So, what exactly is the problem again? > https://lists.freebsd.org/pipermail/freebsd-virtualization/2014-November/003173.html ___ freebsd-virtualization@freebsd.org mailing list http://lists.

Re: cu -l /dev/nmdm not setting rows and columns

2014-11-26 Thread Craig Rodrigues
On Sun, Nov 23, 2014 at 6:04 PM, Peter Grehan wrote: > Hi Craig, > > # stty -a >> speed 9600 baud; 0 rows; 0 columns; >> # echo $TERM >> dialup >> >> Any idea how I can fix this? The console inside the VM >> is quite unusable when it does not have the correct >> rows/colums set. >> > > Not sur

cu -l /dev/nmdm not setting rows and columns

2014-11-23 Thread Craig Rodrigues
Hi, I am configuring bhyve VM's with serial consoles directing to /dev/nmdm[n]. I am using cu -l /dev/nmdm[n]B to connect to the console. However, cu does not properly set the value of the rows and columns of my screen. For example, before connecting: # stty -a speed 9600 baud; 30 rows; 91 colu

Re: VIMAGE + pf security fix?

2014-11-21 Thread Craig Rodrigues
On Thu, Nov 20, 2014 at 10:07 AM, Craig Rodrigues wrote: > On Wed, Nov 19, 2014 at 6:05 AM, Bjoern A. Zeeb wrote: > >> >> For people to use pf with VIMAGE we first MUST have the security fix >> imported that I pointed out a couple of times in the past. >> > >

VIMAGE + pf security fix?

2014-11-20 Thread Craig Rodrigues
On Wed, Nov 19, 2014 at 6:05 AM, Bjoern A. Zeeb wrote: > > For people to use pf with VIMAGE we first MUST have the security fix > imported that I pointed out a couple of times in the past. > At this link: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-3830 I see the security issue menti

Re: RFC: Enabling VIMAGE in GENERIC

2014-11-20 Thread Craig Rodrigues
On Wed, Nov 19, 2014 at 4:33 PM, Bjoern A. Zeeb wrote: > > > https://people.freebsd.org/~bz/20100530-02.vnet.9.html > > The man page should be in that perforce branch you converted to github. > Thank you for pointing that out. It is indeed in github: https://github.com/rodrigc/bz-vimage/tree/m

Re: RFC: Enabling VIMAGE in GENERIC

2014-11-19 Thread Craig Rodrigues
On Wed, Nov 19, 2014 at 11:59 AM, John-Mark Gurney wrote: > > Yes, we need a man page talking about this feature first, how to enable > it, compile it into the kernel, how to manage it, what subsystems it > interacts w/, what sysctl nodes it provides, etc. > Marko, Do you have any text which ca

Re: RFC: Enabling VIMAGE in GENERIC

2014-11-18 Thread Craig Rodrigues
On Mon, Nov 17, 2014 at 9:47 AM, Alfred Perlstein wrote: > > On 11/17/14, 3:02 AM, Warner Losh wrote: > >> On Nov 17, 2014, at 12:46 AM, Craig Rodrigues >> wrote: >> >> >>> (3) Take a pass through http://wiki.freebsd.org/VIMAGE/TODO >>>

RFC: Enabling VIMAGE in GENERIC

2014-11-16 Thread Craig Rodrigues
Hi, PROPOSAL == I would like to get feedback on the following proposal. In the head branch (CURRENT), I would like to enable VIMAGE with this commit: PATCH == Index: sys/conf/NOTES === --- sys/conf/NOTES (revision

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-11-09 Thread Craig Rodrigues
On Sun, Oct 12, 2014 at 6:07 PM, Bjoern A. Zeeb < bzeeb-li...@lists.zabbadoz.net> wrote: > > > > Can you provide a pointer to your Perforce branch? > > //depot/user/bz/vimage/src/... > > Hi, Since I am more familiar with git than Perforce, I converted your Perforce branch to git and put it on git

Booting a bhyve VM with NFS root?

2014-11-06 Thread Craig Rodrigues
Hi, Has anyone tried the following: (1) Create a disk image, which only has the contents of the /boot directory and /etc/fstab. (2) /etc/fstab should specify the root file system over NFS (3) Boot the disk image in bhyve. The loader will parse /etc/fstab, and it wil

Re: Help with Bhyve VM install

2014-10-30 Thread Craig Rodrigues
On Thu, Oct 30, 2014 at 1:32 PM, Susan Stanziano wrote: > > I have a system installed with releng10.1 (with tests configured) and am > trying to create a VM under Bhyve. > > I want to know which image to use for the VM install, specifically will > the : > > FreeBSD-10.1-RC3-amd64-bootonly.iso > >

Re: Automatically running /usr/tests on stable/10 branch under Jenkins

2014-10-29 Thread Craig Rodrigues
On Tue, Oct 28, 2014 at 10:44 PM, Mateusz Guzik wrote: > On Fri, Oct 24, 2014 at 09:09:48PM -0700, Craig Rodrigues wrote: > > Are you aware of e.g. stress2 by pho? > > https://people.freebsd.org/~pho/stress/index.html > > Plugging this in should not be hard for some

Re: Automatically running /usr/tests on stable/10 branch under Jenkins

2014-10-27 Thread Craig Rodrigues
nt? > > I would be happy to exchange emails with you or skype as I investigate > this work further. > > Regards, > > Susan > > -- > *From: *"Craig Rodrigues" > *To: *e...@xinuos.com > *Cc: *"Allan Jude" , "John W

Re: Looking for a Libvirt example xml file

2014-10-25 Thread Craig Rodrigues
On Sat, Oct 25, 2014 at 3:48 PM, Willem Jan Withagen wrote: > > So I was wondering if somebody would like to share his working example? > > Hi, Take a look at these slides: http://www.slideshare.net/CraigRodrigues1/libvirt-bhyve on slide 8, I have a pointer to a working libvirt xml example. -

Re: Automatically running /usr/tests on stable/10 branch under Jenkins

2014-10-25 Thread Craig Rodrigues
On Fri, Oct 24, 2014 at 11:44 PM, Alfred Perlstein wrote: > > On 10/24/14 9:45 PM, Garrett Cooper wrote: > >> I think getting tools/regression/zfs working first would be a better idea >> (which means that ZFS developers will need to go debug/fix the issue noted >> in https://bugs.freebsd.org/bugz

Re: Automatically running /usr/tests on stable/10 branch under Jenkins

2014-10-24 Thread Craig Rodrigues
On Thu, Oct 23, 2014 at 11:06 PM, K. Macy wrote: > >> (2) Creates a bootable UFS image with makefs > > > > any chance zfs will be used as well? > > > > Seconded. There are residual locking issues issues in ZFS. > Particularly in the less exercised areas. > I think what would be an interesting e

Re: Automatically running /usr/tests on stable/10 branch under Jenkins

2014-10-24 Thread Craig Rodrigues
On Thu, Oct 23, 2014 at 10:36 PM, Mateusz Guzik wrote: > > (1) does a buildworld/buildkernel on amd64 when someone checks new > > code into the stable/10 branch > > Is not this excessive? It has not been a problem. For example, when a build occurs on the HEAD in svn, if further commits

Re: Automatically running /usr/tests on stable/10 branch under Jenkins

2014-10-24 Thread Craig Rodrigues
On Fri, Oct 24, 2014 at 1:37 PM, Susan Stanziano wrote: > Hello Craig, > > I have been reading through your slides and your website announcement, as > requested, and have a few questions. (I have also subscribed to the > mailing list as suggested). > > (1) The slides indicate that with a FreeBS

Re: [PATCHv2 1/2] bhyve: Support /domain/bootloader configuration for non-FreeBSD guests.

2014-10-24 Thread Craig Rodrigues
On Fri, Oct 24, 2014 at 6:11 AM, Conrad Rad wrote: > > Any idea how soon? Months? A year? 5 years? I'm not comfortable > postponing improvements indefinitely for vaporware. In the wonderful > bhyve-UEFI future, we can ignore/warn about . > > Hi, I have to agree with Conrad here. I hope that any

Re: Re: Automatically running /usr/tests on stable/10 branch under Jenkins

2014-10-24 Thread Craig Rodrigues
On Fri, Oct 24, 2014 at 1:11 AM, Eric le Blan wrote: > Allan, > > > > Always happy to discuss testing. I believe that Susan Stanziono of Xinuos > system test team already spoke to some of you. Please do not hesitate to > reach her for any specific needs. Also, Cheryl Blain - Xinuos VP of > operat

Re: Automatically running /usr/tests on stable/10 branch under Jenkins

2014-10-23 Thread Craig Rodrigues
On Thu, Oct 23, 2014 at 8:31 PM, Allan Jude wrote: > > At the Cambridge Dev Summit, Xinuous specifically mentioned helping with > testing and writing tests. Might be good people to reach out to > Are you referring to Eric Le Blan from Xinuous who was interviewed on BSDNow ( http://www.bsdnow.tv/

Re: Automatically running /usr/tests on stable/10 branch under Jenkins

2014-10-23 Thread Craig Rodrigues
Garrett Cooper wrote: > > Hi Craig! > As much as everyone would like to take i386 out to pasture, > there's a large degree of value in running i386 tests on 11-CURRENT and > 10-STABLE (I've caught some interesting build bugs and test bugs by running > on my i386/CURRENT VM). Are there any

Re: Native Linux guest in Bhyve (no grub2-bhyve) status?

2014-10-22 Thread Craig Rodrigues
On Wed, Oct 22, 2014 at 3:06 PM, Conrad Rad wrote: > On Wed, Oct 22, 2014 at 5:58 PM, Craig Rodrigues > wrote: > > I raised the issue you brought up with respect to libvirt, and some other > > deficiencies in the current libvirt + byve > > implementation. See this

Re: Native Linux guest in Bhyve (no grub2-bhyve) status?

2014-10-22 Thread Craig Rodrigues
On Wed, Oct 22, 2014 at 1:57 PM, Conrad Rad wrote: > > I elided a bit of detail -- actually I'm using libvirt, which then uses > > I raised the issue you brought up with respect to libvirt, and some other deficiencies in the current libvirt + byve implementation. See this discussion: https://lis

Re: Adding support for launching linux VMs in libvirtd/bhvye

2014-10-21 Thread Craig Rodrigues
On Tue, Oct 21, 2014 at 5:41 PM, Jonathan Wong wrote: > Hi- > > I'm looking at libvirt in the ports tree and I noticed that bhyvectl has > been added into libvirt. I'd like to add grub-bhyve to be able to load > linux VMs as I currently can do manually or with the VMRC scripts. > > Any pointers o

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-16 Thread Craig Rodrigues
On Sat, Oct 11, 2014 at 11:15 PM, Adrian Chadd wrote: > ... is it enabled by default on pcbsd? > Kris has answered the question about pcbsd and VIMAGE. As an additional datapoint, I would like to point out that VIMAGE has been enabled in FreeNAS for some time: https://github.com/freenas/freena

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-16 Thread Craig Rodrigues
On Sat, Oct 11, 2014 at 10:58 AM, Craig Rodrigues wrote: > Hi, > > What action items are left to enable VIMAGE by default for FreeBSD 11? > > Not everyone uses bhyve, so VIMAGE is quite useful when using jails. > > Based on the discussion in this thread, I started writing

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-15 Thread Craig Rodrigues
On Sun, Oct 12, 2014 at 6:35 AM, Kris Moore wrote: > > It was for a while in 9.2, but we removed it from 10.0 and later due to > stability issues we kept getting reports about. Haven't tried it since > then, dont know if those issues are fixed. > I fixed some of the problems with VIMAGE that I e

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-14 Thread Craig Rodrigues
On Tue, Oct 14, 2014 at 5:53 AM, Olivier Cochard-Labbé wrote: > > I can use my forwarding/firewalling 10Giga lab for testing VIMAGE impact. > > Thank you for doing the test and providing the results. You put some good work into making those graphs and explaining the results! -- Craig

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-14 Thread Craig Rodrigues
On Tue, Oct 14, 2014 at 11:17 AM, John D. Hendrickson and Sara Darnell < johnandsa...@cox.net> wrote: > do you mean VIMAGE allows a jail to use an iface device for many IPs or > even MAC? i thought that was already the case all cards can "listen" - > it's only a headers trick per say. > > Search

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-13 Thread Craig Rodrigues
On Sat, Oct 11, 2014 at 1:20 PM, Alexander V. Chernikov wrote: > > On 11 Oct 2014, at 21:58, Craig Rodrigues wrote: > > > Hi, > > > > What action items are left to enable VIMAGE by default for FreeBSD 11? > Are there any tests results showing performance impli

Automatically running /usr/tests on stable/10 branch under Jenkins

2014-10-12 Thread Craig Rodrigues
Hi, I have created this Jenkins job, which you can see a graphical representation of: https://jenkins.freebsd.org/jenkins/view/FreeBSD_src_stable/job/FreeBSD_stable_10/848/BuildGraph/ (1) does a buildworld/buildkernel on amd64 when someone checks new code into the stable/10 branch (2) Cr

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-12 Thread Craig Rodrigues
On Sun, Oct 12, 2014 at 5:33 AM, Allan Jude wrote: > On 2014-10-12 07:28, Jason Hellenthal wrote: > > Should also add here that for those using PF as a firewall that VIMAGE > enabled kernels don't play to well together Unless you like looking at > cores all day. > > > > There have been patche

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-12 Thread Craig Rodrigues
On Oct 12, 2014 9:39 AM, "Bjoern A. Zeeb" wrote: > > No, an old perforce branch of mine had all but the last TCP ones fixed. The code is still there. > Can you provide a pointer to your Perforce branch? -- Craig ___ freebsd-virtualization@freebsd.org m

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-11 Thread Craig Rodrigues
On Sat, Oct 11, 2014 at 11:15 PM, Adrian Chadd wrote: > ... is it enabled by default on pcbsd? > > > -a > It was enabled in PCBSD here: https://github.com/trueos/trueos/commit/3108bbe003bc38339fbd4a26542b184b2ccb271a -- Craig ___ freebsd-virtualizatio

Re: libvirt improvements for bhyve

2014-10-11 Thread Craig Rodrigues
On Sat, Oct 11, 2014 at 11:05 AM, Roman Bogorodskiy wrote: > > Frankly speaking, it's a hard topic for me and currently I don't have a > complete idea how to design that. The thing I'm worried about is that as > far as I understand that exit codes are sort of temporary solution and > will be drop

Enabling VIMAGE by default for FreeBSD 11?

2014-10-11 Thread Craig Rodrigues
Hi, What action items are left to enable VIMAGE by default for FreeBSD 11? Not everyone uses bhyve, so VIMAGE is quite useful when using jails. -- Craig ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freeb

libvirt improvements for bhyve

2014-10-07 Thread Craig Rodrigues
Roman, I am using bhyve a lot these days, but I find that I need to write scripts on top of bhyveload / bhyve in order to work with VM's. I would rather use libvirt, because there are many 3rd party programs to work with VM's that are written for libvirt (especially for KVM). How hard would it b

Automatically running /usr/tests under Jenkins

2014-10-07 Thread Craig Rodrigues
Hi, I have created this Jenkins job: https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/1577/BuildGraph/ (1) does a buildworld/buildkernel on amd64 when someone checks new code into CURRENT (2) Creates a bootable UFS image with makefs (3) Boots the image under bhyve (4) Runs these co

Re: Does anyone use the FreeBSD VM qcow2 images

2014-09-10 Thread Craig Rodrigues
On Wed, Sep 10, 2014 at 10:18 AM, Roman Bogorodskiy wrote: > Glen Barber wrote: > > > Hi, > > > > I'm talking about the images available here: > > > > http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/ > > > > Since mkimg(1) in head/ and stable/10 supports VMDK and VHD formats, > > I w

Re: documentation of bhyve

2014-09-01 Thread Craig Rodrigues
On Mon, Sep 1, 2014 at 8:03 AM, Denis Menshikov wrote: > Where can I find complete documentation describing the bhyve? Its > architecture and operation. This is the best source of information: https://wiki.freebsd.org/bhyve -- Craig ___ freebsd-vir

Re: vmrun.sh and zvols

2014-08-30 Thread Craig Rodrigues
On Aug 30, 2014 7:22 AM, "Nikolay Denev" wrote: > > Index: share/examples/bhyve/vmrun.sh > === > --- share/examples/bhyve/vmrun.sh (revision 270295) > +++ share/examples/bhyve/vmrun.sh (working copy) > @@ -176,10 +176,10 @@ > while [

Re: libvirt and rebooting of a bhyve VM

2014-08-20 Thread Craig Rodrigues
On Wed, Aug 20, 2014 at 8:15 AM, John Baldwin wrote: > It probably would be good to document the return codes in the man page, but > eventually they will all go away. The long term plan is to make bhyve operate > more like other hypervisors in which case a single process invocation will > mimic a

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Craig Rodrigues
On Tue, Aug 19, 2014 at 12:18 PM, Allan Jude wrote: > > The name of the vm is in the title of the bhyve process, but yes, it Hmm, OK, that would require me to grep the processes and send SIGTERM to the right pid. That's not ideal, especially if I start lots of VM's, but it is workable. > would b

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Craig Rodrigues
On Tue, Aug 19, 2014 at 9:25 AM, Allan Jude wrote: > > Yes, this revision adds the ability to 'reboot'. This does not exit > bhyve at all, so there is no exit level > > You can 'reboot' a bhyve externally using: > bhyvectl --force-reset --vm=xxx > > or force a poweroff with: bhyvectl --force-reset

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Craig Rodrigues
On Tue, Aug 19, 2014 at 10:32 AM, John Baldwin wrote: > The exit code is different. An ACPI shutdown uses an exit code of 1 whereas a > reboot uses an exit code of 0 IIRC. Hi, I have a CURRENT system, and ran some tests doing a "shutdown -r" and "shutdown -p" verified that you are right, with

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Craig Rodrigues
On Tue, Aug 19, 2014 at 9:25 AM, Allan Jude wrote: > > Yes, this revision adds the ability to 'reboot'. This does not exit > bhyve at all, so there is no exit level > > You can 'reboot' a bhyve externally using: > bhyvectl --force-reset --vm=xxx > > or force a poweroff with: bhyvectl --force-reset

Re: libvirt and rebooting of a bhyve VM

2014-08-19 Thread Craig Rodrigues
On Tue, Aug 19, 2014 at 8:40 AM, Roman Bogorodskiy wrote: > Hi Craig, > > Unfortunately, I'm not sure how to get the reboot working. Moreover, I > get the same behaviour when starting bhyve manually -- when I do a > reboot, bhyve(8) exits as soon as the system is ready to restart. > > So looks lik

  1   2   3   >