WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [xen-devel][PATCH] Battery Management

>From: Ian Jackson
>Sent: Tuesday, October 14, 2008 11:05 PM
>
>Kamala Narasimhan writes ("RE: [xen-devel][PATCH] Battery Management"):
>> There isn't a whole range of VT-x enabled laptops I could
>get my hands
>> on to better answer your question.  However, given the
>current battery
>> firmware implementation trend, the pass-through mode is
>likely to work
>> on laptops that uses CMBattery interface.  The goal was to attempt to
>> put the base vACPI implementation that can be fine tuned as
>we go along
>> to better support a whole range of VT-x enabled laptops shipped in
>> future.  That said, I have tested pass-through mode on the hardware I
>> could get hold of (that uses CMBattery interface) and seen it work.
>
>I'm obviously missing something obvious here.  I wasn't able to easily
>find out what `CMBattery' is (perhaps I need to read a suitable volume
>of ACPI spec) but laptops have been having ACPI-based battery
>management for quite a while.

ACPI spec defines two types of batteriers: smart battery and control
method battery. Smart battery is controlled by embedded controller,
while the latter provides full ACPI control methods to OSPM.

>
>You mention a shortage of VT-x enabled laptops but a quick websearch
>suggests there are plenty of AMD-V-capable laptops.
>
>Dare I ask, what about PV guests ?  Obviously access to the host
>battery is not supported for right now but what is the plan ?

For PV guests it's more tough question, as no ACPI is supported in
PV guest by far.

Thanks,
Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel