[libvirt-users] libvirt shortcomings of virsh domxml-to-native and domxml-from-native

2012-07-24 Thread 张光鹏
Hi,all. we use libvirt to manage some host and vms on vmware hypervisor.I have found the libvirt there are some shortcomings . Such as virsh domxml-to-native and domxml-from-native .I have reviewed the libvirt source --src/vmx/vmx.c, code as follows : libvirt0.9.13源码xml 转化成vmxvmx转化成xml /* def:os.

Re: [libvirt-users] virsh iface-list error

2012-07-24 Thread Eric Blake
On 07/24/2012 03:52 AM, Arun Sharma wrote: > Hello > > Facing below error while trying to access the iface-list. > > # virsh iface-list > *error: Failed to list active interfaces > error: this function is not supported by the connection driver: > virConnectNumOfInterfaces* I think this is a resu

Re: [libvirt-users] virsh iface-list error

2012-07-24 Thread Ananth
How are you launching the virsh program? The newly built libvirt will also have virsh program. Ensure that you launch that virsh, otherwise the virsh which is already defined in your PATH will be triggered, which would connect to older version of libivrt. Ensure you replaced the libivirt socket fil

[libvirt-users] virsh iface-list error

2012-07-24 Thread Arun Sharma
Hello Facing below error while trying to access the iface-list. # virsh iface-list *error: Failed to list active interfaces error: this function is not supported by the connection driver: virConnectNumOfInterfaces* root@kvm-1:/usr/local/src/libvirt# virsh list IdName

Re: [libvirt-users] VM dies with error regarding "virConnectNumOfInterfaces"

2012-07-24 Thread Laine Stump
On 07/23/2012 05:59 AM, Helga Velroyen wrote: > Hi! > > thanks for your mail! See my answers inline. > > > I ran into a problem using a USB device and was wondering if > > you could help me. > > > > I'm running a Win XP SP3 in a VM with libvirt on a Xubuntu 11.10. > > I configur

[libvirt-users] How can I make sVirt work with LXC (libvirt-0.9.13)?

2012-07-24 Thread David Kang
 Hi,  I've installed libvirt-0.9.13 on RHEL6.2 from the source code. I cannot make sVirt working with LXC. (sVirt works well with KVM, though.) I can start an LXC instance, but the label of the process is not right. Can someone help me? I tried to change /etc/libvirtd/lxc.conf file to explicitly

Re: [libvirt-users] Setting CPU type for a vm

2012-07-24 Thread Mauricio Tavares
On Thu, Jul 19, 2012 at 10:01 AM, Daniel P. Berrange wrote: > On Thu, Jul 19, 2012 at 07:54:49AM -0600, Eric Blake wrote: >> On 07/18/2012 08:45 PM, Mauricio Tavares wrote: >> > I have a Windows XP vm and would like to know how should I set its >> > cpu so it is seen by the vm as a proper 32bi

Re: [libvirt-users] Setting CPU type for a vm

2012-07-24 Thread Mauricio Tavares
On Thu, Jul 19, 2012 at 9:54 AM, Eric Blake wrote: >> But, the vm reports it not only as a 286 but also claims not to have the >> right drivers for it. How can I make the vm see it as a 686 or something >> like that? > > Huh? The guest should be seeing it's CPU as a 686. What is the actual > err

[libvirt-users] help about libvirt console

2012-07-24 Thread lei yang
Hi list, My xml is like below, it works well with "virsh console qemu1" qemu1 1024000 512000 1 hvm /boot/bzImage console=ttyS0 root=/dev/hda rw I want to use virtio console, so I change then I do #vir