[GH-ISSUE #316] Cache and io #249

Closed
opened 2026-02-27 16:38:35 +03:00 by kerem · 1 comment
Owner

Originally created by @amarc on GitHub (May 23, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/316

Hello,

is there a way to add cache and IO mode to guests ? I tried something like:

driver name='qemu' type='qcow2' cache='none' io='native'

driver name='qemu' type='raw' cache='none' io='native'

But I get error message upon clicking "Start" :

internal error: process exited while connecting to monitor: qemu-system-x86_64: -drive file=/home/kvm/vyatta-raw.img,if=none,id=drive-virtio-disk0,format=raw,cache=none: could not open disk image /home/kvm/vyatta-raw.img: Invalid argument

I tried qcow2 and raw images and yes /home/kvm/... is existing.

Originally created by @amarc on GitHub (May 23, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/316 Hello, is there a way to add cache and IO mode to guests ? I tried something like: driver name='qemu' type='qcow2' cache='none' io='native' driver name='qemu' type='raw' cache='none' io='native' But I get error message upon clicking "Start" : internal error: process exited while connecting to monitor: qemu-system-x86_64: -drive file=/home/kvm/vyatta-raw.img,if=none,id=drive-virtio-disk0,format=raw,cache=none: could not open disk image /home/kvm/vyatta-raw.img: Invalid argument I tried qcow2 and raw images and yes /home/kvm/... is existing.
kerem closed this issue 2026-02-27 16:38:36 +03:00
Author
Owner

@retspen commented on GitHub (May 23, 2014):

Libvirt show this error WebVirtMgr only transmit the error. About IO cache try something like this:

<disk type='file' device='disk'>
      <driver name='qemu' type='qcow2' cache='none' io='native'/>
      <source file='/var/lib/libvirt/images/server.img'/>
      <target dev='vda' bus='virtio'/>
</disk>
<!-- gh-comment-id:44009099 --> @retspen commented on GitHub (May 23, 2014): Libvirt show this error WebVirtMgr only transmit the error. About IO cache try something like this: ``` <disk type='file' device='disk'> <driver name='qemu' type='qcow2' cache='none' io='native'/> <source file='/var/lib/libvirt/images/server.img'/> <target dev='vda' bus='virtio'/> </disk> ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#249
No description provided.