Date: Sun, 2 Apr 2017 07:36:59 -0700 From: Anish <akgupt3@gmail.com> To: Daniel Tihanyi <tetragir@fastmail.fm> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: Assigning PCI ethernet interfaces to VMs in bhyve Message-ID: <CALnRwMReG7RqiGCKTP8sU%2BV_iDbEss=67mug1AQVWOqx0a2EVw@mail.gmail.com> In-Reply-To: <1491127764.4331.1.camel@fastmail.fm> References: <1491127764.4331.1.camel@fastmail.fm>
index | next in thread | previous in thread | raw e-mail
Hi Daniel, For Intel cards only condition is that in the VM, these devices should start at function 0 because of PCI enumeration, always starts at function 0. If you want to assign multiple ports to VM, it can be function 0 and any other function, for example: Host PCI dev 4/0/1 and 4/0/2 are to be assigned to guest at virtual PCI slot 10, assignment can be: 4/0/1 -> 10/0 4/0/2 -> 10/1 Regards, Anish On Sun, Apr 2, 2017 at 3:09 AM, Daniel Tihanyi <tetragir@fastmail.fm> wrote: > Hello, > > I have a FreeBSD host running VMs on bhyve. I already have a few PCI-X > ethernet cards assigned to each of them, but only with one ethernet > interface. I would like to purchase a few PCI-X Ethernet cards with 4 > interfaces. My question is if it is possible to assign the individual > interfaces on the card to different VMs? On the bhyve Wiki, there is an > example for this, but it is assigning the interfaces into the same VM, > although to different slots. I am planning to use Intel cards for this > of course. Has anyone experience in this? > Thank you very much in advance! > > Daniel Tihanyihelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALnRwMReG7RqiGCKTP8sU%2BV_iDbEss=67mug1AQVWOqx0a2EVw>
