[Libguestfs] [PATCH v2] Add a flag to make some functions called only at CONFIG state(RHBZ796520)