qemu-discuss
[Top][All Lists]
Advanced

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

Re: [Question] [Block] Is there a way to control the read caching of a b


From: Pierrick Bouvier
Subject: Re: [Question] [Block] Is there a way to control the read caching of a block device?
Date: Tue, 3 Sep 2024 15:33:17 -0700
User-agent: Mozilla Thunderbird

On 9/3/24 11:17, DUO Labs wrote:
*Note: As it turns out, I posted this on the wrong mailing list at first, so 
I'm reposting it here*

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).


Hi,

are you accessing the *same* disk from two running operating systems (guest/host) concurrently?

Pierrick



reply via email to

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