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

2012-07-23 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] INTERNAL ERROR:can not attach network interface for vm

2012-07-23 Thread Gao Yongwei
2012/7/23 Osier Yang : > On 2012年07月23日 17:24, Gao Yongwei wrote: >> >> hello,i got a error message when use virsh attach-interface for a vm: >> >> first, list the vm's interface,there's no interface now. >> virsh # domiflist ubuntum-124 >> Interface Type Source Model MAC >> --

Re: [libvirt-users] vm grub errors

2012-07-23 Thread ]4M3Z
I found the solution to this. Apparently the order of disk devices passed as arguments to virt-install is important. It seems that the device where the bootable partition will be installed must be the first in line of disks passed to virt-install. The debian installer chooses to install grub to the

Re: [libvirt-users] INTERNAL ERROR:can not attach network interface for vm

2012-07-23 Thread Osier Yang
On 2012年07月23日 17:24, Gao Yongwei wrote: hello,i got a error message when use virsh attach-interface for a vm: first, list the vm's interface,there's no interface now. virsh # domiflist ubuntum-124 Interface Type Source Model MAC -

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

2012-07-23 Thread Helga Velroyen
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 configured it to talk to several USB devices. > > > > With one particular device (

[libvirt-users] INTERNAL ERROR:can not attach network interface for vm

2012-07-23 Thread Gao Yongwei
hello,i got a error message when use virsh attach-interface for a vm: first, list the vm's interface,there's no interface now. virsh # domiflist ubuntum-124 Interface Type Source Model MAC --- then,i did an attach-interface acti