Allow qemu_supports to run earlier.
authorRichard Jones <rjones@redhat.com>
Tue, 16 Mar 2010 21:44:26 +0000 (21:44 +0000)
committerRichard Jones <rjones@redhat.com>
Tue, 16 Mar 2010 21:44:26 +0000 (21:44 +0000)
commit5442f45aea522a728fa5b06396d4f08d8506d7de
treedf2ff35c75d1281b0307e17e1bfb67655d916549
parentf8d781a00dcc9936802853d624ca92451463ab7f
Allow qemu_supports to run earlier.

Reimplement qemu_supports() internal function.  Allow it to run
before launch so we can test qemu features.  Document that you
should run guestfs_set_qemu as early as possible to make sure
these tests are reliable.
src/generator.ml
src/guestfs.c