]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: libxl_domain_create_restore has an extra argument
authorWei Liu <wei.liu2@citrix.com>
Tue, 5 Apr 2016 14:20:12 +0000 (15:20 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 7 Apr 2016 16:34:23 +0000 (17:34 +0100)
commit216650f14b35ad11a45505405347f8027bc294d7
tree2569efc7d9a99322e80ef4d825d019eef11de2d7
parent2d23d145a67fb259f01f46086f419717887490b4
libxl: libxl_domain_create_restore has an extra argument

In the latest libxenlight code, libxl_domain_create_restore accepts a
new argument. Update libvirt's libxl driver for that. Use the macro
provided by libxenlight to detect which version should be used.

The new parameter (send_back_fd) is set to -1 because libvirt provides
no such fd.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Message-id: 1459866012-27081-1-git-send-email-wei.liu2@citrix.com
src/libxl/libxl_domain.c