[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Maximum QMP reply size
From: |
John Snow |
Subject: |
Maximum QMP reply size |
Date: |
Tue, 6 Sep 2022 15:38:54 -0400 |
Hi, I suspect I have asked this before, but I didn't write it down in
a comment, so I forget my justification...
In the QMP lib, we need to set a buffering limit for how big a QMP
message can be -- In practice, I found that the largest possible
response was the QAPI schema reply, and I set the code to this:
# Maximum allowable size of read buffer
_limit = (64 * 1024)
However, I didn't document if this was a reasonable limit or just a
"worksforme" one. I assume that there's no hard limit for the protocol
or the implementation thereof in QEMU. Is there any kind of value here
that would be more sensible than another?
I'm worried that if replies get bigger in the future (possibly in some
degenerate case I am presently unaware of) that the library default
will become nonsensical.
Any pointers/tips?
--js
- Maximum QMP reply size,
John Snow <=
- Re: Maximum QMP reply size, Peter Maydell, 2022/09/06
- Re: Maximum QMP reply size, Dr. David Alan Gilbert, 2022/09/15
- Re: Maximum QMP reply size, Peter Maydell, 2022/09/16
- Re: Maximum QMP reply size, Daniel P . Berrangé, 2022/09/16
- Re: Maximum QMP reply size, Markus Armbruster, 2022/09/19
- Re: Maximum QMP reply size, Daniel P . Berrangé, 2022/09/20
- Re: Maximum QMP reply size, Dr. David Alan Gilbert, 2022/09/20
- Re: Maximum QMP reply size, Daniel P . Berrangé, 2022/09/07
- Re: Maximum QMP reply size, Daniel P . Berrangé, 2022/09/07
- Re: Maximum QMP reply size, Markus Armbruster, 2022/09/07