[Libvirt-cim] [PATCH] Expose guest's emulator via the VSSD Emulator attribute

Richard Maciel rmaciel at linux.vnet.ibm.com
Mon Mar 23 18:03:43 UTC 2009


+1

Kaitlin Rupert wrote:
> # HG changeset patch
> # User Kaitlin Rupert <karupert at us.ibm.com>
> # Date 1237758585 25200
> # Node ID bf9fd956eeb00928a7f7e6a8bb3a0de11ef9fde6
> # Parent  1aff0d0e9bf49e738827b7157c0df407b814ae7d
> Expose guest's emulator via the VSSD Emulator attribute
> 
> If the guest has an emulator, set the Emulator attribute appropriately.
> 
> Signed-off-by: Kaitlin Rupert <karupert at us.ibm.com>
> 
> diff -r 1aff0d0e9bf4 -r bf9fd956eeb0 src/Virt_VSSD.c
> --- a/src/Virt_VSSD.c	Wed Mar 04 15:25:33 2009 -0800
> +++ b/src/Virt_VSSD.c	Sun Mar 22 14:49:45 2009 -0700
> @@ -135,6 +135,14 @@
>                                (CMPIValue *)&clock, CMPI_uint16);
>          }
> 
> +        if (dominfo->dev_emu != NULL) {
> +                CMSetProperty(inst,
> +                              "Emulator",
> +                              (CMPIValue *)dominfo->dev_emu->dev.emu.path,
> +                              CMPI_chars);
> +        }
> +
> +
>          if ((dominfo->type == DOMAIN_XENFV) ||
>              (dominfo->type == DOMAIN_KVM))
>                  _set_fv_prop(dominfo, inst);
> 
> _______________________________________________
> Libvirt-cim mailing list
> Libvirt-cim at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-cim


-- 
Richard Maciel, MSc
IBM Linux Technology Center
rmaciel at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list