[libvirt] [PATCH 07/10] network: new XML to support virtual switch functionality

Eric Blake eblake at redhat.com
Thu Jul 14 14:11:20 UTC 2011

On 07/14/2011 08:08 AM, Daniel P. Berrange wrote:
>> That would be a valid concern if we passed internal flags over the wire,
>> but we don't.
> I'm thinking about the case where a value we currently use for an
> internal flag, gets used for a public flag in the future. In that
> case, any client side checks for curent internal flags would be
> bogus.

Then we already have the bogus situation, where libvirt.c is silently
filtering out internal flags.

Either we must not use the public flags argument for internal flags (and
thus fix driver.h to give the callback an internalFlags argument), or we
are already publicly limited to at most 16 bits for virDomainGetXMLDesc
due to older clients silently ignoring the upper bits.

Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110714/7aa1df54/attachment-0001.sig>

More information about the libvir-list mailing list