[ovirt-users] Directly connect NIC or other cards to VM?
David Smith
dsmith at mypchelp.com
Fri Feb 13 16:08:11 UTC 2015
I do physical layer testing of ethernet switches. I want to virtualize the
test servers for scalability, reliability, and a VM solution allows easy
change of system configuration.
The bottom line is that testing often requires opening the network port in
promiscuous mode to sniff traffic, many tests need to be able to use
ethtool to view network properties (speed, duplex, link state, etc) and to
set properties (auto-neg, forced speed, duplex, link state, etc).
We use TOE cards which also allow offloading data from the CPU to the card
allowing higher throughput, some tests we use this to send ~1Gbps traffic
and monitor the data rate.
So there are multiple scenarios, the main one being the ability to see and
set physical layer properties, the other being able to offload traffic for
maximum throughput. The latter can possibly be accomplished through OS
layer drivers on the hypervisor but the former requires better driver
access than what i currently see in the VM.
On Fri, Feb 13, 2015 at 7:25 AM, Martin Pavlík <mpavlik at redhat.com> wrote:
> Hi David,
>
> maybe if you gave us a little bit more of the big picture we can find some
> way. What is the the reason for the actions you take? What are you trying
> to achieve?
>
> Martin
>
> > On 13 Feb 2015, at 15:09, Dan Yasny <dyasny at gmail.com> wrote:
> >
> > Still easy enough to do with vdsm-hooks
> >
> > --
> > Dan
> >
> > On Thu, Feb 12, 2015 at 6:28 PM, David Smith <dsmith at mypchelp.com>
> wrote:
> > Is there a way to directly connect a specific device (ie, NIC) to a
> particular VM?
> >
> > I've figured out how to map a specific network interface to a VM, thats
> one step, but in the end I may need direct access to the PCI device itself.
> >
> > Second to that, for network interfaces mapped to a particular VM, is
> there a way for the VM to be able to properly detect physical link state of
> that interface? Right now that's a 'configurable option' inside network
> interface settings on the VM in the manager (ie, plugged, not plugged, and
> link state up /down)
> >
> > Thanks,
> > David
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150213/83c57ffd/attachment-0001.html>
More information about the Users
mailing list