virtio-devices: Use new VirtioCommon::access_platform() accessor

Use the new virtio feature gated accessor when creating the handlers for
the virtio devices. This now means that the translations via the
accessor will only be applied if the feature is acked in accordance with
the spec.

Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
Rob Bradford
2026-04-17 08:56:44 +01:00
parent ea64d109c7
commit 81ee260ac3
7 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -466,7 +466,7 @@ where
pause_evt,
interrupt_cb,
backend: self.backend.clone(),
access_platform: self.common.access_platform.clone(),
access_platform: self.common.access_platform(),
};
let paused = self.common.paused.clone();