fix minor issues when setting up page tables

This commit is contained in:
Alex Zenla
2024-01-15 15:00:48 -08:00
parent c9f39699dc
commit 900eba0bd9
3 changed files with 22 additions and 21 deletions

View File

@ -197,9 +197,7 @@ impl DomainControl<'_> {
context,
);
let mut value = VcpuGuestContextAny {
value: *context,
};
let mut value = VcpuGuestContextAny { value: *context };
let mut domctl = DomCtl {
cmd: XEN_DOMCTL_SETVCPUCONTEXT,
interface_version: XEN_DOMCTL_INTERFACE_VERSION,