]> www.infradead.org Git - users/dwmw2/qemu.git/commit
win32: boot broken when bind & data dir are the same
authorSunil Muthuswamy <sunilmut@microsoft.com>
Sat, 24 Oct 2020 09:14:38 +0000 (09:14 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Oct 2020 11:08:39 +0000 (07:08 -0400)
commit7a3b7f6b94e16c0526587853a2cc954387882389
tree55af16abaa276ed76d8bd9735cf6f53177ff0398
parent57e2a1f82c6cf37cbf164d0824cca692e0db7133
win32: boot broken when bind & data dir are the same

With upstream commit#ea1edcd7da1a "vl: relocate paths to data
directories", the data dir logic was unified between POSIX &
Win32. That patch moved to using 'get_relocated_path()', to
find the data dir. There is a latent bug in get_relocated_path
which can cause it to spin indefinitely, when the bind dir is
the same as the passed in dir (in this case, it was the data
dir).

Signed-off-by: Sunil Muthuswamy <sunilmut@microsoft.com>
Message-Id: <SN4PR2101MB08802BF242C429A15DDB32ACC01B0@SN4PR2101MB0880.namprd21.prod.outlook.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
util/cutils.c