* Credit-Based CPU Scheduling & Modifying VM Disk Size
@ 2010-08-09 20:33 Michael Li
2010-08-09 21:51 ` Daniel P. Berrange
0 siblings, 1 reply; 3+ messages in thread
From: Michael Li @ 2010-08-09 20:33 UTC (permalink / raw)
To: kvm
Just wondering if KVM supports (if not now then will it in future releases) the following:
- Credit-Based CPU Scheduling like Xen. I tried the following command using RHEL 5.5 and it does not work:
$ virsh schedinfo RHEL5u3-tomcat
Scheduler : Unknown
error: this function is not supported by the hypervisor: virDomainGetSchedulerType
- Modify VM's Disk Size
Thanks,
Mike
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Credit-Based CPU Scheduling & Modifying VM Disk Size
2010-08-09 20:33 Credit-Based CPU Scheduling & Modifying VM Disk Size Michael Li
@ 2010-08-09 21:51 ` Daniel P. Berrange
2010-08-10 3:52 ` David S. Ahern
0 siblings, 1 reply; 3+ messages in thread
From: Daniel P. Berrange @ 2010-08-09 21:51 UTC (permalink / raw)
To: Michael Li; +Cc: kvm
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 releases) the following:
>
> - Credit-Based CPU Scheduling like Xen. I tried the following command using RHEL 5.5 and it does not work:
>
> $ virsh schedinfo RHEL5u3-tomcat
> Scheduler : Unknown
> error: this function is not supported by the hypervisor: virDomainGetSchedulerType
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= param
to avoid killing your existing data :-)
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Credit-Based CPU Scheduling & Modifying VM Disk Size
2010-08-09 21:51 ` Daniel P. Berrange
@ 2010-08-10 3:52 ` David S. Ahern
0 siblings, 0 replies; 3+ messages in thread
From: David S. Ahern @ 2010-08-10 3:52 UTC (permalink / raw)
To: Daniel P. Berrange, Michael Li; +Cc: kvm
On 08/09/10 15:51, Daniel P. Berrange wrote:
>> - 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= param
> to avoid killing your existing data :-)
>
> Daniel
New versions of qemu-img have a 'resize' command to change the disk size.
David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-08-10 3:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-09 20:33 Credit-Based CPU Scheduling & Modifying VM Disk Size Michael Li
2010-08-09 21:51 ` Daniel P. Berrange
2010-08-10 3:52 ` David S. Ahern
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).