[libvirt-users] 回复: Re: [libvirt] How to use "virsh migrat" with p2p option?

2011-10-24 Thread Guangya Liu
Hi Eric, Thanks for the answer, really appreciated! I noticed that the doc here http://libvirt.org/sources/virshcmdref/html-single/#sect-migrate is still not updated, where can I get the latest vesrion? Thanks, Guangya Liu ISF Developer Platform Computing Direct: +1 905 948 4526 Skype: guan

Re: [libvirt-users] [libvirt] How to use "virsh migrat" with p2p option?

2011-10-24 Thread Eric Blake
On 10/24/2011 02:34 AM, Guangya Liu wrote: > Hi libvirt support, > > Can you please give me some example of how to use "virsh migrate --live" with > p2p option including both source host and target host? https://www.redhat.com/archives/libvir-list/2011-October/msg01104.html -- Eric Blake ebl

Re: [libvirt-users] Hard limit for the cpu usage of a VM

2011-10-24 Thread sethuraman subbiah
>> >> I find that my version is 0.9.4. >> >> [root@sbc11 ssubbiah]# virsh --version >> 0.9.4 >> >> Should I do some modifications,enable options or add some patch to get the >> capability to set cap ? Thanks for all your help. > > I found this comment in the code: > >/* If we does not kno

Re: [libvirt-users] Hard limit for the cpu usage of a VM

2011-10-24 Thread Eric Blake
On 10/24/2011 02:54 PM, sethuraman subbiah wrote: [root@sbc11 ssubbiah]# virsh schedinfo rubis_ws --set vcpu_quota=50 Scheduler : posix error: invalid scheduler option: vcpu_quota=50 I get the same error for "virsh schedinfo rubies_ws --set vcpu_quota 50" . I find that my version is 0.9.4

Re: [libvirt-users] Hard limit for the cpu usage of a VM

2011-10-24 Thread sethuraman subbiah
On Oct 24, 2011, at 4:46 PM, Eric Blake wrote: > On 10/24/2011 02:39 PM, sethuraman subbiah wrote: >> Hi, >> >> >> >> When i use "[root@hgcc11 ssubbiah]# virsh schedinfo rubis_ws --cap 50" , I >> dont see the cap value being set and I am able to see only cpu shares. > > schedinfo --cap is ob

Re: [libvirt-users] Hard limit for the cpu usage of a VM

2011-10-24 Thread Eric Blake
On 10/24/2011 02:39 PM, sethuraman subbiah wrote: Hi, On Oct 24, 2011, at 4:30 PM, Eric Blake wrote: On 10/24/2011 02:24 PM, sethuraman subbiah wrote: Great, I have one more question. Is it possible to set the quota during run time from the host os ? Using virsh ? Thank you. virsh schedinf

Re: [libvirt-users] Hard limit for the cpu usage of a VM

2011-10-24 Thread sethuraman subbiah
Hi, On Oct 24, 2011, at 4:30 PM, Eric Blake wrote: > On 10/24/2011 02:24 PM, sethuraman subbiah wrote: >> Great, I have one more question. Is it possible to set the quota during run >> time from the host os ? Using virsh ? Thank you. > > virsh schedinfo can both query and alter these cpu tunabl

Re: [libvirt-users] Hard limit for the cpu usage of a VM

2011-10-24 Thread Eric Blake
On 10/24/2011 02:24 PM, sethuraman subbiah wrote: Great, I have one more question. Is it possible to set the quota during run time from the host os ? Using virsh ? Thank you. virsh schedinfo can both query and alter these cpu tunables, and that includes doing it while the guest is running.

Re: [libvirt-users] Hard limit for the cpu usage of a VM

2011-10-24 Thread sethuraman subbiah
Hi, - Regards, Sethuraman Subbiah Graduate Student - NC state University M.S in Computer Science On Oct 24, 2011, at 4:20 PM, Eric Blake wrote: > On 10/24/2011 01:50 PM, sethuraman subbiah wrote: >> Hi , >> >> I was previously using xen and currently moved to KVM. I am using libvirt to >> ma

Re: [libvirt-users] Hard limit for the cpu usage of a VM

2011-10-24 Thread Eric Blake
On 10/24/2011 01:50 PM, sethuraman subbiah wrote: Hi , I was previously using xen and currently moved to KVM. I am using libvirt to manage these VMs. In den's credit scheduler , I had the ability to set a cap on the cpu usage for a VM. But I was not able to find a similar substitute in KVM. I

Re: [libvirt-users] Fwd: Re: Unable to acquire lock

2011-10-24 Thread Eric Blake
On 10/24/2011 01:42 PM, Trey Dockendorf wrote: Accidentally sent to OP only. This has been with 0.8.7 on CentOS 6 CR that Ive had the problem. There are some known locking bugs in 0.8.7, that have been fixed in the meantime. You may want to try 0.9.4 from the RHEL 6.2 beta instead, which ha

[libvirt-users] Hard limit for the cpu usage of a VM

2011-10-24 Thread sethuraman subbiah
Hi , I was previously using xen and currently moved to KVM. I am using libvirt to manage these VMs. In den's credit scheduler , I had the ability to set a cap on the cpu usage for a VM. But I was not able to find a similar substitute in KVM. I find that we can use cgroups to provide shares for

[libvirt-users] Fwd: Re: Unable to acquire lock

2011-10-24 Thread Trey Dockendorf
Accidentally sent to OP only. This has been with 0.8.7 on CentOS 6 CR that Ive had the problem. -- Forwarded message -- From: "Trey Dockendorf" Date: Oct 24, 2011 12:31 AM Subject: Re: [libvirt-users] Unable to acquire lock To: "Jatin Kumar" On Mon, Oct 24, 2011 at 12:05 AM, J

Re: [libvirt-users] renaming a domain

2011-10-24 Thread Eric Blake
On 10/24/2011 11:31 AM, Roberto Attias (rattias) wrote: Hello, In my system a VM with a given domain name is defined and started. At a certain point I will define and start a new VM, with a different name. I then want to dispose of the old VM and rename the new one to the old one. Unfortunately

[libvirt-users] renaming a domain

2011-10-24 Thread Roberto Attias (rattias)
Hello, In my system a VM with a given domain name is defined and started. At a certain point I will define and start a new VM, with a different name. I then want to dispose of the old VM and rename the new one to the old one. Unfortunately I didn't find any API to do the last step. Is it possibl

[libvirt-users] Start of libvirtd fails with error "undefined symbol: __virAlloc"

2011-10-24 Thread Langenbach, Steffen
Hello List like described in the topic I have a problem with starting the libvirtd. I'm a complete newbie with libvirtd, today I heard the first time that such a daemon exists after I get the message that our webserver isn't running (a former colleague has installed this system). We have the fo

Re: [libvirt-users] Unable to acquire lock

2011-10-24 Thread Dave Allan
On Mon, Oct 24, 2011 at 10:35:13AM +0530, Jatin Kumar wrote: > Hello, > I am trying to execute virsh commands on a host but it is giving errors > due to failure in acquiring lock. > > root@kvm01:~# virsh suspend blindone > error: Failed to suspend domain blindone > error: Timed out during operatio

[libvirt-users] Running LXC instance as a non-root user

2011-10-24 Thread Dong-In David Kang
Hello, I'm new to this mailing list. I have a question on running an LXC instance from libvirt as a non-root user. I saw libvirt can launch a QEMU instance as a non-root user by editing /etc/libvirt/qemu.conf configuration file via the user=$USERNAME and group=$GROUPNAME parameters. But, I co

[libvirt-users] How to use "virsh migrat" with p2p option?

2011-10-24 Thread Guangya Liu
Hi libvirt support, Can you please give me some example of how to use "virsh migrate --live" with p2p option including both source host and target host? I try to get some info from your website, but no info with migrate. [root@vmoactive02 qemu]# virsh help migrate NAME migrate - migrat

Re: [libvirt-users] high-privileges

2011-10-24 Thread Andreas Kurz
Hello, On 10/21/2011 10:31 PM, Face wrote: > hello all, > > my vm (windows server 2008) keep crashing? > > > 2011-09-21 15:00:45.924: 1355: info : libvirt version: 0.9.6 > 2011-09-21 15:00:45.924: 1355: error : virSysinfoRead:465 : internal > error Failed to find path for dmidecode binary > 201

Re: [libvirt-users] high-privileges

2011-10-24 Thread Andreas Kurz
Hello, On 10/21/2011 10:31 PM, Face wrote: > hello all, > > my vm (windows server 2008) keep crashing? > > > 2011-09-21 15:00:45.924: 1355: info : libvirt version: 0.9.6 > 2011-09-21 15:00:45.924: 1355: error : virSysinfoRead:465 : internal > error Failed to find path for dmidecode binary > 201

Re: [libvirt-users] How to use "virsh migrat" with p2p option?

2011-10-24 Thread Guangya Liu
Hi libvirt support, Just introduce myself, I was an ISF developer from Platform Computing. Thanks, Guangya Liu ISF Developer Platform Computing Direct: +1 905 948 4526 Skype: guangyaliuf9 www.platform.com http://www.platform.com/> From: Guangya Liu Date: 2011-10

Re: [libvirt-users] VirtualBox 4.1 support

2011-10-24 Thread Stefano Facchini
Il giorno lun, 24/10/2011 alle 09.04 +0800, Osier Yang ha scritto: > 于 2011年10月23日 23:45, Stefano Facchini 写道: > > Il giorno dom, 23/10/2011 alle 16.13 +0200, Matthias Bolte ha scritto: > >> 2011/10/23 Stefano Facchini: > >>> Is version 4.1 (and later) of VirtualBox supported by libvirt? > >> Curre