]> git.proxmox.com Git - qemu.git/commit - monitor.c
monitor: Rename+move net_handle_fd_param -> monitor_handle_fd_param
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 21 Aug 2012 20:52:07 +0000 (20:52 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Sep 2012 06:15:08 +0000 (09:15 +0300)
commita96ed02fc73e23748c8b3e38880eeac91f83ab9f
tree86a10ae01782252461f841c9a1e14fa2f8298f8a
parent0e180d9c8a7429c55d23d2e7855f1e490a063aaa
monitor: Rename+move net_handle_fd_param -> monitor_handle_fd_param

This patch renames+moves the net_handle_fd_param() caller used to
obtain a file descriptor from either qemu_parse_fd() (the normal case)
or from monitor_get_fd() (migration case) into a generically prefixed
monitor_handle_fd_param() to be used by vhost-scsi code.

Also update net/[socket,tap].c consumers to use the new prefix.

Reported-by: Michael S. Tsirkin <mst@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
monitor.c
monitor.h
net.c
net.h
net/socket.c
net/tap.c