[et-mgmt-tools] Support for kvm/qemu cache mode

Ben Kochie ben at nerp.net
Thu Feb 26 02:11:57 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Libvirt now supports an xml bit to select qemu cache types.

<disk type='block' device='disk'>
   <driver name='qemu' cache='writethrough'/>
   <source dev='/path/to/dev'/>
   <target dev='vda' bus='virtio'/>
</disk>

It would be nice to select this with -disk in virt-install.  I've started 
looking at the VirtualDisk.py source to see where something like that 
would go.  If anyone is working on this, or has ideas, please let me know.

I was thinking the virt-install command would look like:

virt-install -disk "path=/path/to/dev,cache=writethrough"

- -ben

  "UNIX is user-friendly, it's just picky about its friends."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFJpfpvfYg2asD844oRAv7FAJwI7DXtf4IthPTLi7xI69w84lHTYwCcCiZc
/U1nRqKKLPee+Vhu/DGwLek=
=O/Yh
-----END PGP SIGNATURE-----




More information about the et-mgmt-tools mailing list