[libvirt] [PATCH] virsh: Option for overriding disk type in attach-disk

Jiri Denemark jdenemar at redhat.com
Fri Sep 10 12:53:53 UTC 2010


> > Unless --driver tap|file option was given to attach-disk, virsh would
> > generate <disk type='block'> XML which might be fine for Xen but not for
> > other hypervisors. This patch introduces a new option --sourcetype which
> > can be used to explicitly set the type of disk source. The option
> > accepts either "file" or "block" types.
> 
>   ACK, though not 100% of a bug fix, it's a workaround, and limited to
>   virsh so I think it's fine to apply now before the release.

Thanks, pushed.

Jirka




More information about the libvir-list mailing list