On Fri, 12 Oct 2018 23:17:17 +0800 Acewind <acew...@gmail.com> wrote:
> I remeber your reply here: > https://www.mail-archive.com/vfio-users@redhat.com/msg03415.html > You said QEMU will fix the rom with correct device id automatically when > it's reading the rom directly from the device. > > In today's env, the host is already booted in legacy mode. Do I still need > to dump the rom and fix the device id? > > If I need, can I dump with these commands? > echo 1 > /sys/devices/pci0000:00/0000:00:02.0/rom > cat /sys/devices/pci0000:00/0000:00:02.0/rom > vbios.dump > echo 0 > /sys/devices/pci0000:00/0000:00:02.0/rom > Those would be the correct commands, yes, but if the host is already booting in legacy BIOS mode, I wouldn't expect that passing the ROM via file rather than reading it from the device will make a difference. I don't know what's wrong, sorry. Thanks, Alex _______________________________________________ vfio-users mailing list vfio-users@redhat.com https://www.redhat.com/mailman/listinfo/vfio-users