hw/arm/virt: Consolidate GIC finalize logic
[qemu.git] / net / vhost-vdpa-stub.c
blob1732ed2443fadb49900349b21a26aa84b2883ce0
1 /*
2 * vhost-vdpa-stub.c
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.
9 */
11 #include "qemu/osdep.h"
12 #include "clients.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-*");
20 return -1;