[libvirt-users] virsh attach-disk with cache=none and io=native for raw devices (online)
Daniel P. Berrange
berrange at redhat.com
Thu Apr 5 09:40:04 UTC 2012
On Thu, Apr 05, 2012 at 11:36:55AM +0200, Frido Roose wrote:
> Hello,
>
> I see there is an option with virsh attach-disk to set the cache to "none" for raw devices, but I can't find how to attach the disk with io=native (needed for performance reasons).
> The goal is to attach a disk online, directly with the proper performance settings.
virsh attach-disk is just a wrapper around the more general
command virsh attach-device. So if there's stuff you can't
set with attach-disk, you can always pass the complete XML
to attach-device to set everything
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvirt-users
mailing list