pcie_aer: Fix help message of pcie_aer_inject_error command
[qemu/ar7.git] / net / vhost-user-stub.c
blob52ab4e13f12aada57ab6da3ae33ae2334e77ab90
1 /*
2 * vhost-user-stub.c
4 * Copyright (c) 2018 Red Hat, Inc.
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
9 */
11 #include "qemu/osdep.h"
12 #include "clients.h"
13 #include "net/vhost_net.h"
14 #include "net/vhost-user.h"
15 #include "qemu/error-report.h"
16 #include "qapi/error.h"
18 int net_init_vhost_user(const Netdev *netdev, const char *name,
19 NetClientState *peer, Error **errp)
21 error_setg(errp, "vhost-user requires frontend driver virtio-net-*");
22 return -1;