diff options
| author | Max Reitz <mreitz@redhat.com> | 2016-10-25 15:11:31 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2016-10-27 19:05:23 +0200 |
| commit | 7edca33804f9b6948a65c04f969facf02a59e6fe (patch) | |
| tree | bb5a036aeba49e1b8dc95af2724633819ef20290 /linux-user | |
| parent | 442045cbce010688eed2b8ede6141e982c6d6b23 (diff) | |
| download | qemu-7edca33804f9b6948a65c04f969facf02a59e6fe.zip qemu-7edca33804f9b6948a65c04f969facf02a59e6fe.tar.gz qemu-7edca33804f9b6948a65c04f969facf02a59e6fe.tar.bz2 | |
block/nbd: Default port in nbd_refresh_filename()
Instead of not emitting the port in nbd_refresh_filename(), just set it
to the default if the user did not specify it. This makes the logic a
bit simpler.
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'linux-user')
0 files changed, 0 insertions, 0 deletions
