In reply to
https://lists.freebsd.org/pipermail/freebsd-virtualization/2015-December/004000.html
>/>> The problem probably that the length of the bar is smaller and not
/>/>> aligned with the pagesize. Could the length of the BAR be modified in
/>/>> order to perform the pci passthrough?
/>/>
/>/
On Saturday, December 12, 2015 02:04:17 PM G. Amanakis via
freebsd-virtualization wrote:
> Changing
> #define PCIM_BAR_MEM_BASE 0xfff0ULL
> to
> #define PCIM_BAR_MEM_BASE 0xf000ULL
> in
> sys/dev/PCI/pcireg.h makes the min size of a memory BAR equal
On December 14, 2015 1:34:16 PM GMT+01:00, Bendany Qian
wrote:
Hello G. Amanakis
I also faced your problem.
and I try your solution, now it can pass to VM.
but it cannot work properly.
Linux guest's dmesg say cannot start device.
what is your situcation? success?
Best Regards.
Qian
I can
Changing
#define PCIM_BAR_MEM_BASE 0xfff0ULL
to
#define PCIM_BAR_MEM_BASE 0xf000ULL
in
sys/dev/PCI/pcireg.h makes the min size of a memory BAR equal to 0x1000 or 4096
bytes and it lets me passthrough the device. Any objections to this strategy?
On December 2, 2
On Wed, Dec 2, 2015 at 3:13 AM, G. Amanakis via freebsd-virtualization
wrote:
> I am facing the following problem:
> on a X9SCM with an E3-1220Lv2 I am trying to passthrough the onboard usb
> controllers. I disable the usb module from the kernel config and using pptdev
> the controllers are
I am facing the following problem:
on a X9SCM with an E3-1220Lv2 I am trying to passthrough the onboard usb
controllers. I disable the usb module from the kernel config and using pptdev
the controllers are assigned to ppt devices. However running bhyve on FreeBSD
10.2 with:
sudo bhyve -