On Thu, Jan 14, 2010 at 10:42:40AM -0700, Jim Fehlig wrote: > Definition of internal API for virDomain{Attach,Detach}DeviceFlags. > --- > src/driver.h | 10 ++++++++++ > 1 files changed, 10 insertions(+), 0 deletions(-) > > diff --git a/src/driver.h b/src/driver.h > index c7e4fbf..08fe816 100644 > --- a/src/driver.h > +++ b/src/driver.h > @@ -192,9 +192,17 @@ 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); > typedef int > @@ -419,7 +427,9 @@ struct _virDriver { > virDrvDomainDefineXML domainDefineXML; > virDrvDomainUndefine domainUndefine; > virDrvDomainAttachDevice domainAttachDevice; > + virDrvDomainAttachDeviceFlags domainAttachDeviceFlags; > virDrvDomainDetachDevice domainDetachDevice; > + virDrvDomainDetachDeviceFlags domainDetachDeviceFlags; > virDrvDomainGetAutostart domainGetAutostart; > virDrvDomainSetAutostart domainSetAutostart; > virDrvDomainGetSchedulerType domainGetSchedulerType; > -- ACK Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list