backup: Wire up qemu full pull backup commands over QMP
[libvirt/ericb.git] / tests / domaincapsmock.c
blob90e17c19f0635bc2f0a1a0476c6ad704c30006ba
1 /*
2 * This library is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2.1 of the License, or (at your option) any later version.
7 * This library is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with this library. If not, see
14 * <http://www.gnu.org/licenses/>.
17 #include <config.h>
19 #include "virhostcpu.h"
20 #ifdef WITH_LIBXL
21 # include "libxl/libxl_capabilities.h"
22 #endif
24 #ifdef WITH_LIBXL
25 bool
26 libxlCapsHasPVUSB(void)
28 return true;
30 #endif
32 int
33 virHostCPUGetKVMMaxVCPUs(void)
35 return INT_MAX;