From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: Credit-Based CPU Scheduling & Modifying VM Disk Size Date: Mon, 9 Aug 2010 22:51:28 +0100 Message-ID: <20100809215128.GC12525@redhat.com> References: Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org To: Michael Li Return-path: Received: from mx1.redhat.com ([209.132.183.28]:35433 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754764Ab0HIVvd (ORCPT ); Mon, 9 Aug 2010 17:51:33 -0400 Content-Disposition: inline In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Mon, Aug 09, 2010 at 04:33:46PM -0400, Michael Li wrote: > Just wondering if KVM supports (if not now then will it in future rel= eases) the following: >=20 > - Credit-Based CPU Scheduling like Xen. I tried the following command= using RHEL 5.5 and it does not work: >=20 > $ virsh schedinfo RHEL5u3-tomcat > Scheduler=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 : Unknown > error: this function is not supported by the hypervisor: virDomainGet= SchedulerType libvirt only supports the schedinfo command / API against KVM when you have the 'cpu' CGroups controller mounted. Cgroups isn't available for RHEL-5.5 hosts though, so you'd have to wait for RHEL6 in this case. > - Modify VM's Disk Size qemu-img can copy disks, resizing as it does it. For raw disks just dd extra sace onto the end of it (with a suitable seek=3D param to avoid killing your existing data :-) Daniel --=20 |: Red Hat, Engineering, London -o- http://people.redhat.com/berra= nge/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud= =2Eorg :| |: http://autobuild.org -o- http://search.cpan.org/~danb= err/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B = 9505 :|