summary refs log tree commit diff stats
path: root/tests/qtest/libqos/virtio-9p-client.c
diff options
context:
space:
mode:
authorChristian Schoenebeck <qemu_oss@crudebyte.com>2024-11-24 15:49:55 +0100
committerChristian Schoenebeck <qemu_oss@crudebyte.com>2024-11-28 18:54:00 +0100
commit4ec984965079b51a9afce339af75edea6de973a2 (patch)
tree60306a703387b3e1fd859faa3b9760aaa71aa353 /tests/qtest/libqos/virtio-9p-client.c
parentabf0f092c1dd33b9ffa986c6924addc0a9c1d0b8 (diff)
downloadfocaccia-qemu-4ec984965079b51a9afce339af75edea6de973a2.tar.gz
focaccia-qemu-4ec984965079b51a9afce339af75edea6de973a2.zip
tests/9p: add missing Rgetattr response name
'Tgetattr' 9p request and its 'Rgetattr' response types are already used
by test client, however this response type is yet missing in function
rmessage_name(), so add it.

Fixes: a6821b828404 ("tests/9pfs: compare QIDs in fs_walk_none() test")
Signed-off-by: Christian Schoenebeck <qemu_oss@crudebyte.com>
Reviewed-by: Greg Kurz <groug@kaod.org>
Message-Id: <e183da80d390cfd7d55bdbce92f0ff6e3e5cdced.1732465720.git.qemu_oss@crudebyte.com>
Diffstat (limited to '')
-rw-r--r--tests/qtest/libqos/virtio-9p-client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qtest/libqos/virtio-9p-client.c b/tests/qtest/libqos/virtio-9p-client.c
index c61632fcd3..98b77db51d 100644
--- a/tests/qtest/libqos/virtio-9p-client.c
+++ b/tests/qtest/libqos/virtio-9p-client.c
@@ -235,6 +235,7 @@ static const char *rmessage_name(uint8_t id)
         id == P9_RMKDIR ? "RMKDIR" :
         id == P9_RLCREATE ? "RLCREATE" :
         id == P9_RSYMLINK ? "RSYMLINK" :
+        id == P9_RGETATTR ? "RGETATTR" :
         id == P9_RLINK ? "RLINK" :
         id == P9_RUNLINKAT ? "RUNLINKAT" :
         id == P9_RFLUSH ? "RFLUSH" :