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

Re: [libvirt] [PATCH v3 11/13] Set cpuCompare handler in drivers



On Wed, Dec 16, 2009 at 12:04:08AM +0100, Jiri Denemark wrote:
> 
> Signed-off-by: Jiri Denemark <jdenemar redhat com>
> ---
>  src/esx/esx_driver.c       |    1 +
>  src/lxc/lxc_driver.c       |    1 +
>  src/openvz/openvz_driver.c |    1 +
>  src/test/test_driver.c     |    1 +
>  src/uml/uml_driver.c       |    1 +
>  src/vbox/vbox_tmpl.c       |    1 +
>  6 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/src/esx/esx_driver.c b/src/esx/esx_driver.c
> index ea464a3..c7b9e06 100644
> --- a/src/esx/esx_driver.c
> +++ b/src/esx/esx_driver.c
> @@ -3428,6 +3428,7 @@ static virDriver esxDriver = {
>      esxIsSecure,                     /* isSecure */
>      esxDomainIsActive,               /* domainIsActive */
>      esxDomainIsPersistent,           /* domainIsPersistent */
> +    NULL,                            /* cpuCompare */
>  };
>  
>  
> diff --git a/src/lxc/lxc_driver.c b/src/lxc/lxc_driver.c
> index c8e2dca..1ce7ad6 100644
> --- a/src/lxc/lxc_driver.c
> +++ b/src/lxc/lxc_driver.c
> @@ -2454,6 +2454,7 @@ static virDriver lxcDriver = {
>      lxcIsSecure,
>      lxcDomainIsActive,
>      lxcDomainIsPersistent,
> +    NULL, /* cpuCompare */
>  };
>  
>  static virStateDriver lxcStateDriver = {
> diff --git a/src/openvz/openvz_driver.c b/src/openvz/openvz_driver.c
> index 1c0fccc..b62070f 100644
> --- a/src/openvz/openvz_driver.c
> +++ b/src/openvz/openvz_driver.c
> @@ -1533,6 +1533,7 @@ static virDriver openvzDriver = {
>      openvzIsSecure,
>      openvzDomainIsActive,
>      openvzDomainIsPersistent,
> +    NULL, /* cpuCompare */
>  };
>  
>  int openvzRegister(void) {
> diff --git a/src/test/test_driver.c b/src/test/test_driver.c
> index 7db9a4c..5c61f24 100644
> --- a/src/test/test_driver.c
> +++ b/src/test/test_driver.c
> @@ -5236,6 +5236,7 @@ static virDriver testDriver = {
>      testIsSecure, /* isEncrypted */
>      testDomainIsActive, /* domainIsActive */
>      testDomainIsPersistent, /* domainIsPersistent */
> +    NULL, /* cpuCompare */
>  };
>  
>  static virNetworkDriver testNetworkDriver = {
> diff --git a/src/uml/uml_driver.c b/src/uml/uml_driver.c
> index 48ef103..e6ba773 100644
> --- a/src/uml/uml_driver.c
> +++ b/src/uml/uml_driver.c
> @@ -1922,6 +1922,7 @@ static virDriver umlDriver = {
>      umlIsSecure,
>      umlDomainIsActive,
>      umlDomainIsPersistent,
> +    NULL, /* cpuCompare */
>  };
>  
>  
> diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c
> index d6b681c..bede574 100644
> --- a/src/vbox/vbox_tmpl.c
> +++ b/src/vbox/vbox_tmpl.c
> @@ -7049,6 +7049,7 @@ virDriver NAME(Driver) = {
>      vboxIsSecure,
>      vboxDomainIsActive,
>      vboxDomainIsPersistent,
> +    NULL, /* cpuCompare */
>  };
>  
>  virNetworkDriver NAME(NetworkDriver) = {

This one needs to be merged with patch 4, otherwise you can't compile
the intermediate steps.


Also need to add Xen, Phyp & OpenNebula drivers to it.

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 :|


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