set_qemu
Description:
Warning: set_qemu is deprecated.
set the hypervisor binary (usually qemu)
In new code, use set_hv instead
Set the hypervisor binary (usually qemu) that we will use.
The default is chosen when the library was compiled by the configure script.
You can also override this by setting the LIBGUESTFS_HV
environment variable.
Setting hv
to NULL
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 "qemu -help"). If the qemu binary changes, we don't retest features, and so you might see inconsistent
results. Using the environment variable LIBGUESTFS_HV
is safest of all since that picks the qemu binary at the same time as the
handle is created.
Parameters:
this |
A GuestfsSession object |
Returns:
true on success, false on error |