All of lore.kernel.org
 help / color / mirror / Atom feed
* Disk cache defaults
@ 2020-07-22  6:14 anthony smith
  2020-07-29 13:02 ` Stefan Hajnoczi
  0 siblings, 1 reply; 3+ messages in thread
From: anthony smith @ 2020-07-22  6:14 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]

Having spent a while searching for answers on this I am making a last-ditch
effort by contacting the devel group.

Could someone let me know if it is possible to change the default disk
cache setting in qemu globally?

Currently it is set to writeback, in many if not most use cases "none" is
optimal.

I am aware I can change it per instance however I really need to find a
global method so that unless specified otherwise the default becomes
cache=none

It does seem a little strange that options appear to exist:

qemu-img -h | grep writeback
    options are: 'none', 'writeback' (default, except for convert),
'writethrough',

However I can't find any documentation that hints at a method of changing
the default, rather all documentation provides is a method per use/instance.

Appreciate any assistance even if the answer is just "Not possible" so I
can at least drop this search for answers.

[-- Attachment #2: Type: text/html, Size: 1086 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-07-30 15:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-22  6:14 Disk cache defaults anthony smith
2020-07-29 13:02 ` Stefan Hajnoczi
2020-07-30 15:23   ` Markus Armbruster

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.