[PATCH] tools: Remove support for qemu-trad's battery reporting

2025-04-04 Thread Alejandro Vallejo
The way this undocumented feature works is via qemu-trad (who nobody uses anymore), by intercepting 3 magic PIOs. 0x88 is one of them, and it's probed by hvmloader as a means of detecting support for this (so, on qemu-upstream this check always fails). If hvmloader detects the feature, it appends a

Re: [PATCH] tools: Remove support for qemu-trad's battery reporting

2025-03-26 Thread Andrew Cooper
On 25/03/2025 5:41 pm, Alejandro Vallejo wrote: > The way this undocumented feature works is via qemu-trad (who nobody > uses anymore), by intercepting 3 magic PIOs. 0x88 is one of them, and > it's probed by hvmloader as a means of detecting support for this (so, > on qemu-upstream this check alway

Re: [PATCH] tools: Remove support for qemu-trad's battery reporting

2025-03-26 Thread Roger Pau Monné
On Wed, Mar 26, 2025 at 03:44:05PM +, Alejandro Vallejo wrote: > On Wed Mar 26, 2025 at 1:59 PM GMT, Marek Marczykowski-Górecki wrote: > > On Tue, Mar 25, 2025 at 05:41:10PM +, Alejandro Vallejo wrote: > > > The way this undocumented feature works is via qemu-trad (who nobody > > > uses any

Re: [PATCH] tools: Remove support for qemu-trad's battery reporting

2025-03-26 Thread Alejandro Vallejo
On Wed Mar 26, 2025 at 1:59 PM GMT, Marek Marczykowski-Górecki wrote: > On Tue, Mar 25, 2025 at 05:41:10PM +, Alejandro Vallejo wrote: > > The way this undocumented feature works is via qemu-trad (who nobody > > uses anymore), by intercepting 3 magic PIOs. 0x88 is one of them, and > > it's prob

Re: [PATCH] tools: Remove support for qemu-trad's battery reporting

2025-03-26 Thread Jürgen Groß
On 26.03.25 15:05, Andrew Cooper wrote: On 25/03/2025 5:41 pm, Alejandro Vallejo wrote: The way this undocumented feature works is via qemu-trad (who nobody uses anymore), by intercepting 3 magic PIOs. 0x88 is one of them, and it's probed by hvmloader as a means of detecting support for this (so

Re: [PATCH] tools: Remove support for qemu-trad's battery reporting

2025-03-26 Thread Marek Marczykowski-Górecki
On Tue, Mar 25, 2025 at 05:41:10PM +, Alejandro Vallejo wrote: > The way this undocumented feature works is via qemu-trad (who nobody > uses anymore), by intercepting 3 magic PIOs. 0x88 is one of them, and > it's probed by hvmloader as a means of detecting support for this (so, > on qemu-upstre