qemu-discuss
[Top][All Lists]
Advanced

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

Getting host forwarding information using QMP or other means


From: jochen
Subject: Getting host forwarding information using QMP or other means
Date: Wed, 30 Mar 2022 13:47:07 +0200

Hi,

I am running QEMU with a user network and hostfwd, but without specifying a 
host port. QEMU therefor picks a random port, and I would now like to query 
what port it picked.

The preferred way would be to use QMP, is this possible? I only found 
"netdev_add" and "netdev_del", but no "query-netdevs" or something like that in 
the docs.

If QMP does not allow this, is there another way to get the port?

Regards,
Jochen




reply via email to

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