Searched refs:meta_json (Results 1 – 4 of 4) sorted by relevance
196 Result<std::string> InstanceGuestSnapshotPath(const Json::Value& meta_json, in InstanceGuestSnapshotPath() argument198 CF_EXPECTF(meta_json.isMember(kSnapshotPathField), in InstanceGuestSnapshotPath()200 const std::string snapshot_path = meta_json[kSnapshotPathField].asString(); in InstanceGuestSnapshotPath()205 GetValue<std::string>(meta_json, guest_snapshot_path_selectors), in InstanceGuestSnapshotPath()262 auto meta_json = CF_EXPECT(LoadFromFile(meta_json_path)); in LoadMetaJson() local263 return meta_json; in LoadMetaJson()268 auto meta_json = CF_EXPECT(LoadMetaJson(snapshot_path)); in GuestSnapshotDirectories() local269 CF_EXPECT(meta_json.isMember(kGuestSnapshotField)); in GuestSnapshotDirectories()270 const auto& guest_snapshot_dir_jsons = meta_json[kGuestSnapshotField]; in GuestSnapshotDirectories()
41 Result<std::string> InstanceGuestSnapshotPath(const Json::Value& meta_json,
72 const auto meta_json = in HandleHostGroupSnapshot() local75 const auto serialized_meta_json = meta_json.toStyledString(); in HandleHostGroupSnapshot()88 CF_EXPECT(meta_json.isMember(kGuestSnapshotField)); in HandleHostGroupSnapshot()89 auto meta_json_guest_snapshot = meta_json[kGuestSnapshotField]; in HandleHostGroupSnapshot()
192 const Json::Value& meta_json) { in TakeCrosvmGuestSnapshot() argument194 CF_EXPECT(InstanceGuestSnapshotPath(meta_json, instance_.id())); in TakeCrosvmGuestSnapshot()251 Json::Value meta_json = CF_EXPECTF( in TakeGuestSnapshot() local255 CF_EXPECT(TakeCrosvmGuestSnapshot(meta_json), in TakeGuestSnapshot()