[libvirt] error in docs https://libvirt.org/html/libvirt-libvirt-domain.html

Michal Privoznik mprivozn at redhat.com
Mon Apr 24 12:30:38 UTC 2017


On 04/18/2017 03:52 PM, Vasiliy Tolstov wrote:
> virDomainMigrateFlags have errors
> VIR_MIGRATE_LIVE have invalid comment and as i see all comments are
> shifted down by one point.
> 

It's not just that. Basically anything that is the following form:

typedef enum {
  /* description to value1 */
  value1,

  /* description to value2 */
  value2,
};

The other example is:

https://libvirt.org/html/libvirt-libvirt-domain.html#virDomainMemoryStatTags

Diggin' deeper, this is problem of apibuild.py script which also generates docs/libvirt-api.xml. So our bindings have incorrect description for the values too. I am looking into this now.

Michal




More information about the libvir-list mailing list