Home
last modified time | relevance | path

Searched refs:VMState (Results 1 – 8 of 8) sorted by relevance

/qemu/rust/qemu-api/src/
H A Dvmstate.rs145 pub unsafe trait VMState { interface
168 pub const fn vmstate_scalar_type<T: VMState>(_: PhantomData<T>) -> VMStateFieldType { in vmstate_scalar_type()
174 pub const fn vmstate_base<T: VMState>(_: PhantomData<T>) -> VMStateField { in vmstate_base()
181 pub const fn vmstate_varray_flag<T: VMState>(_: PhantomData<T>) -> VMStateFlags { in vmstate_varray_flag()
317 unsafe impl $crate::vmstate::VMState for $tuple {
329 ($type:ty where $base:tt: VMState $($where:tt)*) => {
330 unsafe impl<$base> VMState for $type where $base: VMState $($where)* { impl
331 const SCALAR_TYPE: VMStateFieldType = <$base as VMState>::SCALAR_TYPE;
334 ..<$base as VMState>::BASE
336 const VARRAY_FLAG: VMStateFlags = <$base as VMState>::VARRAY_FLAG;
[all …]
H A Dprelude.rs29 pub use crate::vmstate::VMState;
/qemu/docs/devel/migration/
H A Dvirtio.rst38 via VMState wrapper on
75 via VMState wrapper on
H A Dmain.rst147 VMState section in Saving the state of one device
189 The VMState macros take care of ensuring that the device data section
193 VMState macros can include other VMStateDescriptions to store substructures
224 Note that because the VMState macros still save the data in a raw
226 with a carefully constructed VMState description that matches the
357 Sometimes members of the VMState are no longer needed:
400 - ``version_id``: the maximum version_id supported by VMState for that device.
401 - ``minimum_version_id``: the minimum version_id that VMState is able to understand
404 VMState is able to read versions from minimum_version_id to version_id.
484 The iterative devices generally don't use VMState macros
/qemu/docs/interop/
H A Ddbus-vmstate.rst2 D-Bus VMState
/qemu/docs/specs/
H A Dvmgenid.rst182 the value of VGIA is persisted via the VMState mechanism.
/qemu/docs/devel/
H A Drust.rst96 architecture (VMState). Right now, VMState lacks type safety because
H A Dstyle.rst349 mandatory for VMState fields.