Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor QEMU tweaks for x86 and custom firmware #1484

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Aug 22, 2024

  1. driver/qemudriver: Make extra_args, cpu and machine optional

    At least for x86 devices it is not necessary to provide these arguments.
    Make them optional.
    
    Add an x86 example to the documentation too.
    
    Signed-off-by: Simon Glass <[email protected]>
    sjg20 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    25cdb8a View commit details
    Browse the repository at this point in the history
  2. driver/qemudriver: Delay setting of the QEMU arguments

    These arguments are currently set on activation. Where the driver is
    being used by a strategy, it may need to set the arguments after that.
    There is no need to have everything set in stone until the on() method
    is called, so move it there.
    
    For existing users, no functional change is intended.
    
    Signed-off-by: Simon Glass <[email protected]>
    sjg20 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    b16b56d View commit details
    Browse the repository at this point in the history
  3. driver/qemudriver: Allow the BIOS filename to be changed

    The U-Boot strategy will need to provide the filename of the BIOS
    directly when booting U-Boot on QEMU. Add a method to support this.
    
    Signed-off-by: Simon Glass <[email protected]>
    sjg20 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    8d0d528 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. driver/qemudriver: Report an error if QEMU is not turned on

    Rather than provide a strange exception, complain when a strategy does
    not use the QEMU driver properly, perhaps due to user settings.
    
    Series-changes: 6
    - Add new patch to report an error if QEMU is not turned on
    
    Signed-off-by: Simon Glass <[email protected]>
    sjg20 committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    aed1014 View commit details
    Browse the repository at this point in the history