On 01/04/17 11:05, Gerd Hoffmann wrote:
On Mi, 2017-01-04 at 16:25 +0800, dw wrote:
Thanks for your answer! I can enter into cmos-setup when running VMware,so I want to have a try with qemu/kvm.
I have read Seabios's document,found that there were items that could be configured with "qemu-system* --fw_cfg",and only some of items was related to cmos setup.
Yes, some of the stuff you usually find in the cmos setup on physical hardware (boot device order for example) is configured with qemu command line switches instead.
fw_cfg (shortcut for firmware config) is the name interface used to pass this information from qemu to the firmware (be it seabios, ovmf or something else).
Also... since VMware has been mentioned a few times, let's address the elephant in the room: the VMWare host most definitely provides the virtual machine in question with a firmware binary (a proprietary one at that) that is implemented and shipped by VMWare. So what *their* virtual firmware does is 100% independent of what SeaBIOS does.
The virtual firmware is specific to the vendor of the virtualization platform.
Laszlo