Skip to contentSkip to conversation

Monitor patches for 2020-07-21

GIT PULL Applied Markus Armbruster 2 participants 4 messages Jul 21, 2020 – Jul 22, 2020

lore
Share & tools
lore
#0 lore raw

The following changes since commit af3d69058e09bede9900f266a618ed11f76f49f3:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200720' into staging (2020-07-20 15:58:07 +0100)

are available in the Git repository at:

git://repo.or.cz/qemu/armbru.git tags/pull-monitor-2020-07-21

for you to fetch changes up to 029afc4e76041e1a320530d97f99122a1b3d5da2:

qdev: Fix device_add DRIVER,help to print to monitor (2020-07-21 17:22:44 +0200)

----------------------------------------------------------------
Monitor patches for 2020-07-21

----------------------------------------------------------------
Markus Armbruster (1):
qdev: Fix device_add DRIVER,help to print to monitor

 qdev-monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.26.2
#1 lore raw

[PULL 1/1] qdev: Fix device_add DRIVER,help to print to monitor

Help on device properties gets printed to stdout instead of the monitor. If you have the monitor anywhere else, no help for you. Broken when commit e1043d674d "qdev: use object_property_help()" accidentally switched from qemu_printf() to printf(). Switch right back.

Fixes e1043d674d792ff64aebae1a3eafc08b38a8a085
Cc Marc-André Lureau <[email protected]>

Message-Id: <[email protected]>

---
 qdev-monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qdev-monitor.c +1 -1
index 71ebce19df..e9b7228480 100644
@@ -300,7 +300,7 @@ int qdev_device_help(QemuOpts *opts)
     }
     g_ptr_array_sort(array, (GCompareFunc)qemu_pstrcmp0);
     for (i = 0; i < array->len; i++) {
-        printf("%s\n", (char *)array->pdata[i]);
+        qemu_printf("%s\n", (char *)array->pdata[i]);
     }
     g_ptr_array_set_free_func(array, g_free);
     g_ptr_array_free(array, true);
Signature · 1 line
2.26.2
#2 lore raw
In reply to Markus Armbruster
Quoted 16 lines · Markus Armbruster

The following changes since commit af3d69058e09bede9900f266a618ed11f76f49f3:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200720' into staging (2020-07-20 15:58:07 +0100)

are available in the Git repository at:

git://repo.or.cz/qemu/armbru.git tags/pull-monitor-2020-07-21

for you to fetch changes up to 029afc4e76041e1a320530d97f99122a1b3d5da2:

qdev: Fix device_add DRIVER,help to print to monitor (2020-07-21 17:22:44 +0200)

----------------------------------------------------------------
Monitor patches for 2020-07-21

Quoted 6 lines

----------------------------------------------------------------
Markus Armbruster (1):
qdev: Fix device_add DRIVER,help to print to monitor

 qdev-monitor.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

This missed rc1, I'm afraid; will go in for rc2.

thanks
-- PMM

#3 lore raw
In reply to Markus Armbruster
Quoted 9 lines · Markus Armbruster

The following changes since commit af3d69058e09bede9900f266a618ed11f76f49f3:

Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20200720' into staging (2020-07-20 15:58:07 +0100)

are available in the Git repository at:

git://repo.or.cz/qemu/armbru.git tags/pull-monitor-2020-07-21

Quoted 8 lines

for you to fetch changes up to 029afc4e76041e1a320530d97f99122a1b3d5da2:

qdev: Fix device_add DRIVER,help to print to monitor (2020-07-21 17:22:44 +0200)

----------------------------------------------------------------
Monitor patches for 2020-07-21

----------------------------------------------------------------

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/5.1
for any user-visible changes.

-- PMM