On Mon, Sep 10, 2012 at 04:12:44PM +0300, Timo Juhani Lindfors wrote: > Without this creating the domain fails: > > gi._glib.GError: Failed to create domain: internal error missing domain type attribute > --- > examples/config-demo.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/examples/config-demo.py b/examples/config-demo.py > index 016f9bb..aa2493e 100644 > --- a/examples/config-demo.py > +++ b/examples/config-demo.py > @@ -8,6 +8,7 @@ domain.set_memory(1024*1024) > domain.set_vcpus(2) > domain.set_lifecycle(LibvirtGConfig.DomainLifecycleEvent.ON_POWEROFF, > LibvirtGConfig.DomainLifecycleAction.DESTROY) > +domain.set_virt_type(LibvirtGConfig.DomainVirtType.KVM) ACK > > clock = LibvirtGConfig.DomainClock.new() > clock.set_offset(LibvirtGConfig.DomainClockOffset.UTC) > -- > 1.7.10.4 > > -- > libvir-list mailing list > libvir-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/libvir-list
Attachment:
pgpZI6ye5Ex30.pgp
Description: PGP signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list