[Patch] Refine roms required by running qemu
(cherry picked from commit d43a3c74fb7f31452dc3b5dec1ccdd148bd4ac55)