Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fw_cfg: fix boot order bug when dynamically modified via QOM
When we dynamically modify boot order, the length of boot order will be changed, but we don't update s->files->f[i].size with new length. This casuse seabios read a wrong vale of qemu cfg file about bootorder. Cc: Gerd Hoffmann <[email protected]> Cc: Paolo Bonzini <[email protected]> Signed-off-by: Gonglei <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
- Loading branch information