-
公开(公告)号:US11243792B2
公开(公告)日:2022-02-08
申请号:US15921929
申请日:2018-03-15
发明人: Guang Zhang , Sibiao Luo , Wanqing Hu , Lin Gao , Jing Lin
摘要: An image file conversion method includes: obtaining an original image file of a virtual machine on an original platform; detecting whether the original image file has a first file characteristic and a second file characteristic that are corresponding to a target platform, wherein the first file characteristic comprises a target driver used when the virtual machine runs on the target platform, and the second file characteristic comprises a target file format supported by the target platform; and changing, in response to detecting that the original image file does not have at least one of the first file characteristic or the second file characteristic, the original image file by calling a predetermined interface, to obtain a target image file of the virtual machine on the target platform, wherein the target image file has the first file characteristic and the second file characteristic.