Re: Running bhyve on a AMD 1075T Phenom

2013-11-28 Thread Peter Grehan

Hi Sam,


are we close to merging svm to HEAD?


 Almost there - Anish is chasing down a hard-to-find bug.

later,

Peter.

___
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: Running bhyve on a AMD 1075T Phenom

2013-11-28 Thread Sam Fourman Jr.
On Thu, Nov 28, 2013 at 9:32 AM, Gyrd Thane Lange
wrote:

> Den 27. nov. 2013 21:50, skrev Michael Dexter:
>
>  On 11/27/13 6:12 AM, Gyrd Thane Lange wrote:
>>
>>> I appears the AMD patches for the vmm module have not made it to CURRENT
>>> yet. Would it be easy to prepare a patch-set? Or give me some hints on
>>> how to do it myself?
>>>
>>
>> Correct. Did you try one of the SVM snapshots linked at bhyve.org or
>> build a bhyve-svm project branch yourself?
>>
>
> This is my main machine at home that is in continual use for everything,
> so I'm hoping to avoid changing to a different branch. But I can briefly
> try dual booting with a spare disk containing the project branch to find
> out if my machine supports bhyve at all.
>
> To clarify: I'm already aware of the bhyve-svm project branch, but rather
> than run the full branch I'm hoping for some insight into which commits (in
> the branch) are essential in running bhyve on AMD.
>
> Gyrd ^_^
>
>
For what it is worth, I have many AMD cpu's and I am waiting to do more
testing when amd-svm hits the HEAD branch... I test so many patches, that
running a separate project branch is complex.

are we close to merging svm to HEAD?
-- 

Sam Fourman Jr.
___
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: Running bhyve on a AMD 1075T Phenom

2013-11-28 Thread Gyrd Thane Lange

Den 27. nov. 2013 21:50, skrev Michael Dexter:

On 11/27/13 6:12 AM, Gyrd Thane Lange wrote:

I appears the AMD patches for the vmm module have not made it to CURRENT
yet. Would it be easy to prepare a patch-set? Or give me some hints on
how to do it myself?


Correct. Did you try one of the SVM snapshots linked at bhyve.org or
build a bhyve-svm project branch yourself?


This is my main machine at home that is in continual use for everything, 
so I'm hoping to avoid changing to a different branch. But I can briefly 
try dual booting with a spare disk containing the project branch to find 
out if my machine supports bhyve at all.


To clarify: I'm already aware of the bhyve-svm project branch, but 
rather than run the full branch I'm hoping for some insight into which 
commits (in the branch) are essential in running bhyve on AMD.


Gyrd ^_^



Michael
___
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"



___
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: Running bhyve on a AMD 1075T Phenom

2013-11-27 Thread Michael Dexter
On 11/27/13 6:12 AM, Gyrd Thane Lange wrote:
> I appears the AMD patches for the vmm module have not made it to CURRENT
> yet. Would it be easy to prepare a patch-set? Or give me some hints on
> how to do it myself?

Correct. Did you try one of the SVM snapshots linked at bhyve.org or
build a bhyve-svm project branch yourself?

Michael
___
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: Running bhyve on a AMD 1075T Phenom

2013-11-27 Thread Gyrd Thane Lange

Den 15. okt. 2013 09:37, skrev Willem Jan Withagen:

On 2013-10-15 1:51, Peter Grehan wrote:

Hi Craig,


There was a lot of non-trivial stuff done in the amd64 pmap code and the
BHyve intel module
for bhyve_npt_pmap, and these changes have not been made for the amd svm
code.


Right, I looked at it, and decided it was way easier to just run the svm
tree


  Yes, that's right.


Does anyone have patches for the svm code?


  Not yet - Anish is working on it.


looking forward to test.


Hi, I too would like to test. I have an AMD FX-8150 and am running 
11-CURRENT.


FreeBSD 11.0-CURRENT #0 r258495: Sat Nov 23 15:25:54 CET 2013
r...@onyx.thanelange.no:/usr/src/sys/ONYX amd64
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
CPU: AMD FX(tm)-8150 Eight-Core Processor (3624.28-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x600f12  Family = 0x15  Model = 0x1 
Stepping = 2

Features=0x178bfbff
Features2=0x1e98220b
AMDFeatures=0x2e500800
AMDFeatures2=0x1c9bfff

# kldload vmm

amd_iommu_init: not implemented
amdv_init: not implemented
amdv_cleanup: not implemented
module_register_init: MOD_LOAD (vmm, 0x81abcbb0, 0) error 6

I appears the AMD patches for the vmm module have not made it to CURRENT 
yet. Would it be easy to prepare a patch-set? Or give me some hints on 
how to do it myself?


I have earlier tried to merge (locally) the changes to vmm from the 
bhyve project branch, but I got stuck on some dependencies (headers and 
functions) that are probably defined else where in the source tree. 
(Can't give the exact error message as this was on previous installation.)


Regards,
Gyrd ^_^



--WjW


___
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: Running bhyve on a AMD 1075T Phenom

2013-10-15 Thread Willem Jan Withagen

On 2013-10-15 1:51, Peter Grehan wrote:

Hi Craig,


There was a lot of non-trivial stuff done in the amd64 pmap code and the
BHyve intel module
for bhyve_npt_pmap, and these changes have not been made for the amd svm
code.


Right, I looked at it, and decided it was way easier to just run the svm 
tree



  Yes, that's right.


Does anyone have patches for the svm code?


  Not yet - Anish is working on it.


looking forward to test.

--WjW


___
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: Running bhyve on a AMD 1075T Phenom

2013-10-14 Thread Peter Grehan

Hi Craig,


There was a lot of non-trivial stuff done in the amd64 pmap code and the
BHyve intel module
for bhyve_npt_pmap, and these changes have not been made for the amd svm
code.


 Yes, that's right.


Does anyone have patches for the svm code?


 Not yet - Anish is working on it.

later,

Peter.

___
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: 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:
http://svnweb.freebsd.org/base/projects/bhyve_npt_pmap/ .

I tried to check out the projects/bhyve_npt_pmap branch and manually do an
"svn merge" from CURRENT.
I resolved a few merge conflicts, but saw that there are quite a few
changes to the pmap code
and the svm_vminit() function to accomodate an API change due to
bhyve_npt_pmap changes.


There was a lot of non-trivial stuff done in the amd64 pmap code and the
BHyve intel module
for bhyve_npt_pmap, and these changes have not been made for the amd svm
code.
Does anyone have patches for the svm code?

--
Craig
___
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: Running bhyve on a AMD 1075T Phenom

2013-10-10 Thread Peter Grehan

I already have the sources for head
Can I just grab the vmm driver in the tree with the AMD stuff and plug
that in the sources that I already have?


 I think that should work (though, the resulting vmm.ko will only work 
on an AMD system)


later,

Peter.

___
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: Running bhyve on a AMD 1075T Phenom

2013-10-10 Thread Willem Jan Withagen


Op 10 okt. 2013 om 22:02 heeft Anish  het volgende 
geschreven:

> >Is it just de vmm driver, or is there a lot more?
> Yes, it only enable vmm AMD support, nothing else. 

My questionnaire was more like:

I already have the sources for head
Can I just grab the vmm driver in the tree with the AMD stuff and plug that in 
the sources that I already have?

--WjW 
> 
> 
> On Thu, Oct 10, 2013 at 12:09 PM, Willem Jan Withagen  
> wrote:
> 
> 
> Op 10 okt. 2013 om 19:00 heeft Peter Grehan  het volgende 
> geschreven:
> 
> > Hi,
> >
> >> I'm trying to test bhyve on this testsystem I have.
> >> But is does not create /dev/vmm
> >>
> >> Is this because this processor does not support the right set of features?
> >
> > The bhyve code in 10.0 is Intel-only.
> >
> > If you're willing to build FreeBSD from source, there is a project branch 
> > with AMD SVM support at:
> >
> >  http://svnweb.freebsd.org/base/projects/bhyve_svm/
> 
> Ah, oké, building is no problem.
> I've been doing that ever since 1.0. :)
> 
> Is it just de vmm driver, or is there a lot more?
> 
> --WjW
> 
> > > AMD Phenom(tm) II X6 1075T
> >
> > I have one of these - the project branch works fine with this CPU model.
> >
> > later,
> >
> > Peter.
> >
> ___
> 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"
> 
___
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: Running bhyve on a AMD 1075T Phenom

2013-10-10 Thread Anish
>Is it just de vmm driver, or is there a lot more?
Yes, it only enable vmm AMD support, nothing else.

-Anish


On Thu, Oct 10, 2013 at 12:09 PM, Willem Jan Withagen wrote:

>
>
> Op 10 okt. 2013 om 19:00 heeft Peter Grehan  het
> volgende geschreven:
>
> > Hi,
> >
> >> I'm trying to test bhyve on this testsystem I have.
> >> But is does not create /dev/vmm
> >>
> >> Is this because this processor does not support the right set of
> features?
> >
> > The bhyve code in 10.0 is Intel-only.
> >
> > If you're willing to build FreeBSD from source, there is a project
> branch with AMD SVM support at:
> >
> >  http://svnweb.freebsd.org/base/projects/bhyve_svm/
>
> Ah, oké, building is no problem.
> I've been doing that ever since 1.0. :)
>
> Is it just de vmm driver, or is there a lot more?
>
> --WjW
>
> > > AMD Phenom(tm) II X6 1075T
> >
> > I have one of these - the project branch works fine with this CPU model.
> >
> > later,
> >
> > Peter.
> >
> ___
> 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"
___
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: Running bhyve on a AMD 1075T Phenom

2013-10-10 Thread Willem Jan Withagen


Op 10 okt. 2013 om 19:00 heeft Peter Grehan  het volgende 
geschreven:

> Hi,
> 
>> I'm trying to test bhyve on this testsystem I have.
>> But is does not create /dev/vmm
>> 
>> Is this because this processor does not support the right set of features?
> 
> The bhyve code in 10.0 is Intel-only.
> 
> If you're willing to build FreeBSD from source, there is a project branch 
> with AMD SVM support at:
> 
>  http://svnweb.freebsd.org/base/projects/bhyve_svm/

Ah, oké, building is no problem. 
I've been doing that ever since 1.0. :)

Is it just de vmm driver, or is there a lot more?

--WjW

> > AMD Phenom(tm) II X6 1075T
> 
> I have one of these - the project branch works fine with this CPU model.
> 
> later,
> 
> Peter.
> 
___
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: Running bhyve on a AMD 1075T Phenom

2013-10-10 Thread Peter Grehan

Hi Aryeh,


Will bhyve ever support AMD directly and, if not, will the above project
be included in the future releases?


 Yes - the project branch will be merged into HEAD when it is done.

 Not sure if it can make 10.0. If not, will definitely make 10.1

later,

Peter.
___
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: Running bhyve on a AMD 1075T Phenom

2013-10-10 Thread Aryeh Friedman
On Thu, Oct 10, 2013 at 1:00 PM, Peter Grehan  wrote:

>  The bhyve code in 10.0 is Intel-only.
>
>  If you're willing to build FreeBSD from source, there is a project branch
> with AMD SVM support at:
>
>   http://svnweb.freebsd.org/base/projects/bhyve_svm/
>

Will bhyve ever support AMD directly and, if not, will the above project be
included in the future releases?   Also thanks for the heads up -- I will
update our almost complete draft of a FreeBSD handbook entry (more added
since last official update on it)... btw the URL again is
http://www.petitecloud.org/handbook.jsp
___
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: Running bhyve on a AMD 1075T Phenom

2013-10-10 Thread Peter Grehan

Hi,


I'm trying to test bhyve on this testsystem I have.
But is does not create /dev/vmm

Is this because this processor does not support the right set of features?


 The bhyve code in 10.0 is Intel-only.

 If you're willing to build FreeBSD from source, there is a project 
branch with AMD SVM support at:


  http://svnweb.freebsd.org/base/projects/bhyve_svm/

> AMD Phenom(tm) II X6 1075T

 I have one of these - the project branch works fine with this CPU model.

later,

Peter.

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