Build images using loopdev instead of qemu-nbd.

Qemu-nbd does not perform well with older versions of qemu due to
the lack of writeback caching mode. It also only builds qcow2 images
and there is a desire for raw image support. Finally, qemu-nbd makes
it very difficult to build images concurrently due to the somewhat
opaque nature of how it selects a /dev/nbd# device. losetup, on
the other hand, makes this process very straight forward.

Change-Id: I309fad8af4fd1e8d1720c17b65e1897a76d5e897
Co-Author: Clint Byrum <clint@fewbar.com>
This commit is contained in:
Robert Collins 2013-04-01 17:25:25 -07:00
parent 894b6d4b86
commit 01723ce2d8
1 changed files with 1 additions and 0 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
*.egg-info
dist
*.qcow2
*.raw