2007-07-17 13:27:26 +00:00
|
|
|
/*
|
|
|
|
* openvz_driver.h: core driver methods for managing OpenVZ VPSs
|
|
|
|
*
|
2007-09-03 15:37:07 +00:00
|
|
|
* Copyright (C) 2006, 2007 Binary Karma
|
2007-07-17 13:27:26 +00:00
|
|
|
* Copyright (C) 2006 Shuveb Hussain
|
2007-09-03 15:37:07 +00:00
|
|
|
* Copyright (C) 2007 Anoop Joe Cyriac
|
2007-07-17 13:27:26 +00:00
|
|
|
*
|
|
|
|
* 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 22:30:55 +00:00
|
|
|
* License along with this library. If not, see
|
2012-07-21 10:06:23 +00:00
|
|
|
* <http://www.gnu.org/licenses/>.
|
2007-07-17 13:27:26 +00:00
|
|
|
*
|
2008-02-05 19:27:37 +00:00
|
|
|
* Authors:
|
2007-09-03 15:37:07 +00:00
|
|
|
* Shuveb Hussain <shuveb@binarykarma.com>
|
|
|
|
* Anoop Joe Cyriac <anoop@binarykarma.com>
|
|
|
|
*
|
2007-07-17 13:27:26 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef OPENVZ_DRIVER_H
|
2010-03-09 18:22:22 +00:00
|
|
|
# define OPENVZ_DRIVER_H
|
2007-07-17 13:27:26 +00:00
|
|
|
|
2010-03-09 18:22:22 +00:00
|
|
|
# include "internal.h"
|
2007-07-17 13:27:26 +00:00
|
|
|
|
2014-09-05 02:25:06 +00:00
|
|
|
# define OPENVZ_MIGRATION_FLAGS \
|
|
|
|
(VIR_MIGRATE_LIVE)
|
|
|
|
|
|
|
|
/* All supported migration parameters and their types. */
|
|
|
|
# define OPENVZ_MIGRATION_PARAMETERS \
|
|
|
|
VIR_MIGRATE_PARAM_URI, VIR_TYPED_PARAM_STRING, \
|
|
|
|
VIR_MIGRATE_PARAM_DEST_NAME, VIR_TYPED_PARAM_STRING, \
|
|
|
|
VIR_MIGRATE_PARAM_DEST_XML, VIR_TYPED_PARAM_STRING, \
|
|
|
|
NULL
|
|
|
|
|
2007-07-17 13:27:26 +00:00
|
|
|
int openvzRegister(void);
|
|
|
|
|
|
|
|
#endif
|