mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-15 14:44:09 +00:00
i2c bus counter 'acpi_i2c_adapter_num' shall be updated when virtio-i2c device is de-initialized, else in user VM reboot case, this global counter will not be reset and keep the value last user VM boot, which is not expected and cause iasl(building ACPI data) program crash finally because the i2c device name space overflow. Tracked-On: #7208 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>