1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-14 23:24:23 +03:00

vbox: Rewrite vboxDomainGetXMLDesc

This commit is contained in:
Taowei 2014-08-11 18:06:43 +08:00 committed by Michal Privoznik
parent 80095678d8
commit 3611c4000c
4 changed files with 1094 additions and 1253 deletions

File diff suppressed because it is too large Load Diff

View File

@ -196,6 +196,15 @@ enum NetworkAdapterType
NetworkAdapterType_Virtio = 6
};
enum NetworkAttachmentType
{
NetworkAttachmentType_Null = 0,
NetworkAttachmentType_NAT = 1,
NetworkAttachmentType_Bridged = 2,
NetworkAttachmentType_Internal = 3,
NetworkAttachmentType_HostOnly = 4
};
enum PortMode
{
PortMode_Disconnected = 0,

File diff suppressed because it is too large Load Diff

View File

@ -516,6 +516,7 @@ int vboxDomainSetVcpusFlags(virDomainPtr dom, unsigned int nvcpus,
int vboxDomainSetVcpus(virDomainPtr dom, unsigned int nvcpus);
int vboxDomainGetVcpusFlags(virDomainPtr dom, unsigned int flags);
int vboxDomainGetMaxVcpus(virDomainPtr dom);
char *vboxDomainGetXMLDesc(virDomainPtr dom, unsigned int flags);
/* Version specified functions for installing uniformed API */
void vbox22InstallUniformedAPI(vboxUniformedAPI *pVBoxAPI);