• E
    util: Introduce virFileWaitForExists · caf26412
    Erik Skultety 提交于
    Since we have a number of places where we workaround timing issues with
    devices, attributes (files in general) not being available at the time
    of processing them by calling usleep in a loop for a fixed number of
    tries, we could as well have a utility function that would do that.
    Therefore we won't have to duplicate this ugly workaround even more.
    Signed-off-by: NErik Skultety <eskultet@redhat.com>
    caf26412
virfile.c 106.9 KB