pub struct SavedState {
pub partition_memory: Vec<MemoryEntry>,
pub partition_mmio: Vec<MmioEntry>,
pub cpus_with_mapped_interrupts_no_io: Vec<u32>,
pub cpus_with_outstanding_io: Vec<u32>,
}Expand description
The format for saved state between the previous instance of OpenHCL and the next.
Fields§
§partition_memory: Vec<MemoryEntry>The memory entries describing memory for the whole partition.
partition_mmio: Vec<MmioEntry>The mmio entries describing mmio for the whole partition.
cpus_with_mapped_interrupts_no_io: Vec<u32>The list of CPUs with mapped device interrupts present at save time
that do not have outstanding IO (those CPUs are counted in
cpus_with_outstanding_io).
DEFAULT: For save state from prior versions, this will be empty. This is fine: the restore heuristics might be less optimal, but will still be functionally correct.
cpus_with_outstanding_io: Vec<u32>The list of CPUs with mapped device interrupts present at save time, and that also have outstanding IO on that CPU.
DEFAULT: For save state from prior versions, this will be empty. This is fine: the restore heuristics might be less optimal, but will still be functionally correct.
Trait Implementations§
Source§impl Debug for SavedState
impl Debug for SavedState
Source§impl DefaultEncoding for SavedState
impl DefaultEncoding for SavedState
Source§impl DescribeTable for SavedState
impl DescribeTable for SavedState
Source§const DESCRIPTION: MessageDescription<'static>
const DESCRIPTION: MessageDescription<'static>
Source§impl<'encoding, AnyR: 'static> StructDecodeMetadata<'encoding, AnyR> for SavedState
impl<'encoding, AnyR: 'static> StructDecodeMetadata<'encoding, AnyR> for SavedState
Source§impl<AnyR: 'static> StructEncodeMetadata<AnyR> for SavedState
impl<AnyR: 'static> StructEncodeMetadata<AnyR> for SavedState
Auto Trait Implementations§
impl Freeze for SavedState
impl RefUnwindSafe for SavedState
impl Send for SavedState
impl Sync for SavedState
impl Unpin for SavedState
impl UnwindSafe for SavedState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> DescribedProtobuf for Twhere
T: DefaultEncoding + Protobuf,
<T as DefaultEncoding>::Encoding: DescribeMessage<T>,
impl<T> DescribedProtobuf for Twhere
T: DefaultEncoding + Protobuf,
<T as DefaultEncoding>::Encoding: DescribeMessage<T>,
§const DESCRIPTION: MessageDescription<'static>
const DESCRIPTION: MessageDescription<'static>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> MeshField for T
impl<T> MeshField for T
§impl<T> MeshPayload for T
impl<T> MeshPayload for T
§impl<T> Protobuf for Twhere
T: DefaultEncoding,
<T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources> + for<'a> MessageDecode<'a, T, NoResources> + FieldEncode<T, NoResources> + for<'a> FieldDecode<'a, T, NoResources>,
impl<T> Protobuf for Twhere
T: DefaultEncoding,
<T as DefaultEncoding>::Encoding: MessageEncode<T, NoResources> + for<'a> MessageDecode<'a, T, NoResources> + FieldEncode<T, NoResources> + for<'a> FieldDecode<'a, T, NoResources>,
§impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
impl<T> SerializeMessage for Twhere
T: 'static + MeshPayload + Send,
§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
MessageEncode::compute_message_size].§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
MessageEncode::write_message].