BHyVe web page

2011-09-26 Thread Craig Rodrigues
@FreeBSD.org . -- Craig Rodrigues rodr...@crodrigues.org ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to freebsd-virtualization-unsubscr...@freebsd.org

Re: VirtualBox problem booting FreeBSD-9.0-RELEASE-amd64-bootonly.iso

2012-04-16 Thread Craig Rodrigues
On Mon, Apr 16, 2012 at 12:08 AM, Craig Rodrigues rodr...@crodrigues.org wrote: My host environment === Operating System: Windows 7, home edition, 64-bit VirtualBox for Windows, version 4.1.12 r77245 CPU Information I downloaded the CoreInfo.exe utility

Re: VirtualBox problem booting FreeBSD-9.0-RELEASE-amd64-bootonly.iso

2012-04-17 Thread Craig Rodrigues
On Mon, Apr 16, 2012 at 9:29 PM, Adam Vande More amvandem...@gmail.com wrote: On Mon, Apr 16, 2012 at 10:30 PM, Craig Rodrigues rodr...@crodrigues.org wrote: After exchanging a few e-mails with Bernard, I think I understand the problem. According to the VirtualBox manual: http

Re: Hyper-V Integration Components Patch for FreeBSD 8.2, 8.3, 9.0 and 9.1-BETA1

2012-08-15 Thread Craig Rodrigues
Hi, Thanks for writing this up. I have created a page on the FreeBSD wiki with info about Microsoft Hyper-V, and I placed a link to your blog entry there: http://wiki.freebsd.org/HyperV -- Craig Rodrigues rodr...@crodrigues.org On Mon, Aug 13, 2012 at 3:36 PM, Chris Knight str...@gmail.com

AMD and BHyve?

2013-04-13 Thread Craig Rodrigues
Hi, I recently updated one of my home machines to FreeBSD-10/amd64. Here is what I have: FreeBSD 10.0-CURRENT #0 r249181: Sat Apr 6 03:07:32 UTC 2013 rodr...@dibbler.crodrigues.org:/usr/obj/opt2/branches/head/sys/GENERIC amd64 FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710)

Re: FW: AMD and BHyve?

2013-04-14 Thread Craig Rodrigues
On Sat, Apr 13, 2013 at 2:43 PM, Anish akgu...@gmail.com wrote: Hi Craig, AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow! AMD Features2=0x11fLAHF,CMP,*SVM*,ExtAPIC,CR8,Prefetch Yes, the AMD processor you have support AMD-V or SVM and I got BHyVe working on AMD

Re: [Xen-devel] FreeBSD PVHVM call for testing

2013-05-24 Thread Craig Rodrigues
On Fri, May 24, 2013 at 7:14 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Thu, May 23, 2013 at 07:41:50PM +0200, Roger Pau Monné wrote: Hello, I've pushed a new branch, pvhvm_v10 that contains a PV IPI implementation for both amd64 and i386. I've also updated the wiki to

Re: FreeBSD PVHVM call for testing

2013-05-24 Thread Craig Rodrigues
On Thu, May 23, 2013 at 6:30 AM, Roger Pau Monné roger@citrix.comwrote: On 23/05/13 15:20, Jeroen van der Ham wrote: On 13 May 2013, at 20:32, Roger Pau Monné roger@citrix.com wrote: Also, I've created a wiki page that explains how to set up a FreeBSD PVHVM for testing:

Re: FreeBSD PVHVM call for testing

2013-05-28 Thread Craig Rodrigues
On Tue, May 28, 2013 at 8:21 AM, Outback Dingo outbackdi...@gmail.comwrote: On Fri, May 24, 2013 at 6:27 PM, Craig Rodrigues rodr...@crodrigues.orgwrote: I wrote this blog post: http://blogs.freebsdish.org/rodrigc/2013/05/24/setting-up-a-vm-for-doing-gsoc-work/ for the steps how

VIMAGE crashes on 9.x with bluetooth devices

