MCPcopy Create free account
hub / github.com/cloud-hypervisor/cloud-hypervisor / is_corrupt

Method is_corrupt

block/src/qcow/header.rs:562–565  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

560 }
561
562 pub fn is_corrupt(&self) -> bool {
563 IncompatFeatures::from_bits_truncate(self.incompatible_features)
564 .contains(IncompatFeatures::CORRUPT)
565 }
566
567 /// Clear all autoclear feature bits for QCOW2 v3 images.
568 ///

Callers 2

parse_qcowFunction · 0.80
is_corrupt_on_diskFunction · 0.80

Calls 1

containsMethod · 0.80

Tested by

no test coverage detected