aboutsummaryrefslogtreecommitdiff
path: root/xlat/kvm_mem_flags.h
blob: 5a8ebee6d515996b46830fe7fec74d59c14c2c4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Generated by ./xlat/gen.sh from ./xlat/kvm_mem_flags.in; do not edit. */
#if !(defined(KVM_MEM_LOG_DIRTY_PAGES) || (defined(HAVE_DECL_KVM_MEM_LOG_DIRTY_PAGES) && HAVE_DECL_KVM_MEM_LOG_DIRTY_PAGES))
# define KVM_MEM_LOG_DIRTY_PAGES (1 << 0)
#endif
#if !(defined(KVM_MEM_READONLY) || (defined(HAVE_DECL_KVM_MEM_READONLY) && HAVE_DECL_KVM_MEM_READONLY))
# define KVM_MEM_READONLY (1 << 1)
#endif

#ifdef IN_MPERS

# error static const struct xlat kvm_mem_flags in mpers mode

#else

static
const struct xlat kvm_mem_flags[] = {
 XLAT(KVM_MEM_LOG_DIRTY_PAGES),
 XLAT(KVM_MEM_READONLY),
 XLAT_END
};

#endif /* !IN_MPERS */