Embodiments of the present application provide a control method and apparatus for a GPU device in a multi-
system, and electronic device. The method comprises the following steps: when the switching request between the first
operating system and the second
operating system is detected, the control of the first
operating system to the
real image processor GPU device is interrupted, and a snapshot ofthe GPU device is created by the snapshot technology;
simulation is performed according to a snapshot of that GPU device to obtain an analog GPU device, and the analog GPU device is provide to a first operating
system; A real GPU device is provided to a second operating
system to complete
handover of the real GPU device from the first operating system to the second operating system. The embodiment of the present application realizes the
dynamic switching of real GPU devices between different operating systems, and solves the technical problems of computing consumption and storage resources caused by the prior art
simulation using the first operating system.