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

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

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 ___

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

[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

[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

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 gre...@freebsd.org wrote: http://people.freebsd.org/~grehan/grub-bhyve-S.diff I confirmed, that patch works. Thanks! -- Craig ___ freebsd-virtualization@freebsd.org mailing list

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 gre...@freebsd.org 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 rodr...@freebsd.org 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-bhyve need this as well? -- Craig

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 neeln...@gmail.com 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

[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:

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

2015-06-03 Thread Craig Rodrigues
On Wed, Jun 3, 2015 at 9:18 AM, Andriy Gapon a...@freebsd.org 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

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 j...@funkthat.com 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

[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

[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-13 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...

Re: available hypervisors in FreeBSD

2015-04-01 Thread Craig Rodrigues
On Wed, Apr 1, 2015 at 9:41 AM, Paul Vixie p...@redbarn.org 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

[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

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 neeln...@gmail.com 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

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

[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

[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

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 jon.the.w...@gmail.com 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:

[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] [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,

[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,

[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 ___

[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] 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] 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 ___

[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

[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 ___

[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 ___

[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.org

[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

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 recommend

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 nv...@gmx.com 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

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 j...@funkthat.com wrote: So, what exactly is the problem again? https://lists.freebsd.org/pipermail/freebsd-virtualization/2014-November/003173.html ___ freebsd-virtualization@freebsd.org mailing

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

Re: VIMAGE + pf security fix?

2014-11-21 Thread Craig Rodrigues
On Thu, Nov 20, 2014 at 10:07 AM, Craig Rodrigues rodr...@freebsd.org wrote: On Wed, Nov 19, 2014 at 6:05 AM, Bjoern A. Zeeb b...@freebsd.org 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

Re: RFC: Enabling VIMAGE in GENERIC

2014-11-20 Thread Craig Rodrigues
On Wed, Nov 19, 2014 at 4:33 PM, Bjoern A. Zeeb b...@freebsd.org 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:

VIMAGE + pf security fix?

2014-11-20 Thread Craig Rodrigues
On Wed, Nov 19, 2014 at 6:05 AM, Bjoern A. Zeeb b...@freebsd.org 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

Re: RFC: Enabling VIMAGE in GENERIC

2014-11-19 Thread Craig Rodrigues
On Wed, Nov 19, 2014 at 11:59 AM, John-Mark Gurney j...@funkthat.com 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

Re: RFC: Enabling VIMAGE in GENERIC

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

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

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

Re: Help with Bhyve VM install

2014-10-30 Thread Craig Rodrigues
On Thu, Oct 30, 2014 at 1:32 PM, Susan Stanziano susan.stanzi...@xinuos.com 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 :

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

2014-10-27 Thread Craig Rodrigues
this work further. Regards, Susan -- *From: *Craig Rodrigues rodr...@freebsd.org *To: *e...@xinuos.com *Cc: *Allan Jude allanj...@freebsd.org, John Wolfe j...@xinuos.com, freebsd-virtualization@freebsd.org, freebsd-test...@freebsd.org, Susan Stanziano

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 w...@digiware.nl 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

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 e...@xinuos.com 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

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 cse@gmail.com 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 bootloader. Hi, I have to agree with Conrad

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 susan.stanzi...@xinuos.com 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

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 plans

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 cse@gmail.com 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

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 jon.the.w...@gmail.com 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.

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 rodr...@freebsd.org 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 down

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 k...@pcbsd.org 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

Re: Enabling VIMAGE by default for FreeBSD 11?

2014-10-14 Thread Craig Rodrigues
On Sat, Oct 11, 2014 at 1:20 PM, Alexander V. Chernikov melif...@ipfw.ru wrote: On 11 Oct 2014, at 21:58, Craig Rodrigues rodr...@freebsd.org wrote: Hi, What action items are left to enable VIMAGE by default for FreeBSD 11? Are there any tests results showing performance implications

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 for

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

2014-10-13 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)

Re: Enabling VIMAGE by default for FreeBSD 11?

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

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 allanj...@freebsd.org 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

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

Re: documentation of bhyve

2014-09-01 Thread Craig Rodrigues
On Mon, Sep 1, 2014 at 8:03 AM, Denis Menshikov da...@inbox.ru 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

Re: vmrun.sh and zvols

2014-08-30 Thread Craig Rodrigues
On Aug 30, 2014 7:22 AM, Nikolay Denev nde...@gmail.com 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 @@

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 j...@freebsd.org 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

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 no...@freebsd.org 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.

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 j...@freebsd.org 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

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 allanj...@freebsd.org 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

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 allanj...@freebsd.org 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

libvirt and rebooting of a bhyve VM

2014-08-18 Thread Craig Rodrigues
Roman, I am using libvirt and bhyve according to this XML: http://libvirt.org/drvbhyve.html and it works great. I gave a presentation at BAFUG on this: http://www.slideshare.net/CraigRodrigues1/libvirt-bhyve I have one question. If I reboot the bhyve VM started with libvirt with shutdown -r

Re: vhd file from snapshots: VBOX_E_OBJECT_NOT_FOUND

2014-07-29 Thread Craig Rodrigues
On Tue, Jul 29, 2014 at 12:48 PM, Glen Barber g...@freebsd.org wrote: On Tue, Jul 29, 2014 at 12:44:01PM -0700, Craig Rodrigues wrote: Hi, I downloaded FreeBSD-11.0-CURRENT-amd64-20140714-r268622.vhd.xz from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/11.0-CURRENT/amd64

Re: BAFUG July 10: libvirt virtualization API for controlling bhyve virtual machines

2014-07-11 Thread Craig Rodrigues
Hi, Slides for this talk are available here: http://people.freebsd.org/~rodrigc/libvirt/presentations/ iXsystems recorded video of the presentation. When they put it online, I'll send the link. -- Craig On Mon, Jun 30, 2014 at 5:30 PM, Craig Rodrigues rodr...@freebsd.org wrote: Hi

BAFUG July 10: libvirt virtualization API for controlling bhyve virtual machines

2014-06-30 Thread Craig Rodrigues
Hi, On July 10, 2014, in Mountain View, California, I will be giving a brief tech talk on: libvirt virtualization API for controlling bhyve virtual machines I have been testing the extensions that Roman Bogorodskiy no...@freebsd.org has made to the lbivirt library for supporting bhyve. I will

py-libvirt problems with bhyve

2014-06-25 Thread Craig Rodrigues
Hi, I did the following: (1) Set up libvirt, taking Roman's latest port, and configuring bhyve support: http://people.freebsd.org/~rodrigc/libvirt/libvirt-bhyve.html (2) Installed the py-libvirt port. I wrote this code: import libvirt import sys conn = libvirt.openReadOnly(None) if

Re: libvirt, bhyve, and Jenkins configuration problems

2014-06-25 Thread Craig Rodrigues
On Wed, Jun 25, 2014 at 11:08 AM, Roman Bogorodskiy no...@freebsd.org wrote: Does that mean that I need to configure my VM, so that it comes up with a known IP, so that it can be entered on this configuration page? Correct. Though, normally you don't need to perform any special

Re: libvirt, bhyve, and Jenkins configuration problems

2014-06-24 Thread Craig Rodrigues
On Sat, Jun 21, 2014 at 6:52 AM, Roman Bogorodskiy no...@freebsd.org wrote: When you configure the connection in the 'Add a new Cloud' dialog, does 'test connection' work for you? I don't see a host and credentials specified, I'm not sure if jenkins libvirt plugin works with the local

Re: Request for Testers: libvirt and bhyve

2014-06-20 Thread Craig Rodrigues
On Fri, Jun 20, 2014 at 5:56 AM, Vincent Hoffman vi...@unsane.co.uk wrote: Hi Craig, I've given it a try and its looking good. Nice! Do you have time to try virt-manager: http://people.freebsd.org/~rodrigc/libvirt/virt-manager.html Thanks for all the work on this. Roman did all the hard

libvirt, bhyve, and Jenkins configuration problems

2014-06-19 Thread Craig Rodrigues
Hi, I am trying to configure Jenkins to spawn bhyve VM's on demand using libvirt. I did the following: (1) Looked at Roman's blog article: http://empt1e.blogspot.com/2014/03/using-jenkins-libvirt-slave-plugin-with.html (2) Followed the libvirt configuration steps here:

Request for Testers: libvirt and bhyve

2014-06-18 Thread Craig Rodrigues
Hi, I've had some success with getting libvirt and bhyve to work. I wrote up a list of the steps that I followed here: http://people.freebsd.org/~rodrigc/libvirt-bhyve/libvirt-bhyve.html If anyone is interested, please try it out, and provide feedback to this list. It would be great to get

Request for testers: virt-manager, libvirt, and bhyve

2014-06-18 Thread Craig Rodrigues
Hi, I created a patch for the deskutils/virt-manager port to add support for bhyve. virt-manager depends on libvirt, so the work that Roman has done with libvirt is critical for it to work. I have instructions for setting it up here, plus a screenshot of the virt-manager UI:

Re: libvirt and bhyve problems

2014-06-17 Thread Craig Rodrigues
On Sun, Jun 15, 2014 at 8:20 AM, Roman Bogorodskiy no...@freebsd.org wrote: I have updated the port: http://people.freebsd.org/~novel/misc/libvirt_port2.tgz Changes are: * added RUN_DEPENDS on dnsmasq (required for networking) * added installation on network definition files Hi,

Re: libvirt and bhyve problems

2014-06-15 Thread Craig Rodrigues
On Sun, Jun 15, 2014 at 8:20 AM, Roman Bogorodskiy no...@freebsd.org wrote: I have updated the port: http://people.freebsd.org/~novel/misc/libvirt_port2.tgz OK, I deinstall the old port, took your port, built it, and installed it. When I started libvirtd, I got this: 2014-06-15

Re: libvirt and bhyve problems

2014-06-13 Thread Craig Rodrigues
On Thu, Jun 12, 2014 at 12:00 PM, Roman Bogorodskiy no...@freebsd.org wrote: Ah. Actually, libvirt manages bridges and taps on its own. So, the preferred flow is that libvirt starts its networks on startup automatically. By default it has a network with the 'virbr0' device which it creates on

Re: libvirt and bhyve problems

2014-06-12 Thread Craig Rodrigues
On Thu, Jun 12, 2014 at 1:00 AM, Roman Bogorodskiy no...@freebsd.org wrote: http://people.freebsd.org/~novel/misc/libvirt_port_updated.tgz With this setup, I'm able to get networking (e.g. virsh net-list works) and updated the fix for the previous problem. I was able to start a VM with that

Re: libvirt and bhyve problems

2014-06-12 Thread Craig Rodrigues
On Thu, Jun 12, 2014 at 11:28 AM, Craig Rodrigues rodr...@freebsd.org wrote: On Thu, Jun 12, 2014 at 1:00 AM, Roman Bogorodskiy no...@freebsd.org wrote: http://people.freebsd.org/~novel/misc/libvirt_port_updated.tgz With this setup, I'm able to get networking (e.g. virsh net-list works

Re: libvirt and bhyve problems

2014-06-11 Thread Craig Rodrigues
On Wed, Jun 11, 2014 at 11:21 AM, Roman Bogorodskiy no...@freebsd.org wrote: Thanks for the analysis! I'll think what would be a proper fix for that problem. Also, while thinking how to reproduce it, I did 'kldunload if_bridge' and started to see the same problem. So, as a temporary fix,

Re: libvirt and bhyve problems

2014-06-11 Thread Craig Rodrigues
On Wed, Jun 11, 2014 at 12:25 PM, Roman Bogorodskiy no...@freebsd.org wrote: I've attached a patch which should fix the segfault. Could you please let me know if it fixes the problem? I have incorporated your patch into the libvirt port, and provided a tarball of the port here:

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 4:43 AM, Roman Bogorodskiy no...@freebsd.org wrote: Hi Craig, It's a little unfortunate that there's no stacktrace, though we can try to see what's going on without it. Could you please edit libvirtd.conf (should be something like /usr/local/etc/libvirtd.conf if

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 8:58 AM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 10, 2014 at 4:43 AM, Roman Bogorodskiy no...@freebsd.org wrote: Hi Craig, It's a little unfortunate that there's no stacktrace, though we can try to see what's going on without it. Could you please edit

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 10:54 AM, Roman Bogorodskiy no...@freebsd.org wrote: This warning is not critical. Actually, UML should not be built on FreeBSD and I would need to disable it by default. For now I think the proper fix is to configure with '--without-uml' flag. As for the segfault, I

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 12:15 PM, Roman Bogorodskiy no...@freebsd.org wrote: This last line also sounds strange. I'm wondering if you execute 'net-list --all' will you see the 'default' network? And if it's there, will 'net-show default' should that Autostart is enabled for it? If I do: #

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 12:25 PM, Craig Rodrigues rodr...@freebsd.org wrote: # gdb /usr/local/sbin/libvirtd libvirtd.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change

Re: libvirt and bhyve problems

2014-06-10 Thread Craig Rodrigues
On Tue, Jun 10, 2014 at 1:54 PM, Craig Rodrigues rodr...@freebsd.org wrote: On Tue, Jun 10, 2014 at 12:25 PM, Craig Rodrigues rodr...@freebsd.org wrote: lldb /usr/local/sbin/libvirtd libvirtd.core (lldb) bt * thread #1: tid = 0, 0x000801aa8513 libvirt.so.1002

libvirt and bhyve problems

2014-06-09 Thread Craig Rodrigues
Roman, I have been reading your blog posts on using libvirt + bhyve here: http://empt1e.blogspot.com/ and the libvirt bhyve documentation here: http://libvirt.org/drvbhyve.html but am having problems reproducing the steps. I have a machine running: FreeBSD 11.0-CURRENT FreeBSD 11.0-CURRENT

Re: virt-manager bhyve

2014-05-05 Thread Craig Rodrigues
On Mon, May 5, 2014 at 2:47 PM, Alexandar Narayan alexandar.nara...@gmail.com wrote: Has anyone built virt-manager with bhyve support? I haven't tried any of this stuff, but you may want to read the blog postings mentioned at this link:

Re: Bhyve support in Libvirt

2014-03-31 Thread Craig Rodrigues
On Mon, Mar 31, 2014 at 10:00 AM, Roman Bogorodskiy no...@freebsd.org wrote: http://empt1e.blogspot.ru/2014/03/bhyve-in-libvirt.html This is a huge step forward for bhyve! Thank you! There is a sizable ecosystem of software for managing hypervisors built on top of libvirt. Have you tested

Re: Google Summer of Code 2014 question

2014-03-20 Thread Craig Rodrigues
On Thu, Mar 20, 2014 at 8:24 AM, John Baldwin j...@freebsd.org wrote: This isn't a bad place to ask this question. I think a person you might want to talk to is Craig Rodrigues (cc'd) who has recently setup Jenkins with the goal of doing automated testing using virtual machines. I'm

  1   2   >