All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC v3 0/1] the org.qemu.Display1.UIInfo interface design
@ 2026-08-18 13:45 Chengyang Zhu
  2026-08-18 13:45 ` [PATCH RFC v3 1/1] ui/dbus: add org.qemu.Display1.UIInfo interface Chengyang Zhu
  0 siblings, 1 reply; 6+ messages in thread
From: Chengyang Zhu @ 2026-08-18 13:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: marcandre.lureau, Chengyang Zhu

Currently, the `SetUIInfo` method cannot set a refresh rate.
Simply adding a refresh_rate argument would break the method signature.

This RFC adds the `UIInfo` interface containing
  * properties as staged display settings.
  * property `Supported` indicating whether console UI info is supported.
  * the method `Apply` applying staged settings.
  * the method `Reload` reloading settings from the console.

Changes since v2:
  * added a read-only bool property "Supported" on the interface.
  * switched to typesafe getter & setter.
  * documented each property/method individually.

Test results:
  * qemu:qtest-x86_64/dbus-display-test passed
  * qemu:qtest-x86_64/dbus-vmstate-test passed
  * qemu:qtest-x86_64/dbus-vnc-test SKIP
  * manually created a virtual machine
    and successfully set its refresh rate and resolution via `UIInfo`
  * sphinxdocs build passed

Chengyang Zhu (1):
  ui/dbus: add org.qemu.Display1.UIInfo interface

 ui/dbus-console.c    | 71 ++++++++++++++++++++++++++++++++++++++
 ui/dbus-display1.xml | 81 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 152 insertions(+)

-- 
2.55.0



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-19 14:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-18 13:45 [PATCH RFC v3 0/1] the org.qemu.Display1.UIInfo interface design Chengyang Zhu
2026-08-18 13:45 ` [PATCH RFC v3 1/1] ui/dbus: add org.qemu.Display1.UIInfo interface Chengyang Zhu
2026-08-18 15:01   ` Marc-André Lureau
2026-08-19 14:39     ` Christian Hergert
2026-08-19 14:43       ` Marc-André Lureau
2026-08-19 14:50         ` Christian Hergert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.