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

Thanks a lot for your work and regards,
freebsd-virtualization@freebsd.org mailing list
To unsubscribe, send any mail to 

Reply via email to