Skip to content

Conversation

@buhenxihuan
Copy link
Contributor

…e configuration parsing

  • In linux-aarch64-a1000-smp8.toml and linux-aarch64-rk3588-smp8.toml,

Changed the mapping type of memory_regions and removed some redundant passthrough_devices configurations.

  • Added VmMemMappingType::MapReserved branch processing logic to support mapping memory regions with the same physical address.

  • Refactored the parse_passthrough_devices_address function to prioritize the device address preset in the configuration file.

If not set, it will fall back to parsing from the device tree, improving flexibility and compatibility.

  • Added debug logging to facilitate tracking of passthrough device parsing results.

…e configuration parsing

- In `linux-aarch64-a1000-smp8.toml` and `linux-aarch64-rk3588-smp8.toml`,

Changed the mapping type of `memory_regions` and removed some redundant `passthrough_devices` configurations.

- Added `VmMemMappingType::MapReserved` branch processing logic to support mapping memory regions with the same physical address.

- Refactored the `parse_passthrough_devices_address` function to prioritize the device address preset in the configuration file.

If not set, it will fall back to parsing from the device tree, improving flexibility and compatibility.

- Added debug logging to facilitate tracking of passthrough device parsing results.
@buhenxihuan buhenxihuan requested review from ZR233 and bullhh October 15, 2025 05:54
@buhenxihuan buhenxihuan requested a review from bullhh October 15, 2025 07:16
@bullhh bullhh self-assigned this Oct 15, 2025
@buhenxihuan buhenxihuan requested a review from luodeb October 16, 2025 02:13
@luodeb
Copy link
Contributor

luodeb commented Oct 16, 2025

LGTM

@buhenxihuan buhenxihuan merged commit e9ba84e into next Oct 16, 2025
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants