Re: [PATCH 0/4] Introduce a battery, AC adapter, and lid button

2021-01-27 Thread Leonid Bloch
On Tue, Jan 26, 2021 at 4:40 PM Michael S. Tsirkin wrote: > > Poking at sysfs from QEMU poses a bunch of issues, for example, > security, migration, etc. Running timers on the host is also not nice > since it causes exits from VM ... > > So I agree, as a starting point let's just let user > contro

Re: [PATCH 0/4] Introduce a battery, AC adapter, and lid button

2021-01-26 Thread Michael S. Tsirkin
On Thu, Jan 21, 2021 at 07:38:46AM +0200, Leonid Bloch wrote: > Hi Phil, > > Thanks for your feedback! Please see below. > > On Wed, Jan 20, 2021 at 11:52 PM Philippe Mathieu-Daudé > wrote: > > > > Hi Leonid, Marcel, > > > > On 1/20/21 9:54 PM, Leonid Bloch wrote: > > > This series introduces t

Re: [PATCH 0/4] Introduce a battery, AC adapter, and lid button

2021-01-20 Thread Leonid Bloch
Hi Phil, Thanks for your feedback! Please see below. On Wed, Jan 20, 2021 at 11:52 PM Philippe Mathieu-Daudé wrote: > > Hi Leonid, Marcel, > > On 1/20/21 9:54 PM, Leonid Bloch wrote: > > This series introduces the following ACPI devices: > > > > * Battery > > * AC adapter > > * Laptop lid button

Re: [PATCH 0/4] Introduce a battery, AC adapter, and lid button

2021-01-20 Thread Philippe Mathieu-Daudé
Hi Leonid, Marcel, On 1/20/21 9:54 PM, Leonid Bloch wrote: > This series introduces the following ACPI devices: > > * Battery > * AC adapter > * Laptop lid button > > When running QEMU on a laptop, these paravirtualized devices reflect the > state of these physical devices onto the guest. This f