]> 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)
committerCole Robinson <crobinso@redhat.com>
Wed, 20 Apr 2016 13:11:34 +0000 (09:11 -0400)
commitfd0cb970855da0a4633c154a063c31ba91edecb3
tree6c8c445e2cb868b3d4eeec7f4126a90b35528cb4
parent5f91518937129a6f02ac33317905dc0d0c7ce949
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
(cherry picked from commit 216650f14b35ad11a45505405347f8027bc294d7)
src/libxl/libxl_domain.c