2014-02-18 10:08:10 +00:00
|
|
|
/*
|
2014-03-07 13:38:51 +00:00
|
|
|
* bhyve_command.h: bhyve command generation
|
2014-02-18 10:08:10 +00:00
|
|
|
*
|
|
|
|
* Copyright (C) 2014 Roman Bogorodskiy
|
|
|
|
*
|
|
|
|
* 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/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __BHYVE_COMMAND_H__
|
|
|
|
# define __BHYVE_COMMAND_H__
|
|
|
|
|
2014-11-08 16:48:30 +00:00
|
|
|
# include "bhyve_domain.h"
|
2014-02-18 10:08:10 +00:00
|
|
|
# include "bhyve_utils.h"
|
|
|
|
|
|
|
|
# include "domain_conf.h"
|
|
|
|
# include "vircommand.h"
|
|
|
|
|
2014-04-13 09:48:17 +00:00
|
|
|
# define BHYVE_CONFIG_FORMAT_ARGV "bhyve-argv"
|
|
|
|
|
2014-08-14 16:15:57 +00:00
|
|
|
virCommandPtr virBhyveProcessBuildBhyveCmd(virConnectPtr conn,
|
|
|
|
virDomainDefPtr def,
|
|
|
|
bool dryRun);
|
2014-02-18 10:08:10 +00:00
|
|
|
|
|
|
|
virCommandPtr
|
|
|
|
virBhyveProcessBuildDestroyCmd(bhyveConnPtr driver,
|
2014-04-13 09:27:03 +00:00
|
|
|
virDomainDefPtr def);
|
2014-02-18 10:08:10 +00:00
|
|
|
|
|
|
|
virCommandPtr
|
2014-11-08 16:48:30 +00:00
|
|
|
virBhyveProcessBuildLoadCmd(virConnectPtr conn, virDomainDefPtr def,
|
|
|
|
const char *devmap_file, char **devicesmap_out);
|
2014-02-18 10:08:10 +00:00
|
|
|
|
|
|
|
#endif /* __BHYVE_COMMAND_H__ */
|