X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fgenerator.ml;h=4f569ba5feb883dc9ec6535a79a0cab11c774c52;hb=5442f45aea522a728fa5b06396d4f08d8506d7de;hp=486b9d88b3d2e1b8ddb7124699c1832561ab5bee;hpb=369872b91ed50e2803dc2837183258776e9868e0;p=libguestfs.git diff --git a/src/generator.ml b/src/generator.ml index 486b9d8..4f569ba 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -581,7 +581,15 @@ configure script. You can also override this by setting the C environment variable. -Setting C to C restores the default qemu binary."); +Setting C to C restores the default qemu binary. + +Note that you should call this function as early as possible +after creating the handle. This is because some pre-launch +operations depend on testing qemu features (by running C). +If the qemu binary changes, we don't retest features, and +so you might see inconsistent results. Using the environment +variable C is safest of all since that picks +the qemu binary at the same time as the handle is created."); ("get_qemu", (RConstString "qemu", []), -1, [], [InitNone, Always, TestRun (