qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V2 2/3] usb-gotemp: new module emulating a USB t


From: Luiz Capitulino
Subject: Re: [Qemu-devel] [PATCH V2 2/3] usb-gotemp: new module emulating a USB thermometer
Date: Tue, 10 Nov 2009 15:06:30 -0200

On Tue, 10 Nov 2009 23:55:10 +0800
Scott Tsai <address@hidden> wrote:

> On Tue, Nov 10, 2009 at 11:33 PM, Alexander Graf <address@hidden> 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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]