mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-22 04:25:21 +00:00
a44d96c9cc
The customized hashmap macro can't be lifted to common MockVMM code. MockVMM only needs a collection to iterate over to get initial register states. A vector is just as good as a hashmap. Switch to use a vector to store initial register states. This allows us to drop the hashmap macro everywhere. Signed-off-by: Wei Liu <liuwe@microsoft.com>