2013-07-07 Thread Craig Rodrigues
Hi, I tried running PC-BSD 9.1 on an HP Elitebook 8460p laptop ( http://h10010.www1.hp.com/wwpc/pscmi...oks/8460p.html ). See the screenshot I posted here: http://forums.pcbsd.org/showthread.php?t=20001 In PC-BSD, the default kernel comes with VIMAGE enabled in the kernel config. The problem I

VIMAGE + PF crash in mbuf destructor

2013-07-22 Thread Craig Rodrigues
Hi, I used a kernel config with the following lines: include GENERIC options VIMAGE and compiled a CURRENT kernel from svn://svn.freebsd.org/base/head@253346 . I also have PF enabled on my system. Once in a while I have been getting kernel panics like these:

Re: VIMAGE + PF crash in mbuf destructor

2013-07-22 Thread Craig Rodrigues
CURVNET_SET/CURVNET_RESTORE in pf_mtag_free(). -- Craig -adrian On 21 July 2013 23:32, Craig Rodrigues rodr...@freebsd.org wrote: Hi, I used a kernel config with the following lines: include GENERIC options VIMAGE and compiled a CURRENT kernel from svn:// svn.freebsd.org/base

Re: VIMAGE + PF crash in mbuf destructor

2013-07-22 Thread Craig Rodrigues
On Mon, Jul 22, 2013 at 10:11 AM, Adrian Chadd adr...@freebsd.org wrote: I don't think the default vnet context is the correct behaviour there. We'd need to figure out what the vnet context of the mbuf is and set that. What do you think about Marko's suggestion to de-virtualize V_pf_mtag_z?

De-virtualize V_pf_mtag_z to eliminate kernel panics.

2013-07-27 Thread Craig Rodrigues
Gleb, Since you did a lot of work in GRN 240233 to fix PF issues, especially for VIMAGE, I thought I would ask your opinion on the attached patch. In this post: http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-July/001405.html I reported multiple PF-related panics when VIMAGE was

Simulating CD-ROM device with BHyve and ISO disk image?

2013-08-27 Thread Craig Rodrigues
Hi, I have an ISO image that I am trying to boot in BHyve. I tried this: truncate -s 2G /tmp/disk.img sh /usr/share/examples/bhyve/vmrun.sh -I test.iso -d /tmp/disk.img freenas1 The initial kernel boots, but then fails to mount the root device:

Re: Simulating CD-ROM device with BHyve and ISO disk image?

2013-08-27 Thread Craig Rodrigues
happens if you specify cd9660:iso9660/CDROM when first boot attempt has failed? You could also try cd9660:/dev/vtbd1 Best regards Andreas On Wed, Aug 28, 2013 at 1:12 AM, Craig Rodrigues rodr...@freebsd.orgwrote: Hi, I have an ISO image that I am trying to boot in BHyve. I tried

Problems with missing ttyv devices in BHyve?

2013-09-07 Thread Craig Rodrigues
Hi, I am working on the FreeNAS project for iXsystems. FreeNAS is derived from FreeBSD. I am trying to use BHyve to do testing of FreeNAS, but I am running into some problems. I did the following: (1) Downloaded the latest daily build ISO of FreeNAS, which has some fixes to make the

Re: PXE booting into a Hyper-V 2012 R2 instance - slows to a crawl?

2013-09-26 Thread Craig Rodrigues
On Tue, Sep 24, 2013 at 6:53 AM, Karl Pielorz kpielorz_...@tdx.co.ukwrote: We are creating new Hyper-V instances using our PXE boot environment (which boots you into a FreeBSD 9.1 amd64 O/S) - we'd build a Hyper-V aware kernel etc. from that (after SVN'ing the latest Hyper-V project source).

Re: bhve bug report: attempting to physical DVD drive for install CD is unbootable

2013-09-30 Thread Craig Rodrigues
On Mon, Sep 30, 2013 at 4:51 PM, Aryeh Friedman aryeh.fried...@gmail.comwrote: -- Forwarded message -- From: Aryeh Friedman aryeh.fried...@gmail.com Date: Mon, Sep 30, 2013 at 7:51 PM Subject: Re: bhve bug report: attempting to physical DVD drive for install CD is unbootable

Re: Disabling ATA driver for IDE devices on Hyper-V

2013-10-02 Thread Craig Rodrigues
Hi, There was some discussion between Larry Melia and Alexander Motin on this and related topics a few months ago. Here are some relevant threads: http://lists.freebsd.org/pipermail/freebsd-virtualization/2013-April/001180.html

Re: Problems with missing ttyv devices in BHyve?

