2017-03-06 14:14:45 +00:00
|
|
|
/*
|
|
|
|
* virsysinfopriv.h: Header for functions tested in the test suite
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see
|
|
|
|
* <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2018-12-13 14:53:50 +00:00
|
|
|
#ifndef LIBVIRT_VIRSYSINFOPRIV_H_ALLOW
|
2017-03-06 14:14:45 +00:00
|
|
|
# error "virsysinfopriv.h may only be included by virsysinfo.c or test suites"
|
2018-12-13 14:53:50 +00:00
|
|
|
#endif /* LIBVIRT_VIRSYSINFOPRIV_H_ALLOW */
|
2017-03-06 14:14:45 +00:00
|
|
|
|
2019-06-18 16:13:04 +00:00
|
|
|
#pragma once
|
2017-03-06 14:14:45 +00:00
|
|
|
|
2017-03-06 14:25:07 +00:00
|
|
|
void
|
2020-06-08 10:53:04 +00:00
|
|
|
virSysinfoSetup(const char *sysinfo,
|
2017-03-06 14:25:07 +00:00
|
|
|
const char *cpuinfo);
|
|
|
|
|
2021-03-11 07:16:13 +00:00
|
|
|
virSysinfoDef *
|
2017-03-06 14:14:45 +00:00
|
|
|
virSysinfoReadPPC(void);
|
|
|
|
|
2021-03-11 07:16:13 +00:00
|
|
|
virSysinfoDef *
|
2017-03-06 14:14:45 +00:00
|
|
|
virSysinfoReadARM(void);
|
|
|
|
|
2021-03-11 07:16:13 +00:00
|
|
|
virSysinfoDef *
|
2017-03-06 14:14:45 +00:00
|
|
|
virSysinfoReadS390(void);
|
|
|
|
|
2021-03-11 07:16:13 +00:00
|
|
|
virSysinfoDef *
|
2019-05-10 12:08:09 +00:00
|
|
|
virSysinfoReadDMI(void);
|