Qemu monitor info tlb gives unable to encode message payload

Philipp Klocke philipp.klocke at motius.de
Wed Dec 8 10:30:27 UTC 2021


Hi,

the command
    virsh qemu-monitor-command ubuntu_vm --hmp --cmd "info tlb"
fails with "error: Unable to encode message payload".

I found a bugtracker entry for a similiar error [1], but I don't if this is the same error (message too large). I also don't know how large an info tlb message is.
Preferably I would not have to recompile libvirt just to issue this monitor command..

Then I thought about circumventing the error by connecting directly to the qemu monitor via netcat, but I found a thread [2] that says I cannot add my own "-monitor tcp:..." to the Qemu commandline arguments.

Could someone help me with this?

Best,
Philipp

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1440683
[2] https://libvirt-users.redhat.narkive.com/E0UTmdhU/is-there-a-way-to-disable-libvirt-qemu-monitor-while-creating-kvm-vm-using-virsh






More information about the libvirt-users mailing list