2013-10-03 Thread Craig Rodrigues
On Sat, Sep 7, 2013 at 9:10 AM, Peter Grehan gre...@freebsd.org wrote: Hi Craig, Does anyone have any ideas what the fix for this should be? You'll have to edit the /etc/ttys file and -ttyu2 /usr/libexec/getty std.9600 dialup off secure +ttyu2 /usr/libexec/getty std.9600

Re: Problems with missing ttyv devices in BHyve?

2013-10-04 Thread Craig Rodrigues
On Thu, Oct 3, 2013 at 10:38 PM, Peter Grehan gre...@freebsd.org wrote: (2) Is it possible to connect to the console of the BHyve VM via /dev/ttyu2 or some other mechanism? I would like to be able to connect to the BHyve VM and use something like Expect or py-expect to

Use humanize_number() inside bhyveload?

2013-10-04 Thread Craig Rodrigues
Hi, In /usr/src/usr.bin/truncate/truncate.c , you can see that the '-s' parameter to the truncate utility is parsed with the expand_number() utility. Can we use expand_number() in bhyve_load? That will allow people to enter parameters like: -m 2G This is handy and consistent with other

Re: Use humanize_number() inside bhyveload?

2013-10-07 Thread Craig Rodrigues
On Fri, Oct 4, 2013 at 1:40 PM, Peter Grehan gre...@freebsd.org wrote: Hi Craig, Can we use expand_number() in bhyve_load? Please commit this change :) later, Peter. Here is a bigger patch, which uses expand_number() in bhyveload and bhyve, and also changes comments in vmrun.sh to

Re: Use humanize_number() inside bhyveload?

2013-10-09 Thread Craig Rodrigues
On Tue, Oct 8, 2013 at 9:00 PM, Neel Natu neeln...@gmail.com wrote: Thanks for the patch - submitted as r256176 with some modifications to preserve backward compatibility. best Neel Thanks! -- Craig ___ freebsd-virtualization@freebsd.org

Using wlan0 device over tap0 device with BHyve?

2013-10-09 Thread Craig Rodrigues
Hi, I am using this script to set up my tap device before running BHyve: = #!/bin/sh #iface=em0 iface=wlan0 ifconfig bridge0 create ifconfig tap0 create ifconfig bridge0 addm $iface addm tap0 up sysctl net.link.tap.user_open=1

Re: Using wlan0 device over tap0 device with BHyve?

2013-10-09 Thread Craig Rodrigues
doesn't like adding both the lan nic and tap to the bridge at the same time On Wed, Oct 9, 2013 at 7:30 PM, Craig Rodrigues rodr...@freebsd.org wrote: Hi, I am using this script to set up my tap device before running BHyve

Running FreeNAS under BHyve

2013-10-10 Thread Craig Rodrigues
Hi, Here is what I have been doing to run FreeNAS under BHyve. (1) Download latest FreeNAS-9.2.0-ALPHA ISO from: http://sourceforge.net/projects/freenas/files/FreeNAS-nightlies/2013-10-09/x64/ (2) Run this script to set up tap device:

Re: Running FreeNAS under BHyve

2013-10-12 Thread Craig Rodrigues
On Thu, Oct 10, 2013 at 6:31 PM, Aryeh Friedman aryeh.fried...@gmail.comwrote: On Thu, Oct 10, 2013 at 7:36 PM, Craig Rodrigues rodr...@freebsd.orgwrote: If DHCP works, you should be able to access the FreeNAS web GUI using a web browser, via the IP address that the BHyve VM got from DHCP

Re: Running FreeNAS under BHyve

2013-10-14 Thread Craig Rodrigues
On Sat, Oct 12, 2013 at 8:44 PM, Michael Dexter edi...@callfortesting.orgwrote: Hello, On 10/10/13 4:36 PM, Craig Rodrigues wrote: Here is what I have been doing to run FreeNAS under BHyve. Note that the script archive at bhvye.org has a script, nanobsd2bhyve.sh that makes this a one

Re: Running bhyve on a AMD 1075T Phenom

2013-10-14 Thread Craig Rodrigues
Hi, I have an older machine with an AMD CPU, so I took a look at the http://svnweb.freebsd.org/base/projects/bhyve_svm/branch. I noticed that this branch has not been updated with the latest changes from HEAD, specifically the changes done in this branch:

