Bug 1150411

Summary: 'virsh vol-create-as': Do *require* to specify a size when creating a qcow2 wrapper around an existing disk image
Product: [Community] Virtualization Tools Reporter: Kashyap Chamarthy <kchamart>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: rbalakri, shyu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-08 09:21:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kashyap Chamarthy 2014-10-08 08:38:39 UTC
[Suggestion from Eric Blake via libvir-list]


When creating an empty qcow2 overlay with 'virsh vol-create-as', as of now, disk image size needs to be specified, e.g.:

  $ virsh vol-create-as default base.qcow2 1G \
      --format qcow2 \
      --backing-vol overlay.qcow2 --backing-vol-format qcow2


Libvirt should be taught to not *require* to a size.


[*] http://www.redhat.com/archives/libvir-list/2014-October/msg00239.html

Comment 1 Shanzhi Yu 2014-10-08 09:21:45 UTC
There is already a bug 1104862 track this issues

*** This bug has been marked as a duplicate of bug 1104862 ***