[libvirt] [PATCHv2 3/7] conf: introduce <vsock> element

Daniel P. Berrangé berrange at redhat.com
Fri Jun 1 10:59:51 UTC 2018


On Thu, May 24, 2018 at 12:39:11PM +0200, Ján Tomko wrote:
> Add a new 'vsock' element for the vsock device.
> The 'model' attribute is optional.
> A <source cid> subelement should be used to specify the guest cid,
> or <source auto='yes'/> should be used.

I always find the  <source> vs <target> naming somewhat confusing
because we are not consistent in how we use them.

How about just avoiding the term entirely eg similar to how we declare
MAC with <mac address="...">:

   <cid address="3"/>

optionally having auto=yes|no


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list