[libvirt] Would it make sense to have a <disk device='logicalvolume'>?

Daniel P. Berrange berrange at redhat.com
Tue Jan 10 13:44:48 UTC 2012


On Tue, Jan 10, 2012 at 02:36:47PM +0100, Francesco Pretto wrote:
> 2012/1/10 Daniel P. Berrange <berrange at redhat.com>:
> >
> > FYI, you can already resize Virtio Block and SCSI devices from
> > the host and tell QEMU to update the guest size. You justneed
> > to issue an lvresize in the host, and then issue the 'virsh blockresize'
> > command to inform the guest of the new size.
> >
> >
> 
> !
> This does mean that 90% of features is actually already in place
> (other things are more cosmetics: it's not a big deal if mkfs warns
> that it is creating a fs in a disk instead of a partition). Although
> 'virsh blockresize' seems pretty new, sorry if this discussion turned
> to be more user related.

Yep, it is definitely in 1.0 QEMU, and has been in libvirt for one or
two releases


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 libvir-list mailing list