[Bug]: VirtualBox reports peripheral battery on host as system battery on guest

オープン
#919 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 6 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
46/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
c, linux

調査の方向性

Start by reproducing this with a PlayStation 5 controller connected to a Linux host and a Windows guest, then inspect how host power supplies under /sys/class/power_supply are discovered and exposed to the guest. The issue does not name source files or tests, so locate the relevant host battery detection and guest reporting paths. Done means a peripheral battery no longer appears as the guest's system battery, while a real host battery is still reported.

索引モデルが issue の本文から書いたものです。

説明

bug
Version

7.2.20

Host OS Type

Linux

Host OS name + version

Arch Linux (2026-10-17)

Host Architecture

x86

Guest OS Type

Windows

Guest Architecture

x86

Guest OS name + version

Windows 10 Build 19044.7725

Component

Other

What happened?

With a PlayStation controller connected to a desktop host, a newly started guest will report a system battery.

Image

Unplugging the controller will make the guest OS report "no battery".

Image

VBox (1).log: It seems not to contain how the battery is reported.

How can we reproduce this?
  1. Have a PlayStation 5 controller connected to a Linux host (or some other device that will report its battery in /sys/class/power_supply but is not meant to power the host)
  2. Start a Windows guest.
Did you upload all of your necessary log files, screenshots, etc.?
  • Yes, I've uploaded all pertinent files to this issue.
主要言語
C
スター
1.4k
フォーク
219
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

VirtualBox/virtualbox のほかの issue

VirtualBox/virtualbox の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。