]> git.proxmox.com Git - mirror_qemu.git/commit - tests/vhost-user-bridge.c
tests/vhost-user-bridge: read command line arguments
authorVictor Kaplansky <victork@redhat.com>
Tue, 24 Nov 2015 10:56:00 +0000 (12:56 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Nov 2015 11:42:38 +0000 (13:42 +0200)
commit7cf32491eac9dc32fd8ca7933f3edc9d42f884ee
treeb92bfb1352d1ac39fac9845160b433d2ea345027
parent85ea9da5b8d8c0b2ab77b493d5ce62599279bf33
tests/vhost-user-bridge: read command line arguments

Now some vhost-user-bridge parameters can be passed from the
command line:

Usage: prog [-u ud_socket_path] [-l lhost:lport] [-r rhost:rport]
        -u path to unix doman socket. default: /tmp/vubr.sock
        -l local host and port. default: 127.0.0.1:4444
        -r remote host and port. default: 127.0.0.1:5555

Signed-off-by: Victor Kaplansky <victork@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/vhost-user-bridge.c