All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC v4 0/1] the org.qemu.Display1.UIInfo interface design
@ 2026-08-30  5:46 Chengyang Zhu
  2026-08-30  5:46 ` [PATCH RFC v4 1/1] ui/dbus: add org.qemu.Display1.UIInfo interface Chengyang Zhu
  0 siblings, 1 reply; 4+ messages in thread
From: Chengyang Zhu @ 2026-08-30  5:46 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 patch adds the UIInfo interface containing
  * property `Supported` indicating whether console UI info is supported.
  * the method `Apply` taking a dictionary as input.
  * the method `Get` returning the current UI info as a dictionary.

Changes since v3:
  * switched back to the dictionary approach.

This patch needs further discussion on:
  * Updated/Changed signal as mentioned before in the v3 email thread.
  * necessary test suite to prevent dictionary schema deviating from QemuUIInfo.

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 `Apply`

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

 ui/dbus-console.c    | 106 +++++++++++++++++++++++++++++++++++++++++++
 ui/dbus-display1.xml |  50 ++++++++++++++++++++
 2 files changed, 156 insertions(+)

-- 
2.55.0



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

end of thread, other threads:[~2026-08-31  3:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-30  5:46 [PATCH RFC v4 0/1] the org.qemu.Display1.UIInfo interface design Chengyang Zhu
2026-08-30  5:46 ` [PATCH RFC v4 1/1] ui/dbus: add org.qemu.Display1.UIInfo interface Chengyang Zhu
2026-08-30 11:48   ` Marc-André Lureau
2026-08-31  3:33     ` colazcy

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.