diff --git a/src/util/virstoragefile.c b/src/util/virstoragefile.c index b985df461a42ffd51cec7a4d08a5c54344b40217..a3917389eb9b89631c8dd0169453a37d76bf0551 100644 --- a/src/util/virstoragefile.c +++ b/src/util/virstoragefile.c @@ -79,7 +79,8 @@ struct FileTypeInfo { enum lv_endian endian; /* Endianness of file format */ int versionOffset; /* Byte offset from start of file * where we find version number, - * -1 to skip version test */ + * -1 to always fail the version test, + * -2 to always pass the version test */ int versionNumber; /* Version number to validate */ int sizeOffset; /* Byte offset from start of file * where we find capacity info,