2014-04-12 23:37:53 +04:00
|
|
|
/*
|
|
|
|
* bhyve_domain.h: bhyve domain private state headers
|
|
|
|
*
|
|
|
|
* 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-04-12 23:37:53 +04:00
|
|
|
|
2019-06-07 15:20:15 -05:00
|
|
|
#include "domain_addr.h"
|
|
|
|
#include "domain_conf.h"
|
2014-04-12 23:37:53 +04:00
|
|
|
|
2019-06-07 15:20:15 -05:00
|
|
|
#include "bhyve_monitor.h"
|
2015-11-04 18:08:00 +03:00
|
|
|
|
2014-04-12 23:37:53 +04:00
|
|
|
typedef struct _bhyveDomainObjPrivate bhyveDomainObjPrivate;
|
|
|
|
struct _bhyveDomainObjPrivate {
|
2021-03-11 08:16:13 +01:00
|
|
|
virDomainPCIAddressSet *pciaddrs;
|
2014-04-12 23:37:53 +04:00
|
|
|
bool persistentAddrs;
|
2015-11-04 18:08:00 +03:00
|
|
|
|
2021-03-11 08:16:13 +01:00
|
|
|
bhyveMonitor *mon;
|
2014-04-12 23:37:53 +04:00
|
|
|
};
|
|
|
|
|
2021-03-11 08:16:13 +01:00
|
|
|
virDomainXMLOption *virBhyveDriverCreateXMLConf(struct _bhyveConn *);
|
2017-01-05 16:31:35 +04:00
|
|
|
|
2014-04-12 23:37:53 +04:00
|
|
|
extern virDomainXMLPrivateDataCallbacks virBhyveDriverPrivateDataCallbacks;
|
|
|
|
extern virDomainDefParserConfig virBhyveDriverDomainDefParserConfig;
|
2019-08-20 23:39:24 +02:00
|
|
|
extern virXMLNamespace virBhyveDriverDomainXMLNamespace;
|