qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH for-2.7 v2 00/17] block: Lock images when openin


From: Fam Zheng
Subject: Re: [Qemu-block] [PATCH for-2.7 v2 00/17] block: Lock images when opening
Date: Tue, 19 Apr 2016 20:40:48 +0800
User-agent: Mutt/1.5.24 (2015-08-30)

On Mon, 04/18 10:53, Daniel P. Berrange wrote:
> If you want todo locks inside of QEMU, you really can't rely
> on delegating handling to each individual block driver instance.
> You need to have a process global registry of which files you have
> already locked, and check against that registry before even
> attempting to open any file that might correspond to a disk image.
> This registry needs to canonicalize the file path too, to allow
> for possibility of QEMU being given differen paths to the same
> file.

Yes, you're completely right. Thank you for bringing up it again and so
clearly. I'll revise the code.

Fam



reply via email to

[Prev in Thread] Current Thread [Next in Thread]