aboutgitcodebugslistschat
path: root/contrib/qemu/git:
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2026-05-12 15:52:53 +1000
committerStefano Brivio <sbrivio@redhat.com>2026-05-16 15:47:04 +0200
commit1254a1f9f9867a9d9022e709549388d9cdf4f7b4 (patch)
treeb65e7091fdc5e730596f09f2dad80cb2db73b25f /contrib/qemu/git:
parenta2a2f404a7b6aa44f166006dbd85207b2727248d (diff)
downloadpasst-1254a1f9f9867a9d9022e709549388d9cdf4f7b4.tar
passt-1254a1f9f9867a9d9022e709549388d9cdf4f7b4.tar.gz
passt-1254a1f9f9867a9d9022e709549388d9cdf4f7b4.tar.bz2
passt-1254a1f9f9867a9d9022e709549388d9cdf4f7b4.tar.lz
passt-1254a1f9f9867a9d9022e709549388d9cdf4f7b4.tar.xz
passt-1254a1f9f9867a9d9022e709549388d9cdf4f7b4.tar.zst
passt-1254a1f9f9867a9d9022e709549388d9cdf4f7b4.zip
passt-repair: Split out inotify handling to its own function
passt-repair can operate two ways: either it can be given an explicit socket path to connect to, or it can be given a directory. In the second mode, it will wait for a socket to appear in that directory before connecting to it. That waiting involves some inotify logic that is essentially unrelated to the rest of the code. However, it's currently inline in main() making that very long. Moreover, the block handling inotify shadows several variables used in the rest of main() which will make static checkers complain once we get them running on passt-repair. Address this by moving the inotify handling into its own function. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/qemu/git:')
0 files changed, 0 insertions, 0 deletions