diff options
Diffstat (limited to 'executor/kvm.h')
| -rw-r--r-- | executor/kvm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/executor/kvm.h b/executor/kvm.h index 57d8aa490..8e5dc62be 100644 --- a/executor/kvm.h +++ b/executor/kvm.h @@ -174,7 +174,8 @@ #define KVM_MAX_VCPU 4 #define KVM_PAGE_SIZE (1 << 12) -#define KVM_GUEST_MEM_SIZE (1024 * KVM_PAGE_SIZE) +#define KVM_GUEST_PAGES 1024 +#define KVM_GUEST_MEM_SIZE (KVM_GUEST_PAGES * KVM_PAGE_SIZE) #define SZ_4K 0x00001000 #define SZ_64K 0x00010000 #define GENMASK_ULL(h, l) \ |
