mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
KVM: selftests: Fix cosmetic copy-paste error in vm_mem_region_move()
Fix a copy-paste typo in a comment and error message. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200320205546.2396-3-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
0774a964ef
commit
4b547a869d
@ -764,7 +764,7 @@ void vm_mem_region_set_flags(struct kvm_vm *vm, uint32_t slot, uint32_t flags)
|
||||
* Input Args:
|
||||
* vm - Virtual Machine
|
||||
* slot - Slot of the memory region to move
|
||||
* flags - Starting guest physical address
|
||||
* new_gpa - Starting guest physical address
|
||||
*
|
||||
* Output Args: None
|
||||
*
|
||||
@ -784,7 +784,7 @@ void vm_mem_region_move(struct kvm_vm *vm, uint32_t slot, uint64_t new_gpa)
|
||||
ret = ioctl(vm->fd, KVM_SET_USER_MEMORY_REGION, ®ion->region);
|
||||
|
||||
TEST_ASSERT(!ret, "KVM_SET_USER_MEMORY_REGION failed\n"
|
||||
"ret: %i errno: %i slot: %u flags: 0x%lx",
|
||||
"ret: %i errno: %i slot: %u new_gpa: 0x%lx",
|
||||
ret, errno, slot, new_gpa);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user