Re: [libvirt-users] Ruby libvirt gem: state reasons

2011-11-17 Thread Ken Coar
On 11/17/2011 05:15 PM, Mohammed Naser wrote: > Sent from my iPhone > > On 2011-11-17, at 5:07 PM, Ken Coar wrote: > >> Does anyone know of a way to use the Ruby bindings to find out >> the 'reason' value for the state of the VM? Such as obtaining >> VIR_DOMAIN_RUNNING_BOOTED for a running doma

Re: [libvirt-users] Ruby libvirt gem: state reasons

2011-11-17 Thread Mohammed Naser
Sent from my iPhone On 2011-11-17, at 5:07 PM, Ken Coar wrote: > Does anyone know of a way to use the Ruby bindings to find out > the 'reason' value for the state of the VM? Such as obtaining > VIR_DOMAIN_RUNNING_BOOTED for a running domain? Don't have the API on hand but you can compare them

[libvirt-users] Ruby libvirt gem: state reasons

2011-11-17 Thread Ken Coar
Does anyone know of a way to use the Ruby bindings to find out the 'reason' value for the state of the VM? Such as obtaining VIR_DOMAIN_RUNNING_BOOTED for a running domain? -- #kenB-)} Ken Coar, Sanagendamgagwedweinini IT Engineering Tower, Red Hat/RDU "Millennium hand and shrimp!" ___

[libvirt-users] Defined VM goes missing in multi-threaded environment.

2011-11-17 Thread Sharad Mishra
In a multi-threaded environment where multiple threads are trying to get list of all VMs on host, we have seen that at times this list is missing couple of VMs. The code used is fairly simple, it makes three libvirt calls. 1. Call virConnectNumOfDefinedDomains() to get number of defined domains.

[libvirt-users] [libvirt-user] questions about disk driver virtio and charmonitor

2011-11-17 Thread Chang Liu
hi all, I have two questions about libvirt. At first, how can I write a XML file that libvirt could give me a command that include this: if=virtio. -drive file=/dev/vg.vmms/lvm-v097218.sqa.cm4,if=none,id=drive-ide0-0-0,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,

Re: [libvirt-users] libvirt uninstall @ install problem??

2011-11-17 Thread Osier Yang
于 2011年11月17日 17:30, 张光鹏 写道: Hi: I have a rhel6.1 system, before I installed libvirt0.9.6.tar.gz, it already have installed libvirt-0.8.7-xxx.rpm. Can someone tell me how to uninstall the libvirt-0.8.7XXX.rpm ,and then i can install libvirt0.9.6.tar.gz and use it . Per you installed 0.8.7 as

[libvirt-users] libvirt uninstall @ install problem??

2011-11-17 Thread 张光鹏
Hi: I have a rhel6.1 system, before I installed libvirt0.9.6.tar.gz, it already have installed libvirt-0.8.7-xxx.rpm. Can someone tell me how to uninstall the libvirt-0.8.7XXX.rpm ,and then i can install libvirt0.9.6.tar.gz and use it . Thanks! zhan...@neusoft.com ---

[libvirt-users] Re: consider bios upgrade...

2011-11-17 Thread Nicolas Sebrecht
The 16/11/11, jurgen.depic...@let.be wrote: >Now I'm not sure what this is all about: how can I possibly upgrade my >VM's BIOS, or should I do something else?  Can it have something to do >with the processor specs in the VM's XML definition? Giving your hardware specs and Windows vers