From 79ad3087818c747a95904cdbac78601a4005634f Mon Sep 17 00:00:00 2001 From: Jim Fehlig Date: Wed, 13 Jan 2010 18:31:14 -0700 Subject: [PATCH] Internal API Definition of internal API for virDomain{Attach,Detach}DeviceFlags. --- src/driver.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/driver.h b/src/driver.h index c7e4fbf24c..08fe816e05 100644 --- a/src/driver.h +++ b/src/driver.h @@ -191,9 +191,17 @@ typedef int typedef int (*virDrvDomainAttachDevice) (virDomainPtr domain, const char *xml); +typedef int + (*virDrvDomainAttachDeviceFlags) (virDomainPtr domain, + const char *xml, + unsigned int flags); typedef int (*virDrvDomainDetachDevice) (virDomainPtr domain, const char *xml); +typedef int + (*virDrvDomainDetachDeviceFlags) (virDomainPtr domain, + const char *xml, + unsigned int flags); typedef int (*virDrvDomainGetAutostart) (virDomainPtr domain, int *autostart); @@ -419,7 +427,9 @@ struct _virDriver { virDrvDomainDefineXML domainDefineXML; virDrvDomainUndefine domainUndefine; virDrvDomainAttachDevice domainAttachDevice; + virDrvDomainAttachDeviceFlags domainAttachDeviceFlags; virDrvDomainDetachDevice domainDetachDevice; + virDrvDomainDetachDeviceFlags domainDetachDeviceFlags; virDrvDomainGetAutostart domainGetAutostart; virDrvDomainSetAutostart domainSetAutostart; virDrvDomainGetSchedulerType domainGetSchedulerType; -- GitLab