xref: /openbmc/qemu/net/vhost-vdpa-stub.c (revision 44602af8)
1 /*
2  * vhost-vdpa-stub.c
3  *
4  * Copyright (c) 2022 Red Hat, Inc.
5  *
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.
8  *
9  */
10 
11 #include "qemu/osdep.h"
12 #include "clients.h"
13 #include "net/vhost-vdpa.h"
14 #include "qapi/error.h"
15 
16 int net_init_vhost_vdpa(const Netdev *netdev, const char *name,
17                         NetClientState *peer, Error **errp)
18 {
19     error_setg(errp, "vhost-vdpa requires frontend driver virtio-net-*");
20     return -1;
21 }
22