diff options
author | Keir Fraser <keir@xen.org> | 2012-08-22 22:20:42 +0100 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2012-08-22 22:20:42 +0100 |
commit | 64b135198b8e61fbc2c5bc58439a0dcfe64c9af8 (patch) | |
tree | f92f0299429351b5f5ecce318b3349aa5da57722 /tools/libxc/xg_save_restore.h | |
parent | 7c3dea401c22be3041db63fb516836c065810b78 (diff) | |
download | xen-64b135198b8e61fbc2c5bc58439a0dcfe64c9af8.tar.gz xen-64b135198b8e61fbc2c5bc58439a0dcfe64c9af8.tar.bz2 xen-64b135198b8e61fbc2c5bc58439a0dcfe64c9af8.zip |
libxc: Support save/restore of up to 4096 VCPUs (increase from 64 VCPUs).
Signed-off-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'tools/libxc/xg_save_restore.h')
-rw-r--r-- | tools/libxc/xg_save_restore.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libxc/xg_save_restore.h b/tools/libxc/xg_save_restore.h index 04e7892698..3edb088925 100644 --- a/tools/libxc/xg_save_restore.h +++ b/tools/libxc/xg_save_restore.h @@ -269,6 +269,9 @@ /* When pinning page tables at the end of restore, we also use batching. */ #define MAX_PIN_BATCH 1024 +/* Maximum #VCPUs currently supported for save/restore. */ +#define XC_SR_MAX_VCPUS 4096 +#define vcpumap_sz(max_id) (((max_id)/64+1)*sizeof(uint64_t)) /* |