From: "David Smith" <dsmith(a)mypchelp.com>
To: "Martin Polednik" <mpolednik(a)redhat.com>
Cc: "Lior Vernia" <lvernia(a)redhat.com>, "users"
<users(a)ovirt.org>, "Martin Betak" <mbetak(a)redhat.com>
Sent: Wednesday, May 6, 2015 8:04:22 PM
Subject: Re: [ovirt-users] Directly connect NIC or other cards to VM?
Great, thanks for the update. That'll certainly keep me moving forward in
that direction.
I think at this time I can wait a while for it to be official.
Thanks,
David
On Mon, Feb 16, 2015 at 3:36 AM, Martin Polednik <mpolednik(a)redhat.com>
wrote:
>
>
> ----- Original Message -----
> > From: "Lior Vernia" <lvernia(a)redhat.com>
> > To: "David Smith" <dsmith(a)mypchelp.com>
> > Cc: "users" <users(a)ovirt.org>, "Martin Polednik"
<mpoledni(a)redhat.com>
> > Sent: Monday, February 16, 2015 9:15:41 AM
> > Subject: Re: [ovirt-users] Directly connect NIC or other cards to VM?
> >
> > Hi David,
> >
> > On 13/02/15 01:28, David Smith 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.
> >
> > I think this 3.6 feature might do exactly what you want:
> >
http://www.ovirt.org/Features/hostdev_passthrough
> >
> > It's gonna be a while before 3.6 is out, but once the feature is merged
> > it'll be available if you install the nightly snapshot. CCing Martin
> > Polednik, the feature owner.
>
> Hello,
>
> just on the status of the feature (as it's exactly what you require -
> direct
> pci device attachment) - the host side is hopefully ~week away from being
> ready, the UI side will take longer though - if you wanted, you could
> probably
> run nightly and spawn the VM yourself and treat is as external VM. CCing
> Martin
> Betak, who is the one to blame for the UI :)
Hi all,
the frontend part has just landed in master [1]. The UI is not beatufil (yet)
but it should provide you with the ability to directly attach specific devices
to VM. It should be polished well enough in time for 3.6.
Best regards,
Martin B.
[1]
>
> You also need RHEL 7 (ideal support will be in 7.1) and I suggest reading
> the chapter on IOMMU groups, as you might need to block (detach from host)
> other devices than the nic in order to get it passed through.
>
> > >
> > > 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)
> >
> > If I'm not mistaken, once you have direct access to the PCI device
> > you'll be able to query for its actual state using e.g. ethtool.
> >
> > >
> > > Thanks,
> > > David
> > >
> > >
> > > _______________________________________________
> > > Users mailing list
> > > Users(a)ovirt.org
> > >
http://lists.ovirt.org/mailman/listinfo/users
> > >
> >
>