[libvirt] [libvirt-glib 1/2] Use 1 GB of RAM in Python example (instead of 1 TB)

Christophe Fergeau cfergeau at redhat.com
Wed Sep 12 13:21:45 UTC 2012


Hey,

I've pushed your 2 patches and added your name to the AUTHORS file, thanks
for the patches!

Christophe

On Mon, Sep 10, 2012 at 04:12:43PM +0300, Timo Juhani Lindfors wrote:
> ---
>  examples/config-demo.py |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/examples/config-demo.py b/examples/config-demo.py
> index 92e8a89..016f9bb 100644
> --- a/examples/config-demo.py
> +++ b/examples/config-demo.py
> @@ -4,7 +4,7 @@ from gi.repository import LibvirtGConfig;
>  
>  domain = LibvirtGConfig.Domain.new()
>  domain.set_name("foo")
> -domain.set_memory(1024*1024*1024)
> +domain.set_memory(1024*1024)
>  domain.set_vcpus(2)
>  domain.set_lifecycle(LibvirtGConfig.DomainLifecycleEvent.ON_POWEROFF,
>                       LibvirtGConfig.DomainLifecycleAction.DESTROY)
> -- 
> 1.7.10.4
> 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120912/cffbe597/attachment-0001.sig>


More information about the libvir-list mailing list