libvirt/src/libxl
Roman Bogorodskiy caaa1bd357 libxl: fix unused functions
Commit eee7bd4e introduced two functions: libxlDiskPathToID and
libxlDiskSectorSize.

However, as they're used only by code under #ifdef __linux__,
on non-Linux platforms it results in errors similar to this:

 CC       libxl/libvirt_driver_libxl_impl_la-libxl_driver.lo
libxl/libxl_driver.c:5263:1: error: unused function 'libxlDiskPathToID' [-Werror,-Wunused-function]
libxlDiskPathToID(const char *virtpath)
^
libxl/libxl_driver.c:5312:1: error: unused function 'libxlDiskSectorSize' [-Werror,-Wunused-function]
libxlDiskSectorSize(int domid, int devno)
^
2 errors generated.

Fix that by moving these functions under the #ifdef __linux__ block.
2016-08-16 03:12:05 +03:00
..
libvirtd_libxl.aug libxl: keepalive messages support 2016-02-09 21:14:12 -07:00
libxl_capabilities.c libxl: add USB to hostdev domcapabilities 2016-06-17 14:25:02 -06:00
libxl_capabilities.h libxl: implement connectGetDomainCapabilities 2016-06-13 14:13:17 -06:00
libxl_conf.c libxl: allow libxl to calculate shadow mem requirements 2016-08-03 14:07:23 -06:00
libxl_conf.h libxl: support USB controllers in creation time 2016-08-02 14:02:21 +02:00
libxl_domain.c libxl: Fix broken build from libxlDomainCleanup 2016-08-02 09:18:56 -04:00
libxl_domain.h libxl: add a flag to mark guests as tainted by a hook 2016-08-02 14:20:31 +02:00
libxl_driver.c libxl: fix unused functions 2016-08-16 03:12:05 +03:00
libxl_driver.h libxl: Use standard format for source file copyright notice 2013-09-03 23:53:48 -06:00
libxl_migration.c libxlDoMigrateReceive: Drop useless check for !vm 2016-08-04 15:32:21 +02:00
libxl_migration.h libxl: support migration stream V2 in migration 2016-05-10 14:23:37 -06:00
libxl.conf libxl: keepalive messages support 2016-02-09 21:14:12 -07:00
test_libvirtd_libxl.aug.in libxl: keepalive messages support 2016-02-09 21:14:12 -07:00