Re: [libvirt-users] virDomainDefineXml Issue
On Fri, Sep 09, 2011 at 16:02:45 +0200, Kiran Javaid wrote: Hello Everyone, I am facing a problem in defining the xml for domain creation using libvirt. I am using Xen hypervisor. domPtr = lib.virDomainDefineXML(conPtr, domainXML); I get the following error: libvir: Xen Daemon error : XML error: failed to parse domain description This suggests there is an error in your xml. Would you mind sending the content of domainXML to this list? Jirka ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Re: [libvirt-users] Reg: Difference between chroot pivot_root
On Tue, Sep 06, 2011 at 01:02:14PM -0400, Alphonse Hansel Anthony wrote: Hi, What is the difference between chroot pivot_root. They don't seem obvious based on the man pages apart from the below mentioned caveats. 1) Inherited Open file descriptors, have to be explicitly closed. 2) Does not change CWD of the process, which can be overcome by doing a chdir before after chroot call. Any information on this would be useful. I assume you are asking wrt the libvirt LXC driver, which uses pivot_root instead of chroot() when setting up the guest. The primary reason for this is that chroot() is escapable, where as pivot_root() is not. https://s3hh.wordpress.com/2011/05/31/escaping-chroots/ Regards, Daniel -- |: http://berrange.com -o-http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Re: [libvirt-users] CPU Model detection with virsh capabilities
On Mon, Sep 12, 2011 at 16:33:53 +0200, Olivier BONHOMME wrote: Hello, Thanks for your answer. My virsh capabilities is the following : cpu archx86_64/arch modelpentium3/model vendorIntel/vendor topology sockets='1' cores='4' threads='1'/ feature name='lahf_lm'/ feature name='lm'/ feature name='syscall'/ feature name='sse4.1'/ feature name='dca'/ feature name='xtpr'/ feature name='cx16'/ feature name='ssse3'/ feature name='tm2'/ feature name='est'/ feature name='vmx'/ feature name='ds_cpl'/ feature name='monitor'/ feature name='pni'/ feature name='pbe'/ feature name='tm'/ feature name='ht'/ feature name='ss'/ feature name='sse2'/ feature name='acpi'/ feature name='ds'/ feature name='clflush'/ feature name='apic'/ /cpu About what you say, I totally agree. It's just I am very surprised that an Intel Xeon E5430 is detected just as a pentium3 That's because your CPU doesn't support nx feature, which is included in all models better than pentium3. Jirka ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Re: [libvirt-users] CPU Model detection with virsh capabilities
Le 12/09/2011 16:54, Jiri Denemark a écrit : That's because your CPU doesn't support nx feature, which is included in all models better than pentium3. Jirka Is NX, the NX bit feature ? In that case, I am going to check in the bios if it is just not enabled. Because, normally, this CPU should support it. Regards, Olivier BONHOMME ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users
Re: [libvirt-users] CPU Model detection with virsh capabilities
On Mon, Sep 12, 2011 at 17:06:06 +0200, Olivier BONHOMME wrote: Le 12/09/2011 16:54, Jiri Denemark a écrit : That's because your CPU doesn't support nx feature, which is included in all models better than pentium3. Jirka Is NX, the NX bit feature ? I think so. In that case, I am going to check in the bios if it is just not enabled. Because, normally, this CPU should support it. That might be it. Jirka ___ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users