summaryrefslogtreecommitdiffstats
path: root/include/sysemu/kvm.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-11-02 18:48:32 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-11-23 12:11:29 +0200
commitc409572678936d3ffa8694f5a1dae531c2212e21 (patch)
tree234bada2ba0f994940b6b96421d9e653fe925b9c /include/sysemu/kvm.h
parent0e88f478508b566152c6681f4889ed9830a2c0a5 (diff)
downloadhqemu-c409572678936d3ffa8694f5a1dae531c2212e21.zip
hqemu-c409572678936d3ffa8694f5a1dae531c2212e21.tar.gz
qemu-char: fix tcp_get_fds
tcp_get_fds API discards fds if there's more than 1 of these. It's tricky to fix this without API changes in the generic case. However, this API is only used by tests ATM, and tests know how many fds they expect. So let's not waste cycles trying to fix this properly: simply assume at most 16 fds (tests use at most 8 now). assert if some test tries to get more. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/sysemu/kvm.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud