summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorAnthony Liguori2012-09-10 19:48:43 +0200
committerAnthony Liguori2012-09-10 19:48:43 +0200
commit14df77a609e39403c3ec814bae63bec0fb4d24d2 (patch)
treefaabedbfdaa0d8b467368f2be07d7d4eb929c247 /net
parentsocket: don't attempt to reconnect a TCP socket in server mode (diff)
parentvhost: Pass device path to vhost_dev_init() (diff)
downloadqemu-14df77a609e39403c3ec814bae63bec0fb4d24d2.tar.gz
qemu-14df77a609e39403c3ec814bae63bec0fb4d24d2.tar.xz
qemu-14df77a609e39403c3ec814bae63bec0fb4d24d2.zip
Merge remote-tracking branch 'mst/tags/for_anthony' into staging
* mst/tags/for_anthony: vhost: Pass device path to vhost_dev_init() monitor: Rename+move net_handle_fd_param -> monitor_handle_fd_param pcie_aer: clear cmask for Advanced Error Interrupt Message Number pcie: drop version_id field for live migration qemu: add .exrc
Diffstat (limited to 'net')
-rw-r--r--net/socket.c2
-rw-r--r--net/tap.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/net/socket.c b/net/socket.c
index c172c249be..7c602e4c3a 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -629,7 +629,7 @@ int net_init_socket(const NetClientOptions *opts, const char *name,
if (sock->has_fd) {
int fd;
- fd = net_handle_fd_param(cur_mon, sock->fd);
+ fd = monitor_handle_fd_param(cur_mon, sock->fd);
if (fd == -1 || !net_socket_fd_init(peer, "socket", name, fd, 1)) {
return -1;
}
diff --git a/net/tap.c b/net/tap.c
index 1971525794..a88ae8f61a 100644
--- a/net/tap.c
+++ b/net/tap.c
@@ -610,7 +610,7 @@ int net_init_tap(const NetClientOptions *opts, const char *name,
return -1;
}
- fd = net_handle_fd_param(cur_mon, tap->fd);
+ fd = monitor_handle_fd_param(cur_mon, tap->fd);
if (fd == -1) {
return -1;
}
@@ -686,7 +686,7 @@ int net_init_tap(const NetClientOptions *opts, const char *name,
int vhostfd;
if (tap->has_vhostfd) {
- vhostfd = net_handle_fd_param(cur_mon, tap->vhostfd);
+ vhostfd = monitor_handle_fd_param(cur_mon, tap->vhostfd);
if (vhostfd == -1) {
return -1;
}