Displaying 3 results from an estimated 3 matches for "array_cardinality".
2013 Jun 27
1
virsh can create vHBA, but returen error msg "Node device not found"
...irsh shell:
libvirt: Node Device Driver error : Node device not found
I try to find the reason with gdb, and found that the 'nodedev-create'
command will call virNetClientIOEventLoop() function of the remote
driver, in this function, code will wait on:
repoll:
ret = poll(fds, ARRAY_CARDINALITY(fds), timeout);
after about 50s, poll() returns, but the replied
msg->header.status=VIR_NET_ERROR.
I am not familiar with the rpc call in the remote driver, does anybody
here can give some clues?
BRs,
Dennis
2016 Mar 18
0
Fwd: [Issue]: Regarding client socket getting closed from the server once the lxc container is started
...goto error;
* if (virNetClientRegisterAsyncIO(mon->client) < 0)*
* goto error;*
* if (!(mon->program = virNetClientProgramNew(VIR_LXC_MONITOR_PROGRAM,*
*
VIR_LXC_MONITOR_PROGRAM_VERSION,*
* virLXCMonitorEvents,*
*
ARRAY_CARDINALITY(virLXCMonitorEvents),*
* mon)))*
* goto error;*
* if (virNetClientAddProgram(mon->client,*
* mon->program) < 0)*
* goto error;*
* mon->vm = vm;*
* memcpy(&mon->cb, cb, siz...
2017 Feb 14
2
[PATCH 1/2] GCC 7: Add __attribute__((noreturn)) to some usage functions which call exit.
This happens with GCC 7.0.1. The errors were all of the form:
qemu-speed-test.c: In function 'main':
qemu-speed-test.c:153:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
usage (EXIT_SUCCESS);
^~~~~~~~~~~~~~~~~~~~
qemu-speed-test.c:155:5: note: here
default:
^~~~~~~
---
builder/index-validate.c | 2 +-