VIMAGE: Freed UMA key was not empty

2013-10-15 Thread Craig Rodrigues
Bjoern, I was looking at this bug in FreeNAS: Panic on new jail with vnet https://bugs.freenas.org/issues/3102 It turns out that the root cause of the problem is the same as the one mentioned here: http://lists.freebsd.org/pipermail/freebsd-current/2010-November/021280.html Using the testcase

Bhyve: acpi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND

2013-10-28 Thread Craig Rodrigues
Hi, I notice that in BHyve, if I try to do shutdown -p now, there is an ACPI error: == Halting and powering down... Waiting (max 60 seconds) for system process `vnlru' to stop...done Waiting (max 60 seconds) for system process

VIMAGE: Freed UMA keg was not empty

2013-11-26 Thread Craig Rodrigues
Adrian, As part of looking at this bug in FreeNAS: Panic on new jail with vnet https://bugs.freenas.org/issues/3102 I started looking at this thread: http://lists.freebsd.org/pipermail/freebsd-current/2010-November/021280.html Based on this clue from Thiery:

Re: VIMAGE: Freed UMA keg was not empty

2013-11-27 Thread Craig Rodrigues
On Wed, Nov 27, 2013 at 2:05 AM, Adrian Chadd adr...@freebsd.org wrote: Well, the first step is figuring out which UMA zones are actually problematic. Isn't it logging which zones aren't empty? The error messages on the console look like this: Freed UMA keg was not empty (203 items). Lost

bhyve(8) man page?

2013-12-04 Thread Craig Rodrigues
Hi, Do you have an mdoc formatted version of http://people.freebsd.org/~grehan/bhyve_8-v0.1.txt which is ready for commit to HEAD? It would be handy to have this in the tree, because it is annoying to have to look at the bhyve source code to figure out what all the command-line options are for.

Booting a disk image with GRUB in BHyve?

2013-12-23 Thread Craig Rodrigues
Hi, I tried the following: (1) Downloaded SmartOS USB image from: http://wiki.smartos.org/display/DOC/Download+SmartOS (2) Uncompressed the bz2 file. (3) Ran file on the binary: # file smartos-latest-USB.img smartos-latest-USB.img: x86 boot sector; GRand Unified Bootloader, stage1

Remote serial console for BHyve VM?

2014-01-06 Thread Craig Rodrigues
Hi, I am working with Sean Bruno to set up some BHyve VM's. Right now, the vmrun.sh script tells BHyve to direct the serial console to stdout. If I want to have the VM's start via an rc.d script, and have the VM be headless, what is the best way to have the VM console still be accessible? Has

Re: Remote serial console for BHyve VM?

2014-01-11 Thread Craig Rodrigues
On Mon, Jan 6, 2014 at 3:12 PM, Peter Grehan gre...@freebsd.org wrote: One way is to use the cloneable null-modem driver, nmdm(4). Others have used tmux for this, but I'll give a quick overview of the former. kldload nmdm.ko before starting VMs, e.g. at boottime or in rc.conf's kld_list

rc.d scripts for starting BHyve from rc.d

2014-01-23 Thread Craig Rodrigues
Hi, I put together some scripts for starting a BHyve VM when a system boots. When the system boots, the console of the VM uses /dev/nmdm. It is possible to connect to the console of the VM with: cu -l /dev/nmdm0B It is a bit rough, but works nicely. Does someone out there have better

MAC addresses to use for BHyve VM's running under FreeBSD?

2014-02-04 Thread Craig Rodrigues
Hi, I am running many BHyve VM's and am using tap interfaces with a single bridge. I am configuring the IP addresses of these VM's via DHCP. I need to have separate MAC addresses for each VM. Can anyone recommend a range of MAC addresses to use? I seem to recall that at the 2013 FreeBSD

Re: MAC addresses to use for BHyve VM's running under FreeBSD?

2014-02-05 Thread Craig Rodrigues
On Wed, Feb 5, 2014 at 9:46 AM, Kurt Lidl l...@pix.net wrote: On Feb 5, 2014, at 3:33 , Kai Gallasch k at free.de wrote: Am 05.02.2014 um 08:03 schrieb Craig Rodrigues: Hi, I am running many BHyve VM's and am using tap interfaces with a single bridge. I am configuring the IP addresses

Detect of BHyve VM was powered off or rebooted?

2014-02-09 Thread Craig Rodrigues
Hi, I posted some rc.d scripts that I am using to boot a BHyve VM and send the output to a serial console using the /dev/nmdm driver: http://lists.freebsd.org/pipermail/freebsd-virtualization/2014-January/002040.html It works quite well. There is some things I would like to improve, and would

Re: RFC: hyperv disk i/o performance vs. data integrity

2014-02-09 Thread Craig Rodrigues
On Sat, Feb 1, 2014 at 9:24 PM, Aryeh Friedman aryeh.fried...@gmail.comwrote: Craig Rodrigues and the FreeNAS team have done a fantastic job already (I have not personally tried FreeNAS yet but I have heard nothing but good things about it) and making it so it can run on a bhyve instance

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-11 Thread Craig Rodrigues
On Tue, Feb 11, 2014 at 11:11 AM, John Baldwin j...@freebsd.org wrote: On Sunday, February 09, 2014 7:03:41 pm Neel Natu wrote: Hi Craig, On Sun, Feb 9, 2014 at 1:11 PM, Craig Rodrigues rodr...@freebsd.org wrote: Hi, I posted some rc.d scripts that I am using to boot a BHyve VM

Re: Detect of BHyve VM was powered off or rebooted?

2014-02-12 Thread Craig Rodrigues
On Tue, Feb 11, 2014 at 3:18 PM, Neel Natu neeln...@gmail.com wrote: One question, if bhyve exits, do I have to call bhyveload again before calling bhyve? Yes, that is correct. You will also need to destroy the VM after bhyve exits. Why can't bhyve clean up after itself as the

Re: Bhyve and booting a ZFS-on-root system

2014-02-22 Thread Craig Rodrigues
On Sat, Feb 22, 2014 at 12:16 PM, Willem Jan Withagen w...@digiware.nlwrote: Hi, Just for the fun of it, I tried my build zfs-system scripts in a bhyve-vm. I use the 10.0-RELEASE iso to get to a shell, config and interface and download my script. Installing does work, and on a regular

Re: Bhyve and booting a ZFS-on-root system

2014-02-22 Thread Craig Rodrigues
On Sat, Feb 22, 2014 at 12:16 PM, Willem Jan Withagen w...@digiware.nlwrote: CPU: AMD Phenom(tm) II X6 1075T Processor (3013.84-MHz K8-class CPU) Origin = AuthenticAMD Id = 0x100fa0 Family = 0x10 Model = 0xa Also, as Aryeh has pointed out, you cannot run BHyve on an AMD processor unless

Re: Bhyve and booting a ZFS-on-root system

2014-02-23 Thread Craig Rodrigues
On Feb 23, 2014 2:59 AM, Willem Jan Withagen w...@digiware.nl wrote: Op 22 feb. 2014 om 22:28 heeft Craig Rodrigues rodr...@freebsd.org het volgende geschreven: On Sat, Feb 22, 2014 at 12:16 PM, Willem Jan Withagen w...@digiware.nl wrote: Hi, Just for the fun of it, I tried my build zfs

Re: Bhyve and booting a ZFS-on-root system

2014-02-23 Thread Craig Rodrigues
On Feb 23, 2014 3:35 PM, Willem Jan Withagen w...@digiware.nl wrote: On 22-2-2014 22:28, Craig Rodrigues wrote: ZFS on Root inside a BHyve VM was not working until today. If you you have a FreeBSD-CURRENT system and then update to this revision: http://lists.freebsd.org/pipermail/svn

March 13: Jenkins and BHyve presentation

2014-02-24 Thread Craig Rodrigues
Hi, I will be giving a talk discussing what I have done settings up Jenkins ( https://jenkins.freebsd.org ) in the FreeBSD cluster, using BHyve VM's: The presentation will be on March 13 in Mountain View, California, U.S.A.:

Re: March 13: Jenkins and BHyve presentation

2014-02-24 Thread Craig Rodrigues
On Mon, Feb 24, 2014 at 1:04 AM, Craig Rodrigues rodr...@freebsd.orgwrote: Hi, I will be giving a talk discussing what I have done settings up Jenkins ( https://jenkins.freebsd.org ) in the FreeBSD cluster, using BHyve VM's: The presentation will be on March 13 in Mountain View, California

Problem with ZFS userboot changes r262331 and VM with mixed partitions

2014-03-04 Thread Craig Rodrigues
Hi, I encountered problems with the new changes to userboot to boot ZFS. About a month ago, I created a FreeBSD 10 VM with the following layout: = 34 419430333 md0 GPT (200G) 341281 freebsd-boot (64K) 16220971522 freebsd-ufs (1.0G) 2097314

Re: Problem with ZFS userboot changes r262331 and VM with mixed partitions

2014-03-04 Thread Craig Rodrigues
On Tue, Mar 4, 2014 at 2:24 PM, Peter Grehan gre...@freebsd.org wrote: Hi Craig, ZFS: i/o error - all block copies unavailable I don't fully understand all this logic. Is there a bug that can be fixed here? Yes - a flag needs to be passed to userboot to tell it to ignore ZFS

Re: bhyve + OpenStack

2014-03-08 Thread Craig Rodrigues
On Sat, Mar 8, 2014 at 6:42 PM, Marc Fournier scra...@hub.org wrote: Has anyone started lookign into this? FreeBSD + bhyve would, Semihalf is doing work Openstack in FreeBSD. See:

Re: March 13: Jenkins and BHyve presentation

2014-03-14 Thread Craig Rodrigues
On March 13, 2014, I gave a talk at the Bay Area FreeBSD User Group on the current state of Jenkins and BHyve work in the FreeBSD cluster. The slides are now online: https://wiki.freebsd.org/Jenkins#Presentations_and_Working_Groups -- Craig ___

Re: Problem with ZFS userboot changes r262331 and VM with mixed partitions

2014-03-15 Thread Craig Rodrigues
On Wed, Mar 5, 2014 at 7:22 AM, Kurt Lidl l...@pix.net wrote: I ran into this same problem a couple of weeks ago when I first played with the ZFS boot support in userboot.so. The following set of operations on the hypervisor can be used to add bootable support to your zfs installation. (I

Re: March 13: Jenkins and BHyve presentation

2014-03-19 Thread Craig Rodrigues
On Mon, Feb 24, 2014 at 1:04 AM, Craig Rodrigues rodr...@freebsd.org wrote: The presentation will be on March 13 in Mountain View, California, U.S.A.: http://www.meetup.com/BAFUG-Bay-Area-FreeBSD-User-Group/events/167325932/ Thanks to Annie Zhang and the rest of the iXsystems marketing

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

Re: Google Summer of Code 2014 question

2014-03-20 Thread Craig Rodrigues
On Thu, Mar 20, 2014 at 2:38 PM, Wojciech A. Koszek wkos...@freebsd.org wrote: DSL isn't a must here, I agree, but you'll be limited in testing otherwise. Unless some technology already has what I want, I suggested getting this functionality: vm0.cmd(ifconfig .);

Re: Scripts for booting FreeBSD images from the install ISO for use in Jenkins?

2014-03-20 Thread Craig Rodrigues
On Tue, Mar 18, 2014 at 2:26 AM, Rainer Duffner rai...@ultra-secure.de wrote: Am Mon, 17 Mar 2014 19:30:01 -0700 schrieb Craig Rodrigues rodr...@freebsd.org: Hi, For the BSD DevSummit in May, one of the items on our agenda: https://wiki.freebsd.org/201405DevSummit/Jenkins is to talk

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

Enabling bhyve support in devel/libvirt port

2014-06-09 Thread Craig Rodrigues
Hi, For anyone interested in playing with libvirt and bhyve, I submitted these two patches to the devel/libvirt port: - devel/libvirt: enable BHYVE by default on FreeBSD 10 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=190767 - devel/libvirt: configure checks for bhyve are broken

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

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

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:

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:

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

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

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

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

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

vhd file from snapshots: VBOX_E_OBJECT_NOT_FOUND

2014-07-29 Thread Craig Rodrigues
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/20140714/ Under MacOS X, I uncompressed the .vhd.xz file. I used VirtualBox, and created a VM. When I tried to attach the .vhd file to this VM,

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

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

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

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

  1   2   >