1*94c64373SEugenio Pérez /* 2*94c64373SEugenio Pérez * vhost-vdpa-stub.c 3*94c64373SEugenio Pérez * 4*94c64373SEugenio Pérez * Copyright (c) 2022 Red Hat, Inc. 5*94c64373SEugenio Pérez * 6*94c64373SEugenio Pérez * This work is licensed under the terms of the GNU GPL, version 2 or later. 7*94c64373SEugenio Pérez * See the COPYING file in the top-level directory. 8*94c64373SEugenio Pérez * 9*94c64373SEugenio Pérez */ 10*94c64373SEugenio Pérez 11*94c64373SEugenio Pérez #include "qemu/osdep.h" 12*94c64373SEugenio Pérez #include "clients.h" 13*94c64373SEugenio Pérez #include "net/vhost-vdpa.h" 14*94c64373SEugenio Pérez #include "qapi/error.h" 15*94c64373SEugenio Pérez net_init_vhost_vdpa(const Netdev * netdev,const char * name,NetClientState * peer,Error ** errp)16*94c64373SEugenio Pérezint net_init_vhost_vdpa(const Netdev *netdev, const char *name, 17*94c64373SEugenio Pérez NetClientState *peer, Error **errp) 18*94c64373SEugenio Pérez { 19*94c64373SEugenio Pérez error_setg(errp, "vhost-vdpa requires frontend driver virtio-net-*"); 20*94c64373SEugenio Pérez return -1; 21*94c64373SEugenio Pérez } 22