2
0

smbios-stub.c 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. #include "qemu/osdep.h"
  23. #include "qapi/error.h"
  24. #include "qapi/qmp/qerror.h"
  25. #include "hw/firmware/smbios.h"
  26. void smbios_entry_add(QemuOpts *opts, Error **errp)
  27. {
  28. error_setg(errp, QERR_UNSUPPORTED);
  29. }