bhyve: svm (amd-v) update
Willem Jan Withagen
wjw at digiware.nl
Wed May 21 09:57:12 UTC 2014
On 2014-05-21 11:31, Nils Beyer wrote:
> Hi Willem,
>
> Willem Jan Withagen wrote:
>> I'd be interested in the vlapic to if that helps the speed.
>> But you can help me a lot if you give me the SVN commands to do what you
>> described above.
>
> These were my steps:
>
> 0) mv /usr/src /usr/src.bak
>
> 1) svnlite co svn://svn.freebsd.org/base/projects/bhyve_svm /usr/src
>
> 2) cd /usr/src
>
> 3) patch -p4 < /tmp/bhyve_svm_HEAD_r263780.patch
>
> 4) svnlite merge svn://svn.freebsd.org/base/head
>
> one conflict in file "amdv.c" - enter "mf" (mine-full); in my previous
> post, I mistakenly said "theirs-full"; what is, of course, wrong.
>
> 5) manually patch "amdv.c" with:
>
> <----------------------- SNIP ----------------------------->
> Index: sys/amd64/vmm/amd/amdv.c
> ===================================================================
> --- sys/amd64/vmm/amd/amdv.c (revision 266491)
> +++ sys/amd64/vmm/amd/amdv.c (working copy)
> @@ -99,7 +99,7 @@
> }
>
> static void
> -amd_iommu_add_device(void *domain, int bus, int slot, int func)
> +amd_iommu_add_device(void *domain, uint16_t rid)
> {
>
> printf("amd_iommu_add_device: not implemented\n");
> @@ -106,7 +106,7 @@
> }
>
> static void
> -amd_iommu_remove_device(void *domain, int bus, int slot, int func)
> +amd_iommu_remove_device(void *domain, uint16_t rid)
> {
>
> printf("amd_iommu_remove_device: not implemented\n");
> <----------------------- SNIP ----------------------------->
>
>
> 6) should be fine now to compile and to integrate your patches
Thanx,
Very helpfull... And lets see if we can get amd-v (back) up to speed as
well.
--WjW
More information about the freebsd-virtualization
mailing list