Skip to content

Enhanced macOS support for runvm

Eric Curtin requested to merge ecurtin/sample-images:runvm_macos_keyboard into main

We added the following two values to enable keyboard support:

            "-device", "qemu-xhci", # for keyboard
            "-device", "usb-kbd", # for keyboard

We added the following two values to enable mouse support:

            "-device", "usb-tablet", # for mouse

We also added the following to enable all available cores:

            "-smp", str(os.cpu_count()), # for max cores

We also did a little bit of refactoring to remove is_macos_arm variable, cpu_arch and OS are treated in separate if blocks.

Add .iso and .raw support

This has become good boilerplate to test vanilla CentOS Stream, Fedora Silverblue images etc. Add --cdrom CLI to load installer iso's. Also check file extension for .raw

Edited by Eric Curtin

Merge request reports