[virt-tools-list] Is the default of "format" raw? (virt-install)
Richard W.M. Jones
rjones at redhat.com
Thu Mar 13 17:27:16 UTC 2014
On Wed, Mar 12, 2014 at 11:39:25PM -0500, Peng Yu wrote:
> Hi,
>
> `man virt-install` says the following. But it is not clear to me what
> format is used if it is not specified explicitly. Does anybody know?
> Should this be documented?
>
> Also, how to check what the format is of an image file? Thanks.
I would recommend using qemu-img info:
image: /dev/vg_guests/f21rawhidex64
file format: raw
virtual size: 50G (53687091200 bytes)
disk size: 0
There is an option to set the output to JSON if you need to process
this in another program.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
More information about the virt-tools-list
mailing list