2014-02-18 04:08:10 -06:00
|
|
|
/*
|
2014-03-07 07:38:51 -06:00
|
|
|
* bhyve_command.h: bhyve command generation
|
2014-02-18 04:08:10 -06: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/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2019-06-07 15:20:15 -05:00
|
|
|
#pragma once
|
2014-02-18 04:08:10 -06:00
|
|
|
|
2019-06-07 15:20:15 -05:00
|
|
|
#include "bhyve_domain.h"
|
|
|
|
#include "bhyve_utils.h"
|
2014-02-18 04:08:10 -06:00
|
|
|
|
2019-06-07 15:20:15 -05:00
|
|
|
#include "domain_conf.h"
|
|
|
|
#include "vircommand.h"
|
2014-02-18 04:08:10 -06:00
|
|
|
|
2019-06-07 15:20:15 -05:00
|
|
|
#define BHYVE_CONFIG_FORMAT_ARGV "bhyve-argv"
|
2014-04-13 04:48:17 -05:00
|
|
|
|
2020-02-22 00:38:41 -06:00
|
|
|
virCommandPtr virBhyveProcessBuildBhyveCmd(bhyveConnPtr driver,
|
2014-08-14 11:15:57 -05:00
|
|
|
virDomainDefPtr def,
|
|
|
|
bool dryRun);
|
2014-02-18 04:08:10 -06:00
|
|
|
|
|
|
|
virCommandPtr
|
|
|
|
virBhyveProcessBuildDestroyCmd(bhyveConnPtr driver,
|
2014-04-13 04:27:03 -05:00
|
|
|
virDomainDefPtr def);
|
2014-02-18 04:08:10 -06:00
|
|
|
|
|
|
|
virCommandPtr
|
2020-02-22 00:38:41 -06:00
|
|
|
virBhyveProcessBuildLoadCmd(bhyveConnPtr driver, virDomainDefPtr def,
|
2014-11-08 10:48:30 -06:00
|
|
|
const char *devmap_file, char **devicesmap_out);
|