+# --with-kvm-path=...
+AC_ARG_WITH([kvm-path],
+ [AS_HELP_STRING([--with-kvm-path=PATH],
+ [absolute path to the kvm binary]
+ [ (default is /usr/bin/kvm)]
+ )],
+ [kvm_path="$withval"],
+ [kvm_path="/usr/bin/kvm"])
+AC_SUBST(KVM_PATH, $kvm_path)
+
+# --with-kvm-migration-port=...
+AC_ARG_WITH([kvm-migration-port],
+ [AS_HELP_STRING([--with-kvm-migration-port=PORT],
+ [tcp port used for kvm instance live migration]
+ [ (default is 8102)]
+ )],
+ [kvm_migration_port="$withval"],
+ [kvm_migration_port="8102"])
+AC_SUBST(KVM_MIGRATION_PORT, $kvm_migration_port)
+
+# --with-socat-path=...
+AC_ARG_WITH([socat-path],
+ [AS_HELP_STRING([--with-socat-path=PATH],
+ [absolute path to the socat binary]
+ [ (default is /usr/bin/socat)]
+ )],
+ [socat_path="$withval"],
+ [socat_path="/usr/bin/socat"])
+AC_SUBST(SOCAT_PATH, $socat_path)
+