I'll try to answer the open questions.
Btw, libvirt is a great project and a very good option for managing kvm.
In the future use plain text for the list messages.
________________________________
From: jd [mailto:[EMAIL PROTECTED]
Sent: Saturday, April 28, 2007 8:12 AM
To: Daniel P. Berrange
Subject: Re: [kvm-devel] KVM management and API
Thanks Daniel. But I was looking for bit of under the hood answers.
For cpu /proc seems to be used.. which seems fine, but will not work for
QEMU on Windows.
KVM is not supported in Windows host anyway.
Some core qemu quesions still remains
-- what are the plans to dynamically be able to change cpu , mem, disks
and n/w for a running vm ?
When we'll support SMP you could add vcpus dynamically. The same for
hotplug memory slots.
Regarding disks, you can post it in qemu's list.
-- proper shutdown/restart of VM ?
Currently powerdown/restart are supported.
Hoping some kvm/qemu experts would thrown in some light on the
directions and plans.
Thanks in advance.
/Jd
"Daniel P. Berrange" <[EMAIL PROTECTED]> wrote:
On Fri, Apr 27, 2007 at 02:29:52PM -0700, jd wrote:
> Hi
> This is a great project with a lots and lots of potential. I have a
> bunch of questions related to managing kvm VMs.
> 4. How much I/O and Network I/O
You can get it from the tap interface.
> 5. Wait times to get to I/O or CPU. (contention measures)
Can be retrieved from /proc/pid/stat
> 6. What is kvm_stats ? How to interpret its output?
It is used for kvm development proposes, in general it counts the number
of vm exit events of
each type.
> c. Can one change memory, cpus, disks and networks on the fly for a
running VM ? If so how ?
> This is critical for achiving dynamic resource management.
Not AFAIK. To be precise, libvirt provides APIs for that, but it
requires better
guest support / paravirt device drivers. Also QEMU can do hot-add/remove
of USB
devices.
> 4. Shutdown : How does one send command to VM to shutdown normally. I
see only reset
> and powerdown commands only. Also, after shutdown, the image running
in the machine
> shuts down, but the VM keeps running. Shouldnt the process also die ?
If you're running with ACPI guest it should stop [works for me].
For non-acpi, you can install APM module and it also make the guest stop
and the process die [also works for me].
Try using the latest kvm.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel