Re: Issues with bhyve under KVM

2015-10-22 Thread Cory Smelosky
On 2015-10-22 22:38, Peter Grehan wrote: Hi Cory, Probably just not that bit. You might want to try the this patch which comments out that test, and see if it gets you any further. https://people.freebsd.org/~grehan/patches/vmx_ins.diff --- all_subdir_vmm --- /usr/src/sys/modules/vmm/..

Re: Issues with bhyve under KVM

2015-10-22 Thread Peter Grehan
Hi Cory, Probably just not that bit. You might want to try the this patch which comments out that test, and see if it gets you any further. https://people.freebsd.org/~grehan/patches/vmx_ins.diff --- all_subdir_vmm --- /usr/src/sys/modules/vmm/../../amd64/vmm/intel/vmx.c:535:11: error: u

Re: Issues with bhyve under KVM

2015-10-22 Thread Cory Smelosky
On 2015-10-22 22:17, Peter Grehan wrote: Hi Cory, bhyve expects that the CPU supports INS/OUTS exits. This is signalled in bit 54 of the VMX_BASIC MSR. I'll have a talk with Neel about the implications of ignoring this bit. Hmm. Does Linux KVM ignore it? It must do (as did bhyve for a l

Re: Issues with bhyve under KVM

2015-10-22 Thread Peter Grehan
Hi Cory, bhyve expects that the CPU supports INS/OUTS exits. This is signalled in bit 54 of the VMX_BASIC MSR. I'll have a talk with Neel about the implications of ignoring this bit. Hmm. Does Linux KVM ignore it? It must do (as did bhyve for a long time). (does -host not emulate all MS

Re: Issues with bhyve under KVM

2015-10-22 Thread Cory Smelosky
On 2015-10-21 23:15, Peter Grehan wrote: Hi Cory, `dmesg` prints a message saying that VT-x is "disabled by BIOS" (I passed -L and -bios pointed at OVMF just in case it was a strange SEABIOS compile option) to no change. -cpu is set to host, I have also tried passing -cpu qemu64,+vmx manuall

Re: error running grub-bhyve with -S

2015-10-22 Thread John Nielsen
On Oct 22, 2015, at 11:27 AM, Peter Grehan wrote: >> # bhyvectl —vm=vm0 --destroy >> # grub-bhyve -m /images/vm0-device.map -M 1024 -r hd1 -S vm0 >> Could not setup memory for VM >> Error in initializing VM > > The -S option will force allocation of guest memory (required by passthru). > Is the

Re: error running grub-bhyve with -S

2015-10-22 Thread Peter Grehan
# bhyvectl —vm=vm0 --destroy # grub-bhyve -m /images/vm0-device.map -M 1024 -r hd1 -S vm0 Could not setup memory for VM Error in initializing VM The -S option will force allocation of guest memory (required by passthru). Is there 1G of free mem available on the machine when grub-bhyve was run

error running grub-bhyve with -S

2015-10-22 Thread John Nielsen
I’m running bhyve on an Intel machine running FreeBSD 11-CURRENT, updated a few days ago. I have a Debian 8.2 VM that has been running fine but now I’d like to add a PCI pass-through device. Unfortunately, when I add the required “-S” flag to my grub-bhyve command line it doesn’t work: # bhyvec

[Bug 203884] bhyve exits with assert when vcpu already in use

2015-10-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203884 Garrett Cooper,425-314-3911 changed: What|Removed |Added Status|New |In Progress -- You

[Bug 203884] bhyve exits with assert when vcpu already in use

2015-10-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203884 --- Comment #6 from commit-h...@freebsd.org --- A commit references this bug: Author: ngie Date: Thu Oct 22 08:37:11 UTC 2015 New revision: 289746 URL: https://svnweb.freebsd.org/changeset/base/289746 Log: Exit with a user-friendly messa

Loader tunables for virtio

2015-10-22 Thread Mamontov Roman
Hello. I try to change some tunables for vtnet Ethernet driver and set variable: *hw.vtnet.csum**_* *disable=1**hw.vtnet.tso**_* *disable=1**hw.vtnet.lro**_* *disable=1**hw.vtnet.mq **_* *disable=1* in /boot/loader.conf file. After reboot I try to read value from sysctl command