Re: [PATCH for-11.1?] qemu-iotest 161: fix race

Michael Tokarev <[email protected]>
Newsgroups gmane.comp.emulators.qemu.block,gmane.comp.emulators.qemu
Message-ID <[email protected]>
On 7/29/26 12:17, Kevin Wolf wrote:
..
> Using _rm_test_img should do the trick for 161 because it only supports
> file and fuse anyway. Those are the obvious two protocols that work with
> _rm_test_img.

actually it wont.  Because among others, _rm_test_img run `qemu-img info`
on the image in question, and this is not working either while it's in use:

  $ qemu-img info test.qcow2
  qemu-img: Could not open 'test.qcow2': Failed to get shared "write" lock
  Is another process using the image [test.qcow2]?

this is exactly the problem we're trying to avoid :)

/mjt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.