4 * Copyright (c) 2022 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.
11 #include "qemu/osdep.h"
13 #include "net/vhost-vdpa.h"
14 #include "qapi/error.h"
16 int net_init_vhost_vdpa(const Netdev
*netdev
, const char *name
,
17 NetClientState
*peer
, Error
**errp
)
19 error_setg(errp
, "vhost-vdpa requires frontend driver virtio-net-*");