+ if (live) {
+ optargs.bitmask |= GUESTFS_ADD_DOMAIN_LIVE_BITMASK;
+ optargs.live = 1;
+ }
+
+ optargs.bitmask |= GUESTFS_ADD_DOMAIN_ALLOWUUID_BITMASK;
+ optargs.allowuuid = 1;
+
+ optargs.bitmask |= GUESTFS_ADD_DOMAIN_READONLYDISK_BITMASK;
+ optargs.readonlydisk = "read";