qemu-devel
[Top][All Lists]
Advanced

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

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


From: Gerd Hoffmann
Subject: Re: [Qemu-devel] Speed menu for GTK interfaace
Date: Wed, 04 Jan 2017 21:55:13 +0100

  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% /
> > 90% / 95% / 99%".
> 
> This feels like going down the slippery slope to turn the GTK frontend
> into a full mgmt UI, which is something we've said we don't want todo
> inside QEMU UI frontends. IMHO this kind of feature is best left to
> external mgmt layers, like  virt-manager/GNOME Boxes/etc. It is already
> possible to timebox VMs CPU execution using cgroups quotas via libvirt.

Well, except that libvirt doesn't support gtk.  And gtk is what you get
by default when using qemu ad-hoc, without libvirt.  Adding features to
gtk which make sense in that context still looks useful to me.

Alternatively we could add qmp+hmp commands for cpu throttling, that way
libvirt can support the feature and with gtk it can be used too, via
monitor tab, even in case we don't create new menu items for it.

cheers,
  Gerd




reply via email to

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