Re: [PATCH 1/2] vdpa: support set mac address from vdpa tool
From: Michael S. Tsirkin
Date: Mon Jun 17 2024 - 12:20:43 EST
On Mon, Jun 17, 2024 at 08:20:02AM -0700, Jakub Kicinski wrote:
> On Mon, 17 Jun 2024 09:47:21 -0400 Michael S. Tsirkin wrote:
> > I don't know what this discussion is about, at this point.
> > For better or worse, vdpa gained interfaces for provisioning
> > new devices. Yes the solution space was wide but it's been there
> > for years so kind of too late to try and make people
> > move to another interface for that.
> >
> > Having said that, vdpa interfaces are all built around
> > virtio spec. Let's try to stick to that.
>
> But the virtio spec doesn't allow setting the MAC...
> I'm probably just lost in the conversation but there's hypervisor side
> and there is user/VM side, each of them already has an interface to set
> the MAC. The MAC doesn't matter, but I want to make sure my mental model
> matches reality in case we start duplicating too much..
An obvious part of provisioning is specifying the config space
of the device.
--
MST