On Tue, 10 Nov 2009 23:55:10 +0800 Scott Tsai <scottt...@gmail.com> wrote:
> On Tue, Nov 10, 2009 at 11:33 PM, Alexander Graf <ag...@suse.de> wrote: > > How about having a monitor command to change the temperature, leveraging a > > "common interface"? > > That way in the future real host temperature measurements could maybe get > > forwarded there too. At least for battery I've had several people ask > > already if it's possible to read the host battery status (incl. AC status) > > from inside the VM. > > I'd certainly like to make this code useful for something other than > developer training. > How about a new monitor command "thermometer_set" that works like > "mouse_move"? > "thermometer_set" would just set the temperature of the "first" > thermometer device it finds. Couldn't the device be a parameter? And I'd suggest usb_therm_set for the name.