rgbkrk / libvirt-go

[DEPRECATED] Go bindings for libvirt
https://github.com/libvirt/libvirt-go
MIT License
166 stars 50 forks source link

Add UndefineFlags #104

Closed r0l1 closed 8 years ago

vincentbernat commented 8 years ago

VIR_DOMAIN_UNDEFINE_NVRAM has been added in libvirt 1.2.9. However, since it's only an API change, you can just add in the C section of the file:

#ifndef VIR_DOMAIN_UNDEFINE_NVRAM
#define VIR_DOMAIN_UNDEFINE_NVRAM (1 << 2)
#endif
r0l1 commented 8 years ago

Great! Thanks for the hint. Fixed it.

rgbkrk commented 8 years ago

Looks good, feel free to merge @vincentbernat.