Re: question on Bhyve

2011-09-27 Thread Neel Natu
Hi Julian, On Mon, Sep 26, 2011 at 11:10 PM, Julian Elischer wrote: > does anyone know what is needed for a hypervisor to support PCI pass > through? > I can speak about the bhyve implementation of pci passthru but I suspect that other hypervisors do it similarly. BHyVe requires that the platfor

Re: Howto close BHyVe console

2012-04-03 Thread Neel Natu
Hi Takuya, On Tue, Apr 3, 2012 at 3:39 AM, Takuya ASADA wrote: > Hi, > > Just for a little question, > I could run BHyVe on my PC with neel's guest image by following CFT > page(http://callfortesting.org/bhyve/), it just worked without > problem, but I couldn't shutdown guest OS safely. > shutdow

Re: Bhyve - Host kernel panic after running 'kldload vmm'

2012-07-17 Thread Neel Natu
Hi, On Tue, Jul 17, 2012 at 9:12 PM, s vas wrote: > Hi > I have a kernel panic when loading bhyve hypervisor kernel module. > These are the steps I followed > 1. First I installed Freebsd 9 on my machine which has Intel-x86_64 and 8Gb > Ram > 2. The following output from dmesg.boot confirm that

Re: Bhyve - Host kernel panic after running 'kldload vmm'

2012-07-24 Thread Neel Natu
ror as of > now. > Also fixed in the projects/bhyve now: http://svnweb.freebsd.org/base?view=revision&revision=238758 best Neel > Thanks > > > On Tue, Jul 17, 2012 at 10:07 PM, Neel Natu wrote: >> >> Hi, >> >> On Tue, Jul 17, 2012 at 9:12 PM, s vas

Re: Bhyve: panic: "Unregistered use of FPU in kernel" when starting guest

2012-10-04 Thread Neel Natu
Hi svas, On Thu, Oct 4, 2012 at 5:58 PM, sree.openwrk wrote: > Hi > I am seeing frequent kernel panic when I try to run the guest OS. I have the > latest Freebsd (I compiled the latest code from > svn://svn.freebsd.org/base/projects/bhyve and installed it in my machine). > While trying to run the

Re: Bhyve: panic: "Unregistered use of FPU in kernel" when starting guest

2012-10-25 Thread Neel Natu
arrow down the problem. > Will update you, if I am able to narrow down the problem. > > Thanks > > > On Thu, Oct 4, 2012 at 9:07 PM, Neel Natu wrote: >> >> Hi svas, >> >> On Thu, Oct 4, 2012 at 5:58 PM, sree.openwrk >> wrote: >> > Hi >&

Re: Bhyve: panic: "Unregistered use of FPU in kernel" when starting guest

2012-11-26 Thread Neel Natu
aside for the host. Can you reboot without the "hw.physmem" setting and see if you can still reproduce the problem? best Neel > Thanks > > > > > On Thu, Oct 25, 2012 at 8:16 PM, Neel Natu wrote: >> >> Hi svas, >> >> I just submitted a fix for thi

Re: getting involved in bhyve projecct

2013-01-03 Thread Neel Natu
Hi Harsh, On Thu, Jan 3, 2013 at 4:41 AM, Harsh Bhatt wrote: > I am very much interested and eager to get involved in bhyve project. I want > to start with doing up something small initially. My strong parts are C and > OS. So can someone suggest me what should i do and how i can get involved.

Re: problems about bhyve

2013-01-21 Thread Neel Natu
Hi Jesse, On Mon, Jan 21, 2013 at 3:11 AM, Jesse wrote: > First, I have to load vmm manually. If I write vmm_load="YES" into > /boot/loader.conf and restart the computer, then run ./vmrun.sh vm0, the > whole computer is dead, no keyboard, mouse response. And there is no > response when I press th

Re: problems about bhyve

2013-01-21 Thread Neel Natu
/pipermail/freebsd-current/2013-January/039197.html best Neel > > On Mon, Jan 21, 2013 at 10:28 PM, Neel Natu wrote: >> >> Hi Jesse, >> >> On Mon, Jan 21, 2013 at 3:11 AM, Jesse wrote: >> > First, I have to load vmm manually. If I write vmm_load="Y

Re: bhyve hangs on going multi user

2013-02-06 Thread Neel Natu
Hi Sevan, At the risk of stating the obvious: > pid 17 (stty), uid 0: exited on signal 4 > Illegal instruction > pid 19 (ps), uid 0: exited on signal 4 > Illegal instruction The userland processes launched by /etc/rc are getting a SIGILL but it is not clear why. Could you do some experiments on

Re: bhyve hangs on going multi user

2013-02-07 Thread Neel Natu
Hi Sevan, On Thu, Feb 7, 2013 at 7:12 AM, Sevan / Venture37 wrote: > On 7 Feb 2013, at 12:40 PM, Sevan / Venture37 wrote: > >> Will try building a new world with without a make.conf & use that as the >> basis for a new VM & see if that makes a difference. > > It did, will follow up later with i

Re: vtnet cannot allocate interrupts

2013-02-11 Thread Neel Natu
Hi Marat, On Mon, Feb 11, 2013 at 10:56 AM, Marat Bakeev wrote: > 11.02.2013 22:34, Bryan Venteicher пишет: > >> Recent bhyve changed to use MSIX instead of MSI. I wonder if that >> is causing this. If you do: >> >> $ BHYVE_USE_MSI=true bhyve ... >> >> does it work? >> > > No, it won`t work, but

Re: vtnet cannot allocate interrupts

2013-02-12 Thread Neel Natu
Hi Marat, On Tue, Feb 12, 2013 at 1:35 AM, Marat Bakeev wrote: > On 12/02/2013 05:21, Neel Natu wrote: >> Hi Marat, >> >> On Mon, Feb 11, 2013 at 10:56 AM, Marat Bakeev wrote: >>> 11.02.2013 22:34, Bryan Venteicher пишет: >>> >>>> Recent bh

Re: vtnet cannot allocate interrupts

2013-02-13 Thread Neel Natu
Hi Marat, On Tue, Feb 12, 2013 at 11:44 PM, Marat Bakeev wrote: > On 13/02/2013 07:34, Neel Natu wrote: >> 'bridge0' needs to be 'up'. Try doing 'ifconfig bridge0 up' and that >> should get the packets flowing to the guest. >> >> best >

Re: vtnet cannot allocate interrupts

2013-02-15 Thread Neel Natu
Hi Marat, On Thu, Feb 14, 2013 at 1:03 AM, Marat Bakeev wrote: > On 14/02/2013 06:20, Neel Natu wrote: >> You'll need to set 'hw.pci.honor_msi_blacklist' to '0' at the loader >> prompt or in /boot/loader.conf. > Great! This fixes the 9.1-release guest!

bhyve: simplify memory assignment to VMs

2013-03-11 Thread Neel Natu
Hi, I am going to commit a change soon that simplifies how memory is assigned to a VM from a command line perspective. At the moment if you want to create a VM with say 8GB of memory you need to express this as "-m 2048 -M 6144" or "-m 1024 -M 7168" or some split that adds up to 8192MB. This is v

Re: bhyve in -current 4/14/13 can no longer support FreeBSD stable install

2013-03-15 Thread Neel Natu
Hi Alfred, On Fri, Mar 15, 2013 at 9:48 AM, Alfred Perlstein wrote: > Hey guys, > > I've been trying to get bhyve to install FreeBSD-stable for the past day on > a -current machine: > > FreeBSD dan 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r248291: Fri Mar 15 > 00:58:03 PDT 2013 root@dan:/usr/obj/

Re: bhyve in -current 4/14/13 can no longer support FreeBSD stable install

2013-03-15 Thread Neel Natu
Hi Alfred, On Fri, Mar 15, 2013 at 11:21 PM, Alfred Perlstein wrote: > On 3/15/13 8:03 PM, Neel Natu wrote: >> >> Hi Alfred, >> >> On Fri, Mar 15, 2013 at 9:48 AM, Alfred Perlstein wrote: >>> >>> Hey guys, >>> >>> I've been t

Re: bhyve: simplify memory assignment to VMs

2013-03-18 Thread Neel Natu
Hi, On Mon, Mar 11, 2013 at 11:08 AM, Neel Natu wrote: > Hi, > > I am going to commit a change soon that simplifies how memory is > assigned to a VM from a command line perspective. > > At the moment if you want to create a VM with say 8GB of memory you > need to express thi

Re: suspend/resume on BHyVe

2013-03-25 Thread Neel Natu
Hi Lori, On Mon, Mar 25, 2013 at 11:53 AM, Iori YONEJI wrote: > Hello. > > I'm thinking of adding suspend/resume features on BHyVe. > Fantastic! > For this, I think those below must be implemented. > > - virtual machine state command interface > - saving registers per CPU > - dumping phys

Re: bhyve tty / login problems / panic

2013-03-29 Thread Neel Natu
Hi Dan, On Fri, Mar 29, 2013 at 12:38 PM, Dan Mack wrote: > > I ran the procsystime dtrace script on bhyve when it was chewing up all > the CPU in vCPU=2 mode, and this is what I see for about 10s of runtime: > > root@olive:/usr/share/dtrace/**toolkit # ./procsystime -n bhyve -aT > Tracing... Hi

Re: bhyve tty / login problems / panic

2013-03-30 Thread Neel Natu
I have fixed that in r248935: http://svnweb.freebsd.org/base?view=revision&revision=248935 Do you mind updating your vmm.ko with the change and getting the stats again? best Neel > Dan > > > > On Fri, 29 Mar 2013, Neel Natu wrote: > > Hi Dan, >> >> On Fri,

Re: bhyve tty / login problems / panic

2013-03-30 Thread Neel Natu
2: 2 ports with 2 removable, self powered > Root mount waiting for: usbus3 usbus1 > ugen1.2: at usbus1 > uhub4: on > usbus1 > ugen3.2: at usbus3 > uhub5: on > usbus3 > Root mount waiting for: usbus3 usbus1 > uhub4: 6 ports with 6 removable, self powered > uhub5: 8 port

Re: two more small improvements

2013-04-11 Thread Neel Natu
Hi Chris, Thanks for the patches. Committed as: http://svnweb.freebsd.org/base?view=revision&revision=249396 http://svnweb.freebsd.org/base?view=revision&revision=249351 best Neel On Fri, Apr 5, 2013 at 6:27 PM, Chris Torek wrote: > When I first went to run bhyve on one hardware box I had th

Re: FW: AMD and BHyve?

2013-04-14 Thread Neel Natu
Hi Craig, On Sun, Apr 14, 2013 at 5:03 PM, Craig Rodrigues wrote: > On Sat, Apr 13, 2013 at 2:43 PM, Anish wrote: > > > Hi Craig, > > > > >AMD Features=0xea500800 > > AMD Features2=0x11f > > > > Yes, the AMD processor you have support AMD-V or SVM and I got BHyVe > > working on AMD processors

Re: direct descriptor support for virtio block device

2013-04-23 Thread Neel Natu
Hi Tycho, On Fri, Apr 19, 2013 at 8:46 AM, Tycho Nightingale < tycho.nighting...@pluribusnetworks.com> wrote: > > The current virtio block device advertises support for the indirect > descriptors feature yet is unable to cope if the guest elects not to use > them. Attached is a patch for direct

Re: bhyveload "vm_create: Device not configured"

2013-04-30 Thread Neel Natu
Hi Lars, On Tue, Apr 30, 2013 at 2:06 AM, Eggert, Lars wrote: > Hi, > > On Apr 30, 2013, at 9:38, "Eggert, Lars" wrote: > > I'm starting to play around with bhyve, and I'm trying to byhveload a > disk image that I otherwise use to netboot some headless servers. When I > tried that, I get: > > >

Re: headerless guest under bhyve

2013-06-24 Thread Neel Natu
Hi Aryeh, On Mon, Jun 24, 2013 at 3:54 PM, Aryeh Friedman wrote: > How do I make it so I do not need to allocate a xterm to being the > console for a bhyve guest? (so far I have not been able to make it so > I can break the connection to the console and the guest doesn't crash) > > Yeah, this is

Re: bhyve guest dies on building java/openjdk6

2013-06-24 Thread Neel Natu
Hi Aryeh, On Mon, Jun 24, 2013 at 4:25 PM, Aryeh Friedman wrote: > > As soon as java/openjdk6 starts its build process (fdesc and procfs > both are present as per pkg-message) bhyve dies with: > > vm exit[0] > reason VMX > rip

Re: bhyve hangs on init on recent 10-CURRENT

2013-06-24 Thread Neel Natu
Hi Dan, On Sun, Jun 23, 2013 at 7:02 AM, Dan Mack wrote: > Is this just me? When I start a new bhyve instance, it hangs on /sbin/init. > top shows bhyve consuming about 1 host core of CPU. This is on a real > recent current. > I don't see it on my system with this: FreeBSD 10.0-CURRENT (G

CFT: nested page table integration with amd64/pmap

2013-08-22 Thread Neel Natu
Hi, The projects/bhyve_npt_pmap branch modifies the amd64/pmap to be able to deal with Intel EPT mappings in addition to the regular x86 page tables. This provides bhyve with the following features: 1. Memory overcommit Guest memory is now pageable and therefore virtual machines can allocate mor

Re: 10-CURRENT code freezes and bhyve

2013-08-26 Thread Neel Natu
Hi Aryeh, On Mon, Aug 26, 2013 at 12:14 AM, Aryeh Friedman wrote: > What is the schedule, functionality goal and such for bhyve in regards to > the 10-CURRENT code freeze coming up (according to the rel_eng page) on > 9/17 > - AMD/SVM support (ready to go) - integrate bhyve nested page tables wi

Re: bhyve vmrum vm_setup_memory: Inappropriate ioctl for device

2013-09-26 Thread Neel Natu
Hi Miguel, On Thu, Sep 26, 2013 at 6:59 PM, Miguel Clara wrote: > Just wanted to start testing with bhyve, but I'm getting this error > creating an exmaple VM: > > > > # ./vmrun.sh -c 1 vm1 > virtio disk device file "./diskdev" does not exist. > Creating it ... > Launching virtual machine "vm1" .

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

2013-09-30 Thread Neel Natu
Hi Aryeh, The "-d" option was meant to specify the disk or the ISO file image so I am not surprised that it doesn't work with /dev/cd0. Is there any reason that you cannot use an ISO image file to boot the guest? best Neel On Mon, Sep 30, 2013 at 3:16 PM, Aryeh Friedman wrote: > With the foill

Re: Use humanize_number() inside bhyveload?

2013-10-08 Thread Neel Natu
Hi Craig, On Sun, Oct 6, 2013 at 11:31 PM, Craig Rodrigues wrote: > On Fri, Oct 4, 2013 at 1:40 PM, Peter Grehan wrote: > > > Hi Craig, > > > > > > Can we use expand_number() in bhyve_load? > >> > > > > Please commit this change :) > > > > later, > > > > Peter. > > > > > Here is a bigger patch

Re: [PATCH] Tidy usage messages for bhyve and bhyveload

2013-10-23 Thread Neel Natu
Hi John, Thanks for the patch - submitted as r257018. best Neel On Wed, Oct 23, 2013 at 7:36 AM, John Baldwin wrote: > These are just some cosmetic nits to the usage messages for bhyve and > bhyveload so that they are more consistent with other tools in the base > system (spaces between option

Re: Bhyve virtio-net on Linux guest

2013-11-11 Thread Neel Natu
Hi, > On Nov 7, 2013, at 4:21 AM, Tetsuya Mukawa wrote: > > Hi folks, > > I want to run a Linux guest on Bhyve. > It seems very recently Bhyve supports a linux guest, so I am a bit worry > about I can use a virtio-net. > Someone, could you please let me know is it possible to use a virtio-net o

Re: [PATCH] Additional lapic support for bhyve

2013-12-10 Thread Neel Natu
Hi John, On Tue, Dec 10, 2013 at 12:27 PM, John Baldwin wrote: > This patch extends the local APIC emulation a bit by adding the following > things: > - Add an ioctl and a bhyvectl command to trigger local interrupts on a > local APIC. The "fixed" and "NMI" delivery modes are enabled. > - Add

Re: [PATCH] Additional lapic support for bhyve

2013-12-11 Thread Neel Natu
Hi John, On Wed, Dec 11, 2013 at 9:38 AM, John Baldwin wrote: > On Wednesday, December 11, 2013 2:19:14 am Neel Natu wrote: >> Hi John, >> >> On Tue, Dec 10, 2013 at 12:27 PM, John Baldwin wrote: >> > This patch extends the local APIC emulation a bit by ad

Re: Panic starting a bhyve guest after resume

2013-12-12 Thread Neel Natu
Hi John, On Thu, Dec 12, 2013 at 12:11 PM, John Baldwin wrote: > If I suspend and resume my laptop and then try to start a guest after the > resume, I get an odd panic. It generates a privileged instruction fault (in > kernel mode) for 'vmclear'. I've checked CR4 and it claims that VMXE is set.

Re: 11.0-CURRENT panic while running a bhyve instance

2013-12-13 Thread Neel Natu
Hi Markiyan, On Fri, Dec 13, 2013 at 2:35 PM, Markiyan Kushnir wrote: > 2013/12/13 John Baldwin : >> On Friday, December 13, 2013 5:46:20 am Markiyan Kushnir wrote: >>> Forgot to fill the Subject: header, re-posting it fixed. >> >> The mailing lists strips attachments, can you post it at a URL? >

Re: Panic starting a bhyve guest after resume

2013-12-13 Thread Neel Natu
Hi John, On Fri, Dec 13, 2013 at 2:09 PM, John Baldwin wrote: > On Thursday, December 12, 2013 4:00:08 pm Neel Natu wrote: >> Hi John, >> >> On Thu, Dec 12, 2013 at 12:11 PM, John Baldwin wrote: >> > If I suspend and resume my laptop and then try to start a guest a

Re: 11.0-CURRENT panic while running a bhyve instance

2013-12-14 Thread Neel Natu
Hi Markiyan, On Sat, Dec 14, 2013 at 6:00 AM, Markiyan Kushnir wrote: > 2013/12/14 Markiyan Kushnir : >> 2013/12/14 Markiyan Kushnir : >>> 2013/12/14 Neel Natu : >>>> Hi Markiyan, >>>> >>>> On Fri, Dec 13, 2013 at 2:35 PM, Markiyan Kushnir

Re: break to debugger in bhyve

2013-12-16 Thread Neel Natu
Hi Michael, On Sun, Dec 15, 2013 at 9:00 PM, Michael Berman wrote: > > Unfortunately, this does not seem to work with the bhyve /dev/console device. > Works fine for me once I compile with the ALT_BREAK_TO_DEBUGGER config option. root@b2:~ # sysctl -a kern.conftxt | grep ALT_BREAK_TO_DEBUGGER o

Re: Panic starting a bhyve guest after resume

2013-12-23 Thread Neel Natu
Hi John, On Fri, Dec 20, 2013 at 2:23 PM, John Baldwin wrote: > On Friday, December 13, 2013 9:28:29 pm Neel Natu wrote: >> Hi John, >> >> On Fri, Dec 13, 2013 at 2:09 PM, John Baldwin wrote: >> > On Thursday, December 12, 2013 4:00:08 pm Neel Natu wrote: >>

Re: 11.0-CURRENT panic while running a bhyve instance

2013-12-23 Thread Neel Natu
Hi Markiyan, Fixed in r259737: http://svnweb.freebsd.org/changeset/base/259737 best Neel On Fri, Dec 13, 2013 at 2:35 PM, Markiyan Kushnir wrote: > 2013/12/13 John Baldwin : >> On Friday, December 13, 2013 5:46:20 am Markiyan Kushnir wrote: >>> Forgot to fill the Subject: header, re-posting it

Re: [PATCH] Support for S5 (soft power off) in bhyve

2013-12-23 Thread Neel Natu
Hi John, This looks good - thanks for adding this support! I noticed that the RESET_REGISTER is not being advertised in the FACP flags field. So, perhaps the access to 0xCF9 that you saw during testing was triggered by cpu_reset_real() as opposed to AcpiReset()? best Neel On Mon, Dec 23, 2013 a

Re: [PATCH] Support for S5 (soft power off) in bhyve

2013-12-27 Thread Neel Natu
Hi John, On Fri, Dec 27, 2013 at 8:46 AM, John Baldwin wrote: > On Thursday, December 26, 2013 11:37:47 am John Baldwin wrote: >> On Wednesday, December 25, 2013 10:43:27 am Michael Dexter wrote: >> > >> > John, >> > >> > This is awesome. >> > >> > Can this be triggered from the host to shut dow

Re: [PATCH] Rework DSDT generation in bhyve

2013-12-27 Thread Neel Natu
Hi John, On Fri, Dec 27, 2013 at 9:05 AM, John Baldwin wrote: > While hacking on the power button support, I also started rototilling the DSDT > generation code a bit. My initial goal was to enumerate the LPC serial ports > (COM1 and COM2) properly via ACPI. I ended up doing the following: > >

Re: [PATCH] Rework DSDT generation in bhyve

2013-12-28 Thread Neel Natu
Hi John, On Fri, Dec 27, 2013 at 9:05 AM, John Baldwin wrote: > While hacking on the power button support, I also started rototilling the DSDT > generation code a bit. My initial goal was to enumerate the LPC serial ports > (COM1 and COM2) properly via ACPI. I ended up doing the following: > >

Re: kldload vmm partial lockup

2014-01-19 Thread Neel Natu
Hi Joe, On Sun, Jan 19, 2014 at 2:21 PM, Joe Maloney wrote: > I’ve been trying to get bhyve to work on a system with the following specs: > > FreeBSD 10.0 64 bit > ASUS P6T Deluxe > Intel i7 920 > > According to what I’ve researched my cpu should have the VT-D extensions. > However many users o

Re: bhyve: can't to passthru bge(4) card

2014-01-20 Thread Neel Natu
Hi Sergey, On Mon, Jan 20, 2014 at 11:43 AM, Sergey Matveychuk wrote: > Hi. > > I try to passthru bge: > % pciconf -vl > ... > ppt0@pci0:3:0:1:class=0x02 card=0x169d103c chip=0x165714e4 > rev=0x01 hdr=0x00 > vendor = 'Broadcom Corporation' > device = 'NetXtreme BCM5719

Re: bhyve: can't to passthru bge(4) card

2014-01-21 Thread Neel Natu
Hi Sergey, > On Jan 21, 2014, at 1:27 AM, Sergey Matveychuk wrote: > > 21.01.2014 8:56, Neel Natu пишет: >> I suspect that this is because the function number of the virtual PCI >> device and the physical PCI device are different. >> >> Could you try to

Re: kldload vmm partial lockup

2014-01-21 Thread Neel Natu
sr/src/sys/GENERIC > *** Error code 1 > > Stop. > make[1]: stopped in /usr/src > *** Error code 1 > > Stop. > make: stopped in /usr/src > root@jmhome-pc:/usr/src # > > On Jan 19, 2014, at 8:43 PM, Neel Natu wrote: > > Hi Joe, > > On Sun, Jan 19, 2014 at

Re: bhyve and legacy

2014-01-22 Thread Neel Natu
Hi John, On Wed, Jan 22, 2014 at 2:15 PM, John Baldwin wrote: > Is there any interest in supporting more "legacy" setups via bhyve? In > particular, I'd like to take a whack at improving the PCI INTx support, but > that can involve several things such as possibly implementing 8259A support > and

Re: Linux on BHyVe in 10.0-RELEASE

2014-01-23 Thread Neel Natu
Hi Jonas, On Thu, Jan 23, 2014 at 8:00 AM, Jonas Bülow wrote: > I will describe the steps when I manage to reproduce the installation. > Right now I get stuck with undestroyable vm instances: > > root@bulow:/mnt/bhyve-script # ls /dev/vmm/ > > lin0 > > root@bulow:/mnt/bhyve-script # bhyvectl --de

Re: Linux on BHyVe in 10.0-RELEASE

2014-01-23 Thread Neel Natu
I can debug this locally based on your steps. best Neel > /j > >> 23 jan 2014 kl. 18:07 skrev Neel Natu : >> >> Hi Jonas, >> >>> On Thu, Jan 23, 2014 at 8:00 AM, Jonas Bülow wrote: >>> I will describe the steps when I manage to reproduce the install

Re: Linux on BHyVe in 10.0-RELEASE

2014-01-23 Thread Neel Natu
Hi Jonas, On Thu, Jan 23, 2014 at 1:02 PM, Jonas Bülow wrote: > I had one working ubuntu13.10 vm instance but I'm unable to reproduce it. > When I try to start the vm I get: > > /usr/sbin/bhyve -c 1 -m 2048 -A -I -H -s 0,hostbridge -s > 2,virtio-blk,./vm/vm1/vm1.img -s 3,virtio-net,tap1 -s > 4,ah

Re: BHyVe - ESXi comparison

2014-01-28 Thread Neel Natu
Hi Andrea, On Tue, Jan 28, 2014 at 3:18 AM, Andrea Brancatelli wrote: > Hello everybody. > > We did a very rough comparison betweend BHyVe and VMWare ESXi. Maybe you > want to give it a read and let me know if I did write a bunch of sh!t :-) > Looks good to me :-) > http://andrea.brancatelli.it

Re: Enable bvmconsole and bvmdebug on i386?

2014-02-07 Thread Neel Natu
Hi John, On Fri, Feb 7, 2014 at 8:38 AM, John Baldwin wrote: > I was able to test bvmconsole and bvmdebug on an i386 guest today. The only > change required was to copy the entries from files.amd64 to files.i386. Are > there any objections to committing that? > None at all. best Neel > -- >

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

2014-02-09 Thread Neel Natu
Hi Craig, On Sun, Feb 9, 2014 at 1:11 PM, Craig Rodrigues wrote: > 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 >

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

2014-02-09 Thread Neel Natu
Hi Craig, On Sun, Feb 9, 2014 at 2:18 PM, Craig Rodrigues wrote: > On Sun, Feb 9, 2014 at 1:32 PM, Aryeh Friedman > wrote: > >> >> >> >> On Sun, Feb 9, 2014 at 4:11 PM, Craig Rodrigues wrote: >> >>> Hi, >>> >>> I posted some rc.d scripts that I am using to boot a BHyve VM >>> and send the output

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

2014-02-09 Thread Neel Natu
Hi Aryeh, On Sun, Feb 9, 2014 at 2:34 PM, Aryeh Friedman wrote: > On Sun, Feb 9, 2014 at 5:18 PM, Craig Rodrigues wrote: > >> >> >> >> On Sun, Feb 9, 2014 at 1:32 PM, Aryeh Friedman >> wrote: >> >>> >>> >>> >>> On Sun, Feb 9, 2014 at 4:11 PM, Craig Rodrigues wrote: >>> Hi, I post

Re: Networking issues

2014-02-09 Thread Neel Natu
Hi Sebastian, On Fri, Feb 7, 2014 at 12:03 PM, wrote: > Hello virtualization-lovers, > > I am very dedicated to FreeBSD since 7.2 and welcome the new bhyve > hypervisor. :) > > So I set everything up, launched the guest and set up the network. The > problem now is, I can reach the host IP, but n

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

2014-02-11 Thread Neel Natu
Hi Craig, > On Feb 11, 2014, at 2:29 PM, Craig Rodrigues wrote: > >> On Tue, Feb 11, 2014 at 11:11 AM, John Baldwin wrote: >> >>> On Sunday, February 09, 2014 7:03:41 pm Neel Natu wrote: >>> Hi Craig, >>> >>> On Sun, Feb 9, 2014 at 1:1

Re: Bhyve segfaults when accessing the network

2014-02-24 Thread Neel Natu
Hi Paul, On Sun, Feb 23, 2014 at 7:57 AM, Paul Schenkeveld wrote: > Hi, > > I tried to get bhyve to run on my home server but got consistent > crashes as soon as I touch the network. > > Hardware: Supermicro X9SPV-F3610ME-O (embedded i5) with 16GB RAM > > Host kernels (+userland of the same versi

Re: bhyve core dump...

2014-02-28 Thread Neel Natu
Hi Andrea, On Thu, Feb 27, 2014 at 6:58 AM, Andrea Brancatelli wrote: > Hello guys. > > I was installing mysql56 in a freebsd10 inside freebsd 10 and while doing > the install the machine bombed out. In the console this is what I got: > > Assertion failed: (aior != NULL), function ahci_handle_dma

Re: Clock in bhyve

2014-03-15 Thread Neel Natu
Hi Andrea, On Sat, Mar 15, 2014 at 11:14 AM, Andrea Brancatelli wrote: > > > Hello everybody. > > I have a stupid question for you :) > > Is the clock in bhyve virtual or just a hook the host? > > I mean, should I run ntpd inside the VMs as I would do, let's say, with > VMWare, or is it enough to

Re: Google Summer of Code 2014 question

2014-03-20 Thread Neel Natu
Hi John, On Wed, Mar 19, 2014 at 2:36 PM, John Matty wrote: > Hello everybody, > > My name is John, and I was interested in doing Google Summer of Code for > FreeBSD this Summer. I am currently interested in writing a virtual machine > execution language. A rough draft of my proposal can be fou

Re: [PATCH] Flexible vcpu pinning configuration

2014-04-29 Thread Neel Natu
Hi Roman, On Sun, Apr 27, 2014 at 3:45 AM, Roman Bogorodskiy wrote: > I've created an initial version of the patch which allows more flexible > vcpu pinning configuration. > > Current schema is: > > bhyve -p N > > pins vcpu i to hostcpu N + i. > > The propsed extension is: > > bhyve -p N:M -

Re: bhyve and serial port emulation problem

2014-04-30 Thread Neel Natu
Hi Olivier, On Tue, Apr 29, 2014 at 2:12 PM, Olivier Cochard-Labbé wrote: > Hi, > > I'm using the same nanobsd image on Virtualbox and bhyve (-CURRENT r265101). > > The nanobsd image I'm using is configured for serial port as default > console: > > [root@nanobsd]~# cat /boot.config > -S38400 -h >

Re: bhyve and serial port emulation problem

2014-05-01 Thread Neel Natu
Hi Olivier, On Wed, Apr 30, 2014 at 3:28 PM, Olivier Cochard-Labbé wrote: > On Wed, Apr 30, 2014 at 7:33 PM, Neel Natu wrote: >> >> Hi Olivier, >> >> >> Can you share the command line options you pass the bhyve(8)? >> > > Hi Neel, > > su

Re: [PATCH] Flexible vcpu pinning configuration

2014-05-05 Thread Neel Natu
Hi Roman, On Thu, May 1, 2014 at 7:30 AM, Roman Bogorodskiy wrote: > Neel Natu wrote: > >> Hi Roman, >> >> On Sun, Apr 27, 2014 at 3:45 AM, Roman Bogorodskiy wrote: >> > I've created an initial version of the patch which allows more flexible >> >

Re: bhyve ahci issue

2014-05-25 Thread Neel Natu
Hi Steve, On Sat, May 24, 2014 at 6:50 PM, Steve Wills wrote: > Hi, > > A bhyve VM I run had this: > > pid 79784 (bhyve), uid 0: exited on signal 6 (core dumped) > > and the only thing on the console was this: > > ahcich0: Timeout on slot 27 port 0 > ahcich0: is cs ss r

Re: SR-IOV Patch Series 2/7: bhyve integration

2014-06-02 Thread Neel Natu
Hi Ryan, On Mon, May 26, 2014 at 6:51 PM, Ryan Stone wrote: > The bhyve work to interoperate is quite simple. PCI Passthrough > through the ppt driver works just fine with SR-IOV VFs. The three > changes are: > > - allow ppt devices to detach. This would happen if the administrator > destroyed

Re: interrupt storm on ahci

2014-06-07 Thread Neel Natu
Hi Steve, On Sat, Jun 7, 2014 at 2:28 PM, Peter Grehan wrote: > Hi Steve, > > >> I'm running a FreeBSD guest in bhyve on a FreeBSD host. Both are running >> FreeBSD CURRENT, r266947. I've gotten this message about 12 times since >> boot: >> >> interrupt storm detected on "irq268:"; throttling int

Re: jenkins bhyve vms crashing and burning after several days of use

2014-06-26 Thread Neel Natu
Hi Sean, On Thu, Jun 26, 2014 at 2:46 PM, Sean Bruno wrote: > On Thu, 2014-06-26 at 14:42 -0700, Sean Bruno wrote: >> so, we're seeing the bhyve vms running in the freebsd cluster for >> jenkins crashing and burning after a couple of days of use. >> >> vm exit[9] >> reason VMX >> rip

Re: jenkins bhyve vms crashing and burning after several days of use

2014-06-26 Thread Neel Natu
Hi Sean, On Thu, Jun 26, 2014 at 3:23 PM, Sean Bruno wrote: > On Thu, 2014-06-26 at 15:00 -0700, Neel Natu wrote: >> Hi Sean, >> >> On Thu, Jun 26, 2014 at 2:46 PM, Sean Bruno wrote: >> > On Thu, 2014-06-26 at 14:42 -0700, Sean Bruno wrote: >> >> so,

Re: jenkins bhyve vms crashing and burning after several days of use

2014-06-27 Thread Neel Natu
Hi, On Thu, Jun 26, 2014 at 3:43 PM, Neel Natu wrote: > Hi Sean, > > On Thu, Jun 26, 2014 at 3:23 PM, Sean Bruno wrote: >> On Thu, 2014-06-26 at 15:00 -0700, Neel Natu wrote: >>> Hi Sean, >>> >>> On Thu, Jun 26, 2014 at 2:46 PM, Sean Bruno wrote: >

Re: tmpfs panic

2014-07-06 Thread Neel Natu
Hi Steve, On Sun, Jul 6, 2014 at 8:46 AM, Steve Wills wrote: > I should have noted this system is running in bhyve. Also I'm told this panic > may be related to the fact that the system is running in bhyve. > > Looking at it a little more closely: > > (kgdb) list *__mtx_lock_sleep+0xb1 > 0xff

Re: Panic: 32-bit PAE enabled OS with 4GB RAM and 2 vCPUs on Bhyve

2014-07-18 Thread Neel Natu
Hi Prakhar, On Thu, Jul 17, 2014 at 11:15 AM, Prakhar Deep wrote: > Hi, > > > I am facing kernel panic when 2nd processor is executing it's reset > code while running a 32-bit OS as a VM (with PAE enabled) on ‘bhyve’ with > following parameters: > > 1. Number of vCPUs 2 or more, and > > 2.

Re: Problem with vmexit on mtrap

2014-08-12 Thread Neel Natu
Hi Martin, On Tue, Aug 12, 2014 at 2:24 AM, Martin Steegmanns wrote: > Hello list! > I modified bhyve to toggle the MTF bit on an UD2 instruction. > In a guest system, a program does: > __asm__ __volatile__( > "UD2" > "NOP" > "xor %rax,%rax" > "NOP" > "UD2" > ); > > On the fir

Re: Problem with vmexit on mtrap

2014-08-18 Thread Neel Natu
Hi Martin, On Sat, Aug 16, 2014 at 12:33 PM, Martin Steegmanns wrote: > On Tue, Aug 12, 2014 at 06:39:18PM -0700, Neel Natu wrote: >> The VM-exit instruction length field is valid only for a subset of VM >> exits. See section 27.2.4 "Information for VM exits due to instruct

Re: Directly reserve an interrupt IDT entry for Hyper-V

2014-08-20 Thread Neel Natu
Hi John, On Wed, Aug 20, 2014 at 8:31 AM, John Baldwin wrote: > On Wednesday, August 20, 2014 9:31:54 am Roger Pau Monné wrote: >> On 20/08/14 11:19, Wei Hu wrote: >> > Hello, >> > >> > Sending to Xen, drivers and virtualization mailing lists since this might > be of interest to the folks on thes

Re: ACPI Exception on shutdown

2014-09-26 Thread Neel Natu
Hi Denis, On Fri, Sep 26, 2014 at 12:25 PM, Denis Menshikov wrote: > Good day, > > faced with this problem: when I shutdown the virtual machine (FreeBSD amd64 > release-guest) power-off does not occur, a message is displayed: > > ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S5_

Re: Re[2]: ACPI Exception on shutdown

2014-09-27 Thread Neel Natu
pi0: AcpiEnterSleepStatePrep failed - AE_NOT_FOUND > > The operating system has halted. > Please press any key to reboot. > > Rebooting... > cpu_reset: Stopping other CPUs > > Best regards, Denis > P.S. Why the message "cpu_reset: Stopping other CPUs" is displayed o

Re: moving from virtualbox to bhyve

2014-10-20 Thread Neel Natu
Hi John, On Mon, Oct 20, 2014 at 10:04 AM, John wrote: > On Mon, Oct 20, 2014 at 12:31:18PM -0400, Allan Jude wrote: > >> What version of FreeBSD are you using? You might want to try the latest >> 10.1 RC (or HEAD if you are so included) instead, as they have much >> improved bhyve. > > freebsd v

Re: testing bhyve on AMD box...

2014-10-21 Thread Neel Natu
Hi, On Tue, Oct 21, 2014 at 11:50 AM, John-Mark Gurney wrote: > So, I did, and it failed... > > First, if_tap doesn't get automatically loaded.. but that was easy to > spot due to the error message... loader runs fine, but then after > hitting enter, I get the following: > /tmp/bhyve.4dv5wFK

Re: moving from virtualbox to bhyve

2014-10-21 Thread Neel Natu
Hi John, On Mon, Oct 20, 2014 at 9:59 PM, John wrote: > On Mon, Oct 20, 2014 at 05:55:13PM -0700, Neel Natu wrote: > >> It seems that you are booting the guest from the disk that was >> originally used with vbox. > > Yes, this is what I want to do, because there's

Re: HEADS UP: Merging projects/bhyve_svm to HEAD

2014-10-25 Thread Neel Natu
Hi, On Sat, Oct 25, 2014 at 3:50 PM, Zaphod Beeblebrox wrote: > I tried to integrate this patch into 10.1_RC3 and I failed. Is there a > timeframe to MFC this to 10.1 or 10-STABLE? > It will be MFCed to 10-STABLE but I don't have a specific time frame in mind. I'll guess that it'll be towards

Re: How hard is BHyVe's 16 vCPU limit, is it configurable under any circumstance?

2014-11-12 Thread Neel Natu
Hi Tinker, On Wed, Nov 12, 2014 at 2:08 PM, Tinker wrote: > On 2014-11-12 23:55, Allan Jude wrote: >> >> On 2014-11-12 16:39, ti...@openmailbox.org wrote: >>> >>> Hi! >>> >>> In order justify giving energy to BHyVe, I need to know if it's >>> "future-proof" in that the 16 vCPU limit can be increa

Re: 'repz' instruction not supported.

2014-11-21 Thread Neel Natu
Hi Ashutosh, On Wed, Nov 19, 2014 at 10:30 PM, Ashutosh Kumar wrote: > Hi > We have found that emulation of 'repz' instruction is not supported in bhyve. > This is causing VM_EXIT for Guest OS. Do we have plans to add support for > instructions like 'repz'. > 'repz' is actually an instruction

Re: 'repz' instruction not supported.

2014-11-21 Thread Neel Natu
Hi Ashutosh, On Fri, Nov 21, 2014 at 2:07 AM, Ashutosh Kumar wrote: > Yes you are right 'repz' prefixes is added to the ‘cmps’ and 'scas' > instructions. > > The actual opcode is “F3 A5” which is ‘rep movs’ (disassembly is showing > ‘repz’). > > > > Yes the guest is emitting these instructions to

Re: bhyve failure

2014-11-27 Thread Neel Natu
Hi Julian, On Thu, Nov 27, 2014 at 7:02 AM, Julian Elischer wrote: > I added WITNESS to a kernel I've been running and during boot I got this > result: > > vm exit[0] > reason VMX > rip 0x8078c1a7 > inst_length 7 > status 0

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

2014-11-29 Thread Neel Natu
Hi Nikos, On Sat, Nov 29, 2014 at 6:01 AM, Nikos Vassiliadis wrote: > > > On 11/29/14 02:05, Craig Rodrigues wrote: >> >> 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 gues

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

2014-11-29 Thread Neel Natu
Hi Nikos, On Sat, Nov 29, 2014 at 10:45 AM, Nikos Vassiliadis wrote: > > > On 11/29/14 18:38, Anish Gupta wrote: >> >> >Another thing I should mention is that "acpidump -t | grep DMAR" >> reports nothing. It is mentioned in the documentation but I didn't see >> until now. >> >> DMAR/VT-d has bee

Re: Unsupported cmd:c4 (ada0:ahcich0:0:0:0): READ_MUL. ACB: c4 00 00 00 00 40 00 00 00 00 01 00

2014-11-29 Thread Neel Natu
Hi Bjorn, On Fri, Nov 28, 2014 at 2:42 AM, Ask Bjørn Hansen wrote: > Hi everyone, > > I’ve spent some time off this week upgrading my > build-my-personal-NanoBSD-image tool from a VMware virtual machine to a > physical box running a 32-bit build-box under bhyve. > > So far so good — all that ha

Re: bhyve failure

2014-11-29 Thread Neel Natu
Hi Julian, On Fri, Nov 28, 2014 at 7:36 AM, Julian Elischer wrote: > On 11/28/14, 3:12 AM, Neel Natu wrote: >> >> Hi Julian, >> >> On Thu, Nov 27, 2014 at 7:02 AM, Julian Elischer >> wrote: >>> >>> I added WITNESS to a kernel I've been r

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

2014-11-30 Thread Neel Natu
Hi Nikos, On Sun, Nov 30, 2014 at 7:58 AM, Nikos Vassiliadis wrote: > Hi, > > On 11/30/14 02:43, Neel Natu wrote: >> >> Can you provide the output of 'pciconf -lvbc pci0:3:0:0' on the FreeBSD >> host? >> >> This is assuming pci0:3:0:0 is th

  1   2   >