search for: appliance_fmt_auto

Displaying 3 results from an estimated 3 matches for "appliance_fmt_auto".

2020 Feb 06
1
Re: [PATCH v2] launch: add support for autodetection of appliance image format
...lib/launch-direct.c > +++ b/lib/launch-direct.c > @@ -592,7 +592,9 @@ launch_direct (guestfs_h *g, void *datav, const char *arg) > append_list ("id=appliance"); > append_list ("cache=unsafe"); > append_list ("if=none"); > +#ifndef APPLIANCE_FMT_AUTO > append_list ("format=raw"); > +#endif > } end_list (); > start_list ("-device") { > append_list ("scsi-hd"); > diff --git a/lib/launch-libvirt.c b/lib/launch-libvirt.c > index 4adb2cfb3..030ea6911 100644 > --- a/lib/lau...
2017 Jun 25
0
Re: [PATCH 1/2] launch: add support for autodetection of appliance image format
...MASK; > - optargs.backingformat = format; > + optargs.backingformat = format ? format : AUTODETECTION_FORMAT; ... here, instead of passing "autodetection" (new API), you would conditionally set the GUESTFS_DISK_CREATE_BACKINGFORMAT_BITMASK flag in the previous line. > +#ifdef APPLIANCE_FMT_AUTO What would define this? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats,...
2017 Jun 25
0
Re: [PATCH 2/2] build: add ./configure --enable-appliance-fmt-auto option
..., ["$GUESTFS_DEFAULT_PATH"], > [Define guestfs default path.]) > + > +AC_ARG_ENABLE([appliance-fmt-auto], > + [AS_HELP_STRING([--enable-appliance-fmt-auto], > + [enable autodetection of appliance image format @<:@default=no@:>@])], > + [ENABLE_APPLIANCE_FMT_AUTO="$enableval"], > + [ENABLE_APPLIANCE_FMT_AUTO=no]) > + > +if test "x$ENABLE_APPLIANCE_FMT_AUTO" = "xyes"; then > + AC_DEFINE([APPLIANCE_FMT_AUTO], [1], > + [Define to 1 if enabled autodetection of appliance image format.]) > +fi Migh...