mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
Windows 11 PnP rebalance rewrites peer BARs into the same range CH packed the initial layout at, causing move_bar() failures and boot deadlock. Pack Mmio64 BARs at 8 MiB stride. Mmio32 isn't wide enough for the same stride, but its BARs don't participate in guest BAR rebalancing. On restore, pin the BAR to the snapshot address (alignment=None) so a guest-relocated BAR with smaller alignment is accepted. Signed-off-by: CMGS <ilskdw@gmail.com>