|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [Question] [Block] Is there a way to control the read caching of a block device? |
Date: | Tue, 3 Sep 2024 22:31:02 +0200 |
User-agent: | Mozilla Thunderbird |
Cc'ing the qemu-block@ list On 3/9/24 20:13, DUO Labs wrote:
I know that the `cache` parameter for `-drive` controls the caching behavior when writing from the guest to the host, but is there a way to control the reading behavior host->guest? Currently, on HEAD, if I open a file on both the guest and host, and write some data to the drive on the (macOS) host, the time until it shows up in the (Linux) guest is inconsistent (more specifically, it seems that the data won't show up in the guest unless I close the file and reopen it --- by contrast, if I write to the drive on the guest, it shows up nearly instantaneously on the host).
[Prev in Thread] | Current Thread | [Next in Thread] |