Commit d75a56fc authored by Daniel P. Berrange's avatar Daniel P. Berrange

Add compat for 1.2.1 release

Signed-off-by: default avatarDaniel P. Berrange <[email protected]>
parent d86600ab
......@@ -7,7 +7,7 @@ Make sure to have `libvirt-dev` package (or the development files otherwise some
## Version Support
The libvirt go package provides API coverage for libvirt versions
from 1.2.2 onwards, through conditional compilation of newer APIs.
from 1.2.1 onwards, through conditional compilation of newer APIs.
## Documentation
......
#ifndef LIBVIRT_GO_CONNECT_COMPAT_H_
#define LIBVIRT_GO_CONNECT_COMPAT_H_
/* 1.2.2 */
#ifndef VIR_NODE_CPU_STATS_INTR
#define VIR_NODE_CPU_STATS_INTR "intr"
#endif
/* 1.2.6 */
#ifndef VIR_CONNECT_COMPARE_CPU_FAIL_INCOMPATIBLE
......
#ifndef LIBVIRT_GO_DOMAIN_COMPAT_H__
#define LIBVIRT_GO_ERROR_COMPAT_H__
/* 1.2.2 */
#ifndef VIR_DOMAIN_BLKIO_DEVICE_READ_IOPS
#define VIR_DOMAIN_BLKIO_DEVICE_READ_IOPS "device_read_iops_sec"
#endif
#ifndef VIR_DOMAIN_BLKIO_DEVICE_WRITE_IOPS
#define VIR_DOMAIN_BLKIO_DEVICE_WRITE_IOPS "device_write_iops_sec"
#endif
#ifndef VIR_DOMAIN_BLKIO_DEVICE_READ_BPS
#define VIR_DOMAIN_BLKIO_DEVICE_READ_BPS "device_read_bytes_sec"
#endif
#ifndef VIR_DOMAIN_BLKIO_DEVICE_WRITE_BPS
#define VIR_DOMAIN_BLKIO_DEVICE_WRITE_BPS "device_write_bytes_sec"
#endif
/* 1.2.3 */
#ifndef VIR_DOMAIN_CORE_DUMP_FORMAT_RAW
......
#ifndef LIBVIRT_GO_ERROR_COMPAT_H__
#define LIBVIRT_GO_ERROR_COMPAT_H__
/* 1.2.2 */
#ifndef VIR_FROM_BHYVE
#define VIR_FROM_BHYVE 57
#endif
/* 1.2.3 */
#ifndef VIR_FROM_CRYPTO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment