hi Serge : I checked the code , only in lxc_controller.c call virFileOpenTtyAt(). I didn't test the path, but my suggestion is that modify the utility function in /src/util/util.c instead of adding a new function. use this macro VIR_ALLOC_N(ptr, count) to allocate memory and you should also check if it is valid. if (ioctl(*ttymaster, TIOCGPTN, &ptyno) < 0) goto clearup;
-- best regards eli |
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list