2011-07-13 16:47:01 +02:00
|
|
|
/*
|
|
|
|
* hyperv_private.h: private driver struct for the Microsoft Hyper-V driver
|
|
|
|
*
|
|
|
|
* Copyright (C) 2011 Matthias Bolte <matthias.bolte@googlemail.com>
|
|
|
|
* Copyright (C) 2009 Michael Sievers <msievers83@googlemail.com>
|
|
|
|
*
|
|
|
|
* 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
|
2012-09-20 16:30:55 -06:00
|
|
|
* License along with this library. If not, see
|
2012-07-21 18:06:23 +08:00
|
|
|
* <http://www.gnu.org/licenses/>.
|
2011-07-13 16:47:01 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2019-06-07 15:20:25 -05:00
|
|
|
#pragma once
|
2011-07-13 16:47:01 +02:00
|
|
|
|
2019-06-07 15:20:25 -05:00
|
|
|
#include "internal.h"
|
|
|
|
#include "virerror.h"
|
|
|
|
#include "hyperv_util.h"
|
2021-01-21 13:50:47 -05:00
|
|
|
#include "hyperv_wsman.h"
|
2020-10-05 12:20:10 -04:00
|
|
|
#include "capabilities.h"
|
2020-11-23 12:39:52 -05:00
|
|
|
#include "domain_conf.h"
|
2011-07-13 16:47:01 +02:00
|
|
|
|
2017-04-04 18:26:05 -04:00
|
|
|
typedef struct _hypervPrivate hypervPrivate;
|
2011-07-13 17:05:19 +02:00
|
|
|
struct _hypervPrivate {
|
2011-07-13 17:16:47 +02:00
|
|
|
hypervParsedUri *parsedUri;
|
2011-07-13 17:05:19 +02:00
|
|
|
WsManClient *client;
|
2020-10-05 12:20:10 -04:00
|
|
|
virCapsPtr caps;
|
2020-11-23 12:39:52 -05:00
|
|
|
virDomainXMLOptionPtr xmlopt;
|
2021-01-21 13:50:42 -05:00
|
|
|
char *version;
|
2011-07-13 17:05:19 +02:00
|
|
|
};
|