xref: /openbmc/qemu/hw/smbios/smbios-stub.c (revision 4a09d0bb)
1 /*
2  * SMBIOS stubs for platforms that don't support SMBIOS.
3  *
4  * Copyright (c) 2010 Isaku Yamahata <yamahata at valinux co jp>
5  *                    VA Linux Systems Japan K.K.
6  * Copyright (c) 2016 Leif Lindholm <leif.lindholm@linaro.org>
7  *                    Linaro Ltd.
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License along
20  * with this program; if not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #include "qemu/osdep.h"
24 #include "qapi/qmp/qerror.h"
25 #include "qmp-commands.h"
26 #include "hw/smbios/smbios.h"
27 
28 void smbios_entry_add(QemuOpts *opts, Error **errp)
29 {
30     error_setg(errp, QERR_UNSUPPORTED);
31 }
32