Re: [libvirt] Re: [PATCH 05/12] Domain Events - Driver API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 17, 2008 at 12:00:16PM -0400, Ben Guthro wrote:
> Additions to the driver API
> 
>  driver.h |   19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)



> diff --git a/src/driver.h b/src/driver.h
> index 0540f80..c88dea8 100644
> --- a/src/driver.h
> +++ b/src/driver.h
> @@ -280,6 +280,22 @@ typedef unsigned long long
>      (*virDrvNodeGetFreeMemory)
>                      (virConnectPtr conn);
>  
> +typedef int
> +    (*virDrvDomainEventRegister)
> +                    (virConnectPtr conn,
> +                     void *callback,
> +                     void *opaque);
> +
> +typedef int
> +    (*virDrvDomainEventDeregister)
> +                    (virConnectPtr conn,
> +                     void *callback);
> +
> +typedef void
> +    (*virDrvDomainEventDispatch)
> +                    (virDomainPtr dom,
> +                     virDomainEventType evt);

I don't believe this 3rd field is needed here - I'll explain against the
QEMU driver patch.

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]