CentOs 6.3 上的 Xen 4.2:无法编译激活的 libvirt 0.9.10 xen?

CentOs 6.3 上的 Xen 4.2:无法编译激活的 libvirt 0.9.10 xen?

我按照该教程在 CentOs 6.3 上安装了 Xen 4.2。http://www.howtoforge.com/virtualization-with-xen-on-centos-6.3-x86_64-paravirtualization-and-hardware-virtualization

使用以下命令构建新的 libvirt 包rpmbuild -bb libvirt.spec

我得到了那个错误:

 CC     libvirt_driver_libxl_la-libxl_conf.lo
In file included from libxl/libxl_conf.c:43:
libxl/libxl_conf.h:61: error: field 'ctx' has incomplete type
libxl/libxl_conf.h:80: error: field 'ctx' has incomplete type
libxl/libxl_conf.h:81: error: expected specifier-qualifier-list before 'libxl_waiter'
libxl/libxl_conf.c: In function 'libxlMakeDomCreateInfo':
libxl/libxl_conf.c:365: warning: implicit declaration of function 'libxl_init_create_info' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:365: warning: nested extern declaration of 'libxl_init_create_info' [-Wnested-externs]
libxl/libxl_conf.c:367: error: 'libxl_domain_create_info' has no member named 'hvm'
libxl/libxl_conf.c:383: warning: implicit declaration of function 'libxl_domain_create_info_destroy' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:383: warning: nested extern declaration of 'libxl_domain_create_info_destroy' [-Wnested-externs]
libxl/libxl_conf.c: In function 'libxlMakeDomBuildInfo':
libxl/libxl_conf.c:406: warning: implicit declaration of function 'libxl_init_build_info' [-Wimplicit-function-declaration]
libxl/libxl_conf.c:406: warning: nested extern declaration of 'libxl_init_build_info' [-Wnested-externs]
libxl/libxl_conf.c:408: error: 'libxl_domain_build_info' has no member named 'hvm'
[...]

您知道我需要安装或更改什么才能通过该步骤吗?

答案1

正如这里所讨论的:https://www.crc.id.au/2012/09/20/xen-4-2-0-packages-pushed-to-the-repos/当前版本的 libvirt 与 xen 4.2 不兼容。您可以继续使用 KVM 或使用不带 libvirt 的 Xen 4.2。

相关内容