Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-04 Thread Gerd Hoffmann
Hi, > > We already have "pause" in gtk, adding a "throttle" item next to it > > looks reasonable to me. I don't think it is that useful to have 10% > > steps in there, you probably never throttle 10% in practice. It's > > probably more useful to have something like "throttle -> off / 50% / > >

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-04 Thread Programmingkid
On Jan 4, 2017, at 11:19 AM, Daniel P. Berrange wrote: > On Wed, Jan 04, 2017 at 11:01:30AM -0500, Programmingkid wrote: >> >> On Jan 4, 2017, at 10:51 AM, Daniel P. Berrange wrote: >> >>> On Wed, Jan 04, 2017 at 09:37:39AM +0100, Gerd Hoffmann wrote: Hi, > It is quite simple, th

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-04 Thread Daniel P. Berrange
On Wed, Jan 04, 2017 at 11:01:30AM -0500, Programmingkid wrote: > > On Jan 4, 2017, at 10:51 AM, Daniel P. Berrange wrote: > > > On Wed, Jan 04, 2017 at 09:37:39AM +0100, Gerd Hoffmann wrote: > >> Hi, > >> > >>> It is quite simple, there would be a 100% to a 1% menu item. It would > >>> look l

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-04 Thread Programmingkid
On Jan 4, 2017, at 10:51 AM, Daniel P. Berrange wrote: > On Wed, Jan 04, 2017 at 09:37:39AM +0100, Gerd Hoffmann wrote: >> Hi, >> >>> It is quite simple, there would be a 100% to a 1% menu item. It would look >>> like >>> this: >>> >>> Speed >>> --- >>> 100% >>> 90% >>> 80% >>> 70% >>> 60

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-04 Thread Daniel P. Berrange
On Wed, Jan 04, 2017 at 09:37:39AM +0100, Gerd Hoffmann wrote: > Hi, > > > It is quite simple, there would be a 100% to a 1% menu item. It would look > > like > > this: > > > > Speed > > --- > > 100% > > 90% > > 80% > > 70% > > 60% > > 50% > > 40% > > 30% > > 20% > > 10% > > 1% > > > > >

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-04 Thread Programmingkid
On Jan 4, 2017, at 3:37 AM, Gerd Hoffmann wrote: > Hi, > >> It is quite simple, there would be a 100% to a 1% menu item. It would look >> like >> this: >> >> Speed >> --- >> 100% >> 90% >> 80% >> 70% >> 60% >> 50% >> 40% >> 30% >> 20% >> 10% >> 1% >> >> >> Each menu item would call cpu_

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-04 Thread Gerd Hoffmann
Hi, > It is quite simple, there would be a 100% to a 1% menu item. It would look > like > this: > > Speed > --- > 100% > 90% > 80% > 70% > 60% > 50% > 40% > 30% > 20% > 10% > 1% > > > Each menu item would call cpu_throttle_set(). The value sent to this function > would > be determined l

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-03 Thread Programmingkid
On Jan 3, 2017, at 3:59 AM, Gerd Hoffmann wrote: > On So, 2017-01-01 at 13:15 -0500, Programmingkid wrote: >> Hello, I was wondering if you would accept a patch that added a Speed >> menu to the GTK interface. This would allow the user to change how >> much CPU time the emulated CPU would see. >

Re: [Qemu-devel] Speed menu for GTK interfaace

2017-01-03 Thread Gerd Hoffmann
On So, 2017-01-01 at 13:15 -0500, Programmingkid wrote: > Hello, I was wondering if you would accept a patch that added a Speed > menu to the GTK interface. This would allow the user to change how > much CPU time the emulated CPU would see. /me wonders what exactly would the menu entries do? che

[Qemu-devel] Speed menu for GTK interfaace

2017-01-01 Thread Programmingkid
Hello, I was wondering if you would accept a patch that added a Speed menu to the GTK interface. This would allow the user to change how much CPU time the emulated CPU would see.