Commit c887d6a1 authored by Axel Rasmussen's avatar Axel Rasmussen Committed by Paolo Bonzini
Browse files

KVM: selftests: trivial comment/logging fixes



Some trivial fixes I found while touching related code in this series,
factored out into a separate commit for easier reviewing:

- s/gor/got/ and add a newline in demand_paging_test.c
- s/backing_src/src_type/ in a comment to be consistent with the real
  function signature in kvm_util.c

Signed-off-by: default avatarAxel Rasmussen <axelrasmussen@google.com>
Message-Id: <20210519200339.829146-2-axelrasmussen@google.com>
Reviewed-by: default avatarBen Gardon <bgardon@google.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent a10453c0
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -169,7 +169,7 @@ static void *uffd_handler_thread_fn(void *arg)
		if (r == -1) {
		if (r == -1) {
			if (errno == EAGAIN)
			if (errno == EAGAIN)
				continue;
				continue;
			pr_info("Read of uffd gor errno %d", errno);
			pr_info("Read of uffd got errno %d\n", errno);
			return NULL;
			return NULL;
		}
		}


+2 −2
Original line number Original line Diff line number Diff line
@@ -731,7 +731,7 @@ static void vm_userspace_mem_region_hva_insert(struct rb_root *hva_tree,
 *
 *
 * Input Args:
 * Input Args:
 *   vm - Virtual Machine
 *   vm - Virtual Machine
 *   backing_src - Storage source for this region.
 *   src_type - Storage source for this region.
 *              NULL to use anonymous memory.
 *              NULL to use anonymous memory.
 *   guest_paddr - Starting guest physical address
 *   guest_paddr - Starting guest physical address
 *   slot - KVM region slot
 *   slot - KVM region slot