vmstate: Fixes test-vmstate.c on msys2/mingw
commit96c64746bf5154fdce3011391362fdcddfe1aa37
authorYonggang Luo <luoyonggang@gmail.com>
Thu, 10 Sep 2020 10:30:50 +0000 (10 18:30 +0800)
committerThomas Huth <thuth@redhat.com>
Wed, 16 Sep 2020 06:41:06 +0000 (16 08:41 +0200)
treea043229abd4f2ba5f13008783235505316c0289b
parente0d3d8015f858f4d8d2a846d5909f57b709bf2b5
vmstate: Fixes test-vmstate.c on msys2/mingw

The vmstate are valid on win32, just need generate tmp path properly

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200910103059.987-17-luoyonggang@gmail.com>
[thuth: Make indentation a little bit nicer]
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/test-vmstate.c