aboutgitcodebugslistschat
path: root/contrib/qemu/git:
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-03-12 13:18:32 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-03-12 23:08:33 +0100
commit4b17d042c7e4f6e5b5a770181e2ebd53ec8e73d4 (patch)
tree0d7030f88633e0c4916454c05dfc117f8e7fdff8 /contrib/qemu/git:
parentbb00a0499fc9130e4b00a88928958b8b094ee2c9 (diff)
downloadpasst-4b17d042c7e4f6e5b5a770181e2ebd53ec8e73d4.tar
passt-4b17d042c7e4f6e5b5a770181e2ebd53ec8e73d4.tar.gz
passt-4b17d042c7e4f6e5b5a770181e2ebd53ec8e73d4.tar.bz2
passt-4b17d042c7e4f6e5b5a770181e2ebd53ec8e73d4.tar.lz
passt-4b17d042c7e4f6e5b5a770181e2ebd53ec8e73d4.tar.xz
passt-4b17d042c7e4f6e5b5a770181e2ebd53ec8e73d4.tar.zst
passt-4b17d042c7e4f6e5b5a770181e2ebd53ec8e73d4.zip
conf: Move mode detection into helper function
One of the first things we need to do is determine if we're in passt mode or pasta mode. Currently this is open-coded in main(), by examining argv[0]. We want to complexify this a bit in future to cover vhost-user mode as well. Prepare for this, by moving the mode detection into a new conf_mode() 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