1use super::Error;
5use crate::MshvPartition;
6use virt::x86::vm;
7use virt::x86::vm::AccessVmState;
8
9impl AccessVmState for &'_ MshvPartition {
10 type Error = Error;
11
12 fn caps(&self) -> &virt::PartitionCapabilities {
13 &self.inner.caps
14 }
15
16 fn commit(&mut self) -> Result<(), Self::Error> {
17 todo!()
18 }
19
20 fn hypercall(&mut self) -> Result<vm::HypercallMsrs, Self::Error> {
21 todo!()
22 }
23
24 fn set_hypercall(&mut self, _value: &vm::HypercallMsrs) -> Result<(), Self::Error> {
25 todo!()
26 }
27
28 fn reftime(&mut self) -> Result<vm::ReferenceTime, Self::Error> {
29 todo!()
30 }
31
32 fn set_reftime(&mut self, _value: &vm::ReferenceTime) -> Result<(), Self::Error> {
33 todo!()
34 }
35
36 fn reference_tsc_page(&mut self) -> Result<vm::ReferenceTscPage, Self::Error> {
37 todo!()
38 }
39
40 fn set_reference_tsc_page(&mut self, _value: &vm::ReferenceTscPage) -> Result<(), Self::Error> {
41 todo!()
42 }
43}