qemu: Use the new qemu api for battery/lid/power#1391
Merged
brianmcgillion merged 2 commits intotiiuae:mainfrom Sep 15, 2025
Merged
qemu: Use the new qemu api for battery/lid/power#1391brianmcgillion merged 2 commits intotiiuae:mainfrom
brianmcgillion merged 2 commits intotiiuae:mainfrom
Conversation
e9ad8db to
f7bffa0
Compare
mbssrc
approved these changes
Sep 9, 2025
vunnyso
approved these changes
Sep 10, 2025
f7bffa0 to
a53012a
Compare
mbssrc
approved these changes
Sep 10, 2025
a53012a to
40bd3c1
Compare
40bd3c1 to
64da578
Compare
64da578 to
20bb120
Compare
20bb120 to
a750e37
Compare
a750e37 to
63ecdde
Compare
63ecdde to
895e9a3
Compare
895e9a3 to
ec5306f
Compare
ec5306f to
19fcccc
Compare
19fcccc to
c6cffee
Compare
Use the new API that is currently working its way into the mainline on top of qemu 10.1. https://lists.gnu.org/archive/html/qemu-devel/2025-08/msg04138.html blochl/qemu#3 Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
Some laptops, either in testing or with a broken battery do not have a real battery. This will cause the UI to fail to load when the battery is needed to be passed into it. for this case we create a fake battery that shows some dummy default value. Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
c6cffee to
89c8ca0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use the new API that is currently working its way into the mainline on top of qemu 10.1.
https://lists.gnu.org/archive/html/qemu-devel/2025-08/msg04138.html
blochl/qemu#3
Description of Changes
Type of Change
Related Issues / Tickets
Checklist
make-checksand it passesTesting Instructions
Applicable Targets
aarch64aarch64x86_64x86_64x86_64Installation Method
nixos-rebuild ... switchTest Steps To Verify: