File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ impl ArchVm {
7070 pub fn save_state ( & self , mpidrs : & [ u64 ] ) -> Result < VmState , ArchVmError > {
7171 Ok ( VmState {
7272 memory : self . common . guest_memory . describe ( ) ,
73+ io_memory : self . common . io_memory . describe ( ) ,
7374 gic : self
7475 . get_irqchip ( )
7576 . save_device ( mpidrs)
@@ -96,6 +97,8 @@ impl ArchVm {
9697pub struct VmState {
9798 /// Guest memory state
9899 pub memory : GuestMemoryState ,
100+ /// io memory state
101+ pub io_memory : GuestMemoryState ,
99102 /// GIC state.
100103 pub gic : GicState ,
101104}
Original file line number Diff line number Diff line change @@ -187,6 +187,7 @@ impl ArchVm {
187187
188188 Ok ( VmState {
189189 memory : self . common . guest_memory . describe ( ) ,
190+ io_memory : self . common . io_memory . describe ( ) ,
190191 pitstate,
191192 clock,
192193 pic_master,
@@ -211,6 +212,8 @@ impl ArchVm {
211212pub struct VmState {
212213 /// guest memory state
213214 pub memory : GuestMemoryState ,
215+ /// io memory state
216+ pub io_memory : GuestMemoryState ,
214217 pitstate : kvm_pit_state2 ,
215218 clock : kvm_clock_data ,
216219 // TODO: rename this field to adopt inclusive language once Linux updates it, too.
You can’t perform that action at this time.
0 commit comments