mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 03:12:27 +00:00
By splitting this into a trait with common code extracted then this will allow extensive reuse of logic in the vfio-user version. This commit also changed the order of parameters on ::write_config_dword() to place offset first to match the other functions. Signed-off-by: Rob Bradford <robert.bradford@intel.com>