Home
last modified time | relevance | path

Searched refs:KVM_MEM_LOG_DIRTY_PAGES (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Dpage_fault_test.c804 .data_memslot_flags = KVM_MEM_LOG_DIRTY_PAGES, \
805 .pt_memslot_flags = KVM_MEM_LOG_DIRTY_PAGES, \
817 .data_memslot_flags = KVM_MEM_LOG_DIRTY_PAGES, \
818 .pt_memslot_flags = KVM_MEM_LOG_DIRTY_PAGES, \
854 .data_memslot_flags = KVM_MEM_READONLY | KVM_MEM_LOG_DIRTY_PAGES, \
855 .pt_memslot_flags = KVM_MEM_READONLY | KVM_MEM_LOG_DIRTY_PAGES, \
866 .data_memslot_flags = KVM_MEM_READONLY | KVM_MEM_LOG_DIRTY_PAGES, \
867 .pt_memslot_flags = KVM_MEM_READONLY | KVM_MEM_LOG_DIRTY_PAGES, \
/openbmc/linux/tools/testing/selftests/kvm/s390x/
H A Dcmma_test.c179 vm_mem_region_set_flags(vm, 0, KVM_MEM_LOG_DIRTY_PAGES); in enable_dirty_tracking()
180 vm_mem_region_set_flags(vm, TEST_DATA_MEMSLOT, KVM_MEM_LOG_DIRTY_PAGES); in enable_dirty_tracking()
351 vm_mem_region_set_flags(vm, TEST_DATA_TWO_MEMSLOT, KVM_MEM_LOG_DIRTY_PAGES); in test_migration_mode()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dvmx_dirty_log_test.c92 KVM_MEM_LOG_DIRTY_PAGES); in main()
/openbmc/linux/arch/riscv/kvm/
H A Dmmu.c443 if (change != KVM_MR_DELETE && new->flags & KVM_MEM_LOG_DIRTY_PAGES) in kvm_arch_commit_memory_region()
517 if (new->flags & KVM_MEM_LOG_DIRTY_PAGES) { in kvm_arch_prepare_memory_region()
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dmemstress.c334 int flags = enable ? KVM_MEM_LOG_DIRTY_PAGES : 0; in toggle_dirty_logging()
/openbmc/linux/tools/testing/selftests/kvm/
H A Dkvm_page_table_test.c379 KVM_MEM_LOG_DIRTY_PAGES); in run_test()
H A Ddirty_log_test.c762 KVM_MEM_LOG_DIRTY_PAGES); in run_test()
/openbmc/linux/arch/mips/kvm/
H A Dmips.c231 (!(old->flags & KVM_MEM_LOG_DIRTY_PAGES) && in kvm_arch_commit_memory_region()
232 new->flags & KVM_MEM_LOG_DIRTY_PAGES)) { in kvm_arch_commit_memory_region()
H A Dmmu.c459 if (range->slot->flags & KVM_MEM_LOG_DIRTY_PAGES && !pte_dirty(old_pte)) in kvm_set_spte_gfn()
/openbmc/linux/arch/arm64/kvm/
H A Dmmu.c1969 bool log_dirty_pages = new && new->flags & KVM_MEM_LOG_DIRTY_PAGES; in kvm_arch_commit_memory_region()
2056 if (new->flags & KVM_MEM_LOG_DIRTY_PAGES) { in kvm_arch_prepare_memory_region()
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c598 flags |= KVM_MEM_LOG_DIRTY_PAGES; in kvm_mem_flags()
710 if (!(mem->flags & KVM_MEM_LOG_DIRTY_PAGES) || mem->dirty_bmap) { in kvm_slot_init_dirty_bitmap()
1480 if (mem->flags & KVM_MEM_LOG_DIRTY_PAGES) { in kvm_set_phys_mem()
1787 if (mem->memory_size && mem->flags & KVM_MEM_LOG_DIRTY_PAGES) { in kvm_log_sync_global()
/openbmc/qemu/linux-headers/linux/
H A Dkvm.h51 #define KVM_MEM_LOG_DIRTY_PAGES (1UL << 0) macro
/openbmc/linux/virt/kvm/
H A Dkvm_main.c1550 u32 valid_flags = KVM_MEM_LOG_DIRTY_PAGES; in check_memory_region_flags()
1635 if (!(new->flags & KVM_MEM_LOG_DIRTY_PAGES)) in kvm_prepare_memory_region()
1674 if ((old_flags ^ new_flags) & KVM_MEM_LOG_DIRTY_PAGES) { in kvm_commit_memory_region()
1675 int change = (new_flags & KVM_MEM_LOG_DIRTY_PAGES) ? 1 : -1; in kvm_commit_memory_region()
/openbmc/linux/tools/include/uapi/linux/
H A Dkvm.h103 #define KVM_MEM_LOG_DIRTY_PAGES (1UL << 0) macro
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_64_mmu_radix.c883 large_enable = !(memslot->flags & KVM_MEM_LOG_DIRTY_PAGES); in kvmppc_book3s_instantiate_page()
H A Dbook3s_hv.c5106 ((new->flags ^ old->flags) & KVM_MEM_LOG_DIRTY_PAGES)) in kvmppc_core_commit_memory_region_hv()
/openbmc/linux/include/uapi/linux/
H A Dkvm.h103 #define KVM_MEM_LOG_DIRTY_PAGES (1UL << 0) macro
/openbmc/linux/include/linux/
H A Dkvm_host.h595 return slot->flags & KVM_MEM_LOG_DIRTY_PAGES; in kvm_slot_dirty_track_enabled()
/openbmc/linux/arch/x86/kvm/
H A Dx86.c12703 bool log_dirty_pages = new_flags & KVM_MEM_LOG_DIRTY_PAGES; in kvm_mmu_slot_apply_flags()
12709 if ((old_flags ^ new_flags) & KVM_MEM_LOG_DIRTY_PAGES) in kvm_mmu_slot_apply_flags()
12735 if (WARN_ON_ONCE(!((old_flags ^ new_flags) & KVM_MEM_LOG_DIRTY_PAGES))) in kvm_mmu_slot_apply_flags()
/openbmc/linux/Documentation/virt/kvm/
H A Dapi.rst1313 #define KVM_MEM_LOG_DIRTY_PAGES (1UL << 0)
1345 The flags field supports two flags: KVM_MEM_LOG_DIRTY_PAGES and
8150 all user memory regions for which the KVM_MEM_LOG_DIRTY_PAGES flag was
8465 KVM_MEM_LOG_DIRTY_PAGES flag for a memory region), or when using
/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.c5802 !(new->flags & KVM_MEM_LOG_DIRTY_PAGES)) in kvm_arch_prepare_memory_region()