mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
"$dev" needs to be set correctly for backendtype=phy as well as backendtype=tap. Move the setting into the conditional, so it can be handled properly for each. (dev could be captured during tap-ctl allocate for blktap module, but it would not be set properly for the find_device case. The backendtype=tap case would need to be handled regardless.) Fixes:f16ac12bd4("hotplug: Restore block-tap phy compatibility") Fixes:76a484193d("hotplug: Update block-tap") Signed-off-by: Jason Andryuk <jason.andryuk@amd.com> Reviewed-by: Anthony PERARD <anthony.perard@vates.tech>