aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-11-25 12:09:34 +0000
committerPeter Maydell <peter.maydell@linaro.org>2015-11-25 12:09:34 +0000
commite85dda8070b20dd8765d52daf64de70a9ccf395f (patch)
tree0229a23a1c9e722570d94c243fc155238e07d17c /configure
parent1aae36df4b8ed884c6ef6995e70c67fad79b49df (diff)
parent22037db38ccfe497bd13a94edead6657781b9b37 (diff)
downloadqemu-e85dda8070b20dd8765d52daf64de70a9ccf395f.zip
qemu-e85dda8070b20dd8765d52daf64de70a9ccf395f.tar.gz
qemu-e85dda8070b20dd8765d52daf64de70a9ccf395f.tar.bz2
Merge remote-tracking branch 'remotes/sstabellini/tags/xen-20151125' into staging
Xen 2015/11/25 # gpg: Signature made Wed 25 Nov 2015 11:19:26 GMT using RSA key ID 70E1AE90 # gpg: Good signature from "Stefano Stabellini <stefano.stabellini@eu.citrix.com>" * remotes/sstabellini/tags/xen-20151125: xen_disk: Remove ioreq.postsync xen: fix usage of xc_domain_create in domain builder Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure b/configure
index 71d6cbc..979bc55 100755
--- a/configure
+++ b/configure
@@ -1946,6 +1946,23 @@ EOF
elif
cat > $TMPC <<EOF &&
#include <xenctrl.h>
+#include <stdint.h>
+int main(void) {
+ xc_interface *xc = NULL;
+ xen_domain_handle_t handle;
+ xc_domain_create(xc, 0, handle, 0, NULL, NULL);
+ return 0;
+}
+EOF
+ compile_prog "" "$xen_libs"
+ then
+ xen_ctrl_version=470
+ xen=yes
+
+ # Xen 4.6
+ elif
+ cat > $TMPC <<EOF &&
+#include <xenctrl.h>
#include <xenstore.h>
#include <stdint.h>
#include <xen/hvm/hvm_info_table.h>