[Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery

2021-05-09 Thread Philippe Mathieu-Daudé
This is an automated cleanup. This bug report has been moved to QEMU's new bug tracker on gitlab.com and thus gets marked as 'invalid' now. Please continue with the discussion here: https://gitlab.com/qemu-project/qemu/-/issues/242 ** Changed in: qemu Status: New => Invalid ** Bug watch

[Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery

2021-05-09 Thread Philippe Mathieu-Daudé
** Changed in: qemu Assignee: Sergey Nizovtsev (snizovtsev) => (unassigned) ** Changed in: qemu Status: In Progress => New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1502613 Title:

[Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery

2020-08-04 Thread Nahuel Pastorale
I just wanted to add that this would (probably) help solve the error 43 on mobile Nvidia GPU passthrough scenarios. While facing this myself I was able to get it working by simulating a battery and attaching it via an ACPI table. Your work is greatly appreciated Sergey. Thank you very much! --

[Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery

2020-05-18 Thread Sergey Nizovtsev
mizz, I'm worked on it and got a working draft on pre-5.0 codebase. It can react on QMP property changes to trigger ACPI events on x86 and arm- virt. However i've stuck on frontend/backend split. Keep calm, i'm still working on the task and will complete this soon. Philippe, thanks for advice!

[Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery

2020-05-18 Thread Philippe Mathieu-Daudé
The implementation could be similar to the temperature sensor interface proposed here: https://www.mail-archive.com/qemu-block@nongnu.org/msg65192.html -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1

[Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery

2020-05-17 Thread mizz
Has there been any progress? I'm using KVM for ubuntu 20.04 and would love to have this feature. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1502613 Title: [Feature Request] Battery Status / Virt

[Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery

2020-02-10 Thread Sergey Nizovtsev
I've started working on this issue and have some progress. Fedora 31 guest is already able to see a battery device but its state currently hardcoded. I think i will finish this in a few weeks. ** Attachment added: "qemu-battery-poc.png" https://bugs.launchpad.net/qemu/+bug/1502613/+attachment/

[Qemu-devel] [Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery

2018-09-19 Thread Thomas Huth
** Changed in: qemu Importance: Undecided => Wishlist -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1502613 Title: [Feature Request] Battery Status / Virtual Battery Status in QEMU: New Bug

[Qemu-devel] [Bug 1502613] Re: [Feature Request] Battery Status / Virtual Battery

2016-06-07 Thread Naftaly Avadiaev
I'm trying to add virtual battery to QEMU. More specifically, if the HOST is running on battery power [laptop] I want to pass this knowledge to GUEST. I have looked at ACPI folder within QEMU source code, however was unable to find the specific place where I can add this functionality. Can someon