Skip to content
  • Kevin Wolf's avatar
    aa70683d
    qemu-storage-daemon: Add main loop · aa70683d
    Kevin Wolf authored
    
    
    Instead of exiting after processing all command line options, start a
    main loop and keep processing events until exit is requested with a
    signal (e.g. SIGINT).
    
    Now qemu-storage-daemon can be used as an alternative for qemu-nbd that
    provides a few features that were previously only available from QMP,
    such as access to options only available with -blockdev and the socket
    types 'vsock' and 'fd'.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Message-Id: <20200224143008.13362-13-kwolf@redhat.com>
    Acked-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    aa70683d
    qemu-storage-daemon: Add main loop
    Kevin Wolf authored
    
    
    Instead of exiting after processing all command line options, start a
    main loop and keep processing events until exit is requested with a
    signal (e.g. SIGINT).
    
    Now qemu-storage-daemon can be used as an alternative for qemu-nbd that
    provides a few features that were previously only available from QMP,
    such as access to options only available with -blockdev and the socket
    types 'vsock' and 'fd'.
    
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
    Message-Id: <20200224143008.13362-13-kwolf@redhat.com>
    Acked-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
Loading