1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-24 21:34:01 +03:00
one/include/LibVirtDriver.h
Constantino Vázquez Blanco 39f766b512 Added KVM Driver support (Not finished yet, XML creation pending)
Renamed some file for coherence.

git-svn-id: http://svn.opennebula.org/trunk@31 3034c82b-c49b-4eb3-8279-a7acafdc01c0
2008-07-04 16:55:49 +00:00

36 lines
716 B
C++

#ifndef LIBVIRT_DRIVER_H_
#define LIBVIRT_DRIVER_H_
#include <map>
#include <string>
#include <sstream>
#include "VirtualMachineManagerDriver.h"
class LibVirtDriver : public VirtualMachineManagerDriver
{
public:
LibVirtDriver(
int userid,
const map<string,string> &attrs,
bool sudo,
VirtualMachinePool * pool,
const string _emulator):
VirtualMachineManagerDriver(userid, attrs,sudo,pool),
emulator(_emulator)
{};
~LibVirtDriver(){};
private:
int deployment_description(
const VirtualMachine * vm,
const string& file_name) const;
const string emulator;
};
#endif /*LIBVIRT_DRIVER_H_*/