DLR-FT / a653rs-linux

Apache License 2.0
1 stars 0 forks source link

refactor(hypervisor): use an id to reference partitions instead of a string #103

Closed florianhartung closed 8 months ago

florianhartung commented 8 months ago

Currently the String type is used as a key (e.g. HashMap<String, Partition>) to reference partitions. Every partition already has a numeric ID assigned to it, which we might as well use.

This PR replaces the String keys with numeric PartitionIds. The PartitionId type is already provided by the a653rs crate.