v2v: Add documentation for diagnosing RHEV-M import problems.
v2v: Generate qemu-0.10 compatible qcow2 files for RHEV-M.

RHEV nodes running on RHEL 6 cannot read the new qcow2 compat=1.1
(a.k.a qcow2 v3) format.

Thanks: Junqin Zhou, Tingting Zheng
v2v: Don't warn about being unable to rewrite /dev/cdrom (RHBZ#1146815).

Old virt-v2v probably emitted the same warning.

However it seems unlikely that /dev/cdrom needs to be remapped, as
udev or the user should be able to supply a suitable symlink from
/dev/cdrom to the removable device.  Therefore suppress this warning.
Fix update-bugs.sh script so it doesn't write an empty BUGS file.
p2v, v2v: Document how it works for hackers.
p2v: Rename guest.xml -> physical.xml.
p2v: Document the virt-p2v GUI dialogs.
p2v, v2v: docs: Change boilerplate in description to reflect reality of hypervisors we support.
p2v: Use "panel" consistently through documentation.
p2v: Revise virt-p2v(1) manual page.
p2v: Fix documentation for p2v.of kernel command line option.

Copy and paste errors.
p2v: docs: Change boilerplate in description to reflect reality of hypervisors we support (continued).
v2v: Use Glance (capitalized) consistently in documentation.
v2v: Document when you need to run virt-v2v as root, and how to avoid it.
diff: flatten also atime nanoseconds

When not considering atime changes, flatten also the nanoseconds.

Followup of commit 8664337cc39c8575ccb60abb8c6e30f92828ea51.
resize: add function find_partitions

find_partitions can find partitions of given type.

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
resize: add function calculate_target_partitions

And introduce parameter create_surplus to indicate whether to
create surplus partition or not. Later this parameter will be
used by when calculating positions for target logical partitions.

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
resize: Fix whitespace in calculate_target_partitions function.

This updates commit 21677c5b46468609d393a724ea629d948c87aec7.
resize: add function mbr_part_type

Function mbr_part_type returns one of "primary", "extended" and
"logical". The type is used by parted when adding partitions.

Signed-off-by: Hu Tao <hutao@cn.fujitsu.com>
resize: Simplify if-conditional in mbr_part_type function.

This should be equivalent to the previous code, but it makes it easier
for the compiler to pick up errors (eg. missing cases).

This updates commit fc34e2d16c2d13d6ae7a381ba931e345ab5ae56d.