libvirt/src/hyperv/hyperv_driver.h

31 lines
1.1 KiB
C
Raw Normal View History

2011-07-13 14:47:01 +00:00
/*
* hyperv_driver.h: core driver functions for managing Microsoft Hyper-V hosts
*
* 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
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
2011-07-13 14:47:01 +00:00
*
*/
#pragma once
2011-07-13 14:47:01 +00:00
#define HYPERV_MAX_SCSI_CONTROLLERS 4
#define HYPERV_MAX_DRIVES_PER_SCSI_CONTROLLER 64
#define HYPERV_MAX_IDE_CHANNELS 2
#define HYPERV_MAX_DRIVES_PER_IDE_CHANNEL 2
2011-07-13 14:47:01 +00:00
int hypervRegister(void);