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 processors with SVM Nested Page Table/RVI support,
 equivalent of Intel Extended Page Table.

OK, cool.



 Neel and Peter have created projects/bhyve_svm for submitting AMD patches
 for BHyVe. It doesn't have complete patches yet, only vmcb related files.

I looked at
http://svnweb.freebsd.org/base/projects/bhyve_svm/sys/amd64/vmm/amd/amdv.c
but it looks like the code will still give me an error if I try to kldload
vmm.ko on my box.

Do you have a patch?

Thanks.

--
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: FW: AMD and BHyve?

2013-04-14 Thread Neel Natu
Hi Craig,

On Sun, Apr 14, 2013 at 5:03 PM, Craig Rodrigues rodr...@crodrigues.orgwrote:

 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 processors with SVM Nested Page Table/RVI support,
  equivalent of Intel Extended Page Table.

 OK, cool.

 
 
  Neel and Peter have created projects/bhyve_svm for submitting AMD patches
  for BHyVe. It doesn't have complete patches yet, only vmcb related files.

 I looked at
 http://svnweb.freebsd.org/base/projects/bhyve_svm/sys/amd64/vmm/amd/amdv.c
 but it looks like the code will still give me an error if I try to kldload
 vmm.ko on my box.


Yes, that is expected.

The bhyve_svm branch does not have all the bits to support AMD just yet.

best
Neel



 Do you have a patch?


Thanks.

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

___
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


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) 20121221
WARNING: WITNESS option enabled, expect reduced performance.
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4800+ (2511.48-MHz K8-class
CPU)
  Origin = AuthenticAMD  Id = 0x60fb1  Family = 0xf  Model = 0x6b
Stepping =
1

Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C
MOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT
  Features2=0x2001SSE3,CX16
  AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!
  AMD Features2=0x11fLAHF,CMP,SVM,ExtAPIC,CR8,Prefetch



Will this CPU work with BHyve when the AMD support
is fully committed?  Right now when I try to load vmm.ko
I get:

kldload vmm.ko
amd_iommu_init: not implemented
amdv_init: not implemented
amdv_cleanup: not implemented
module_register_init: MOD_LOAD (vmm, 0x81c893b0, 0) error 6

Thanks.

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