|
From: | Paolo Bonzini |
Subject: | Re: [PATCH v3 14/25] include/systemu/blockdev.h: global state API |
Date: | Tue, 12 Oct 2021 13:07:00 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 |
On 12/10/21 10:48, Emanuele Giuseppe Esposito wrote:
+/* Common functions that are neither I/O nor Global State */ + +DriveInfo *blk_legacy_dinfo(BlockBackend *blk); +int drive_get_max_devs(BlockInterfaceType type); +
blk_legacy_dinfo should count as global state (blk->legacy_dinfo is protected by BQL).
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |