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__
|
|
|
|
|
|
|
|
# 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-02-18 10:08:10 +00:00
|
|
|
virCommandPtr virBhyveProcessBuildBhyveCmd(bhyveConnPtr,
|
2014-04-13 09:27:03 +00:00
|
|
|
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
|
|
|
|
virBhyveProcessBuildLoadCmd(bhyveConnPtr driver,
|
2014-04-13 09:27:03 +00:00
|
|
|
virDomainDefPtr def);
|
2014-02-18 10:08:10 +00:00
|
|
|
|
|
|
|
#endif /* __BHYVE_COMMAND_H__ */
|