kvm: fix alignment of ram address
Fix the wrong calculation of the delta, used to align the ram address. This only strikes if alignment has to be done. Reported-by: NJoe Clifford <joeclifford@gmail.com> Fixes: 5ea69c2e ("kvm: factor out alignment of memory section") Signed-off-by: NDavid Hildenbrand <david@redhat.com> Message-Id: <20171016144302.24284-3-david@redhat.com> Tested-by: NJoe Clifford <joeclifford@gmail.com> Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Showing
想要评论请 注册 或